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.
410 411 412 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 410 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.
440 441 442 443 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 440 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.
482 483 484 485 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 482 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.
519 520 521 522 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 519 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.
567 568 569 570 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 567 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.
617 618 619 620 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 617 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.
665 666 667 668 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 665 def update_report_definition(params = {}, = {}) req = build_request(:update_report_definition, params) req.send_request() end |