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.
385 386 387 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 385 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.
415 416 417 418 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 415 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.
457 458 459 460 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 457 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.
494 495 496 497 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 494 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.
542 543 544 545 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 542 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.
592 593 594 595 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 592 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.
640 641 642 643 |
# File 'gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb', line 640 def update_report_definition(params = {}, = {}) req = build_request(:update_report_definition, params) req.send_request() end |