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
-
#get_account_settings(params = {}) ⇒ Types::GetAccountSettingsResponse
Get the account settings for Artifact.
-
#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_reports(params = {}) ⇒ Types::ListReportsResponse
List available reports.
-
#put_account_settings(params = {}) ⇒ Types::PutAccountSettingsResponse
Put the account settings for Artifact.
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.
409 410 411 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 409 def initialize(*args) super end |
Instance Method Details
#get_account_settings(params = {}) ⇒ Types::GetAccountSettingsResponse
Get the account settings for Artifact.
429 430 431 432 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 429 def get_account_settings(params = {}, = {}) req = build_request(:get_account_settings, params) req.send_request() end |
#get_report(params = {}) ⇒ Types::GetReportResponse
Get the content for a single report.
465 466 467 468 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 465 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.
516 517 518 519 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 516 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.
550 551 552 553 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 550 def get_term_for_report(params = {}, = {}) req = build_request(:get_term_for_report, 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.
600 601 602 603 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 600 def list_reports(params = {}, = {}) req = build_request(:list_reports, params) req.send_request() end |
#put_account_settings(params = {}) ⇒ Types::PutAccountSettingsResponse
Put the account settings for Artifact.
628 629 630 631 |
# File 'gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb', line 628 def put_account_settings(params = {}, = {}) req = build_request(:put_account_settings, params) req.send_request() end |