Class: Aws::Artifact::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Artifact::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb
Overview
An API client for Artifact. To construct a client, you need to configure a :region and :credentials.
client = Aws::Artifact::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#create_compliance_inquiry(params = {}) ⇒ Types::CreateComplianceInquiryResponse
Create a new compliance inquiry.
-
#export_compliance_inquiry(params = {}) ⇒ Types::ExportComplianceInquiryResponse
Export a compliance inquiry report.
-
#get_account_settings(params = {}) ⇒ Types::GetAccountSettingsResponse
Get the account settings for Artifact.
-
#get_compliance_inquiry_metadata(params = {}) ⇒ Types::GetComplianceInquiryMetadataResponse
Get the metadata for a single compliance inquiry.
-
#get_report(params = {}) ⇒ Types::GetReportResponse
Get the content for a single report.
-
#get_report_metadata(params = {}) ⇒ Types::GetReportMetadataResponse
Get the metadata for a single report.
-
#get_term_for_report(params = {}) ⇒ Types::GetTermForReportResponse
Get the Term content associated with a single report.
-
#list_compliance_inquiries(params = {}) ⇒ Types::ListComplianceInquiriesResponse
List available compliance inquiries.
-
#list_compliance_inquiry_queries(params = {}) ⇒ Types::ListComplianceInquiryQueriesResponse
List queries within a compliance inquiry.
-
#list_customer_agreements(params = {}) ⇒ Types::ListCustomerAgreementsResponse
List active customer-agreements applicable to calling identity.
-
#list_report_versions(params = {}) ⇒ Types::ListReportVersionsResponse
List available report versions for a given report.
-
#list_reports(params = {}) ⇒ Types::ListReportsResponse
List available reports.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List tags for a resource.
-
#put_account_settings(params = {}) ⇒ Types::PutAccountSettingsResponse
Put the account settings for Artifact.
-
#tag_resource(params = {}) ⇒ Struct
Add tags to a resource.
-
#untag_resource(params = {}) ⇒ Struct
Remove tags from a resource.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
471 472 473 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 471 def initialize(*args) super end |
Instance Method Details
#create_compliance_inquiry(params = {}) ⇒ Types::CreateComplianceInquiryResponse
Create a new compliance inquiry.
565 566 567 568 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 565 def create_compliance_inquiry(params = {}, = {}) req = build_request(:create_compliance_inquiry, params) req.send_request() end |
#export_compliance_inquiry(params = {}) ⇒ Types::ExportComplianceInquiryResponse
Export a compliance inquiry report.
623 624 625 626 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 623 def export_compliance_inquiry(params = {}, = {}) req = build_request(:export_compliance_inquiry, params) req.send_request() end |
#get_account_settings(params = {}) ⇒ Types::GetAccountSettingsResponse
Get the account settings for Artifact.
657 658 659 660 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 657 def get_account_settings(params = {}, = {}) req = build_request(:get_account_settings, params) req.send_request() end |
#get_compliance_inquiry_metadata(params = {}) ⇒ Types::GetComplianceInquiryMetadataResponse
Get the metadata for a single compliance inquiry.
720 721 722 723 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 720 def (params = {}, = {}) req = build_request(:get_compliance_inquiry_metadata, params) req.send_request() end |
#get_report(params = {}) ⇒ Types::GetReportResponse
Get the content for a single report.
774 775 776 777 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 774 def get_report(params = {}, = {}) req = build_request(:get_report, params) req.send_request() end |
#get_report_metadata(params = {}) ⇒ Types::GetReportMetadataResponse
Get the metadata for a single report.
855 856 857 858 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 855 def (params = {}, = {}) req = build_request(:get_report_metadata, params) req.send_request() end |
#get_term_for_report(params = {}) ⇒ Types::GetTermForReportResponse
Get the Term content associated with a single report.
905 906 907 908 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 905 def get_term_for_report(params = {}, = {}) req = build_request(:get_term_for_report, params) req.send_request() end |
#list_compliance_inquiries(params = {}) ⇒ Types::ListComplianceInquiriesResponse
List available compliance inquiries.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
972 973 974 975 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 972 def list_compliance_inquiries(params = {}, = {}) req = build_request(:list_compliance_inquiries, params) req.send_request() end |
#list_compliance_inquiry_queries(params = {}) ⇒ Types::ListComplianceInquiryQueriesResponse
List queries within a compliance inquiry.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1058 1059 1060 1061 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 1058 def list_compliance_inquiry_queries(params = {}, = {}) req = build_request(:list_compliance_inquiry_queries, params) req.send_request() end |
#list_customer_agreements(params = {}) ⇒ Types::ListCustomerAgreementsResponse
List active customer-agreements applicable to calling identity.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1142 1143 1144 1145 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 1142 def list_customer_agreements(params = {}, = {}) req = build_request(:list_customer_agreements, params) req.send_request() end |
#list_report_versions(params = {}) ⇒ Types::ListReportVersionsResponse
List available report versions for a given report.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1228 1229 1230 1231 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 1228 def list_report_versions(params = {}, = {}) req = build_request(:list_report_versions, params) req.send_request() end |
#list_reports(params = {}) ⇒ Types::ListReportsResponse
List available reports.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1308 1309 1310 1311 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 1308 def list_reports(params = {}, = {}) req = build_request(:list_reports, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List tags for a resource.
1337 1338 1339 1340 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 1337 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#put_account_settings(params = {}) ⇒ Types::PutAccountSettingsResponse
Put the account settings for Artifact.
1381 1382 1383 1384 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 1381 def put_account_settings(params = {}, = {}) req = build_request(:put_account_settings, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Add tags to a resource.
1409 1410 1411 1412 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 1409 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Remove tags from a resource.
1435 1436 1437 1438 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 1435 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |