Class: Aws::ApplicationCostProfiler::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::ApplicationCostProfiler::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb
Overview
An API client for ApplicationCostProfiler. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::ApplicationCostProfiler::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
-
#delete_report_definition(params = {}) ⇒ Types::DeleteReportDefinitionResult
Deletes the specified report definition in AWS Application Cost Profiler.
-
#get_report_definition(params = {}) ⇒ Types::GetReportDefinitionResult
Retrieves the definition of a report already configured in AWS Application Cost Profiler.
-
#import_application_usage(params = {}) ⇒ Types::ImportApplicationUsageResult
Ingests application usage data from Amazon Simple Storage Service (Amazon S3).
-
#list_report_definitions(params = {}) ⇒ Types::ListReportDefinitionsResult
Retrieves a list of all reports and their configurations for your AWS account.
-
#put_report_definition(params = {}) ⇒ Types::PutReportDefinitionResult
Creates the report definition for a report in Application Cost Profiler.
-
#update_report_definition(params = {}) ⇒ Types::UpdateReportDefinitionResult
Updates existing report in AWS Application Cost Profiler.
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.
467 468 469 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 467 def initialize(*args) super end |
Instance Method Details
#delete_report_definition(params = {}) ⇒ Types::DeleteReportDefinitionResult
Deletes the specified report definition in AWS Application Cost Profiler. This stops the report from being generated.
497 498 499 500 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 497 def delete_report_definition(params = {}, = {}) req = build_request(:delete_report_definition, params) req.send_request() end |
#get_report_definition(params = {}) ⇒ Types::GetReportDefinitionResult
Retrieves the definition of a report already configured in AWS Application Cost Profiler.
539 540 541 542 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 539 def get_report_definition(params = {}, = {}) req = build_request(:get_report_definition, params) req.send_request() end |
#import_application_usage(params = {}) ⇒ Types::ImportApplicationUsageResult
Ingests application usage data from Amazon Simple Storage Service (Amazon S3).
The data must already exist in the S3 location. As part of the action, AWS Application Cost Profiler copies the object from your S3 bucket to an S3 bucket owned by Amazon for processing asynchronously.
576 577 578 579 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 576 def import_application_usage(params = {}, = {}) req = build_request(:import_application_usage, params) req.send_request() end |
#list_report_definitions(params = {}) ⇒ Types::ListReportDefinitionsResult
Retrieves a list of all reports and their configurations for your AWS account.
The maximum number of reports is one.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
624 625 626 627 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 624 def list_report_definitions(params = {}, = {}) req = build_request(:list_report_definitions, params) req.send_request() end |
#put_report_definition(params = {}) ⇒ Types::PutReportDefinitionResult
Creates the report definition for a report in Application Cost Profiler.
674 675 676 677 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 674 def put_report_definition(params = {}, = {}) req = build_request(:put_report_definition, params) req.send_request() end |
#update_report_definition(params = {}) ⇒ Types::UpdateReportDefinitionResult
Updates existing report in AWS Application Cost Profiler.
722 723 724 725 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 722 def update_report_definition(params = {}, = {}) req = build_request(:update_report_definition, params) req.send_request() end |