Class: Aws::BedrockDataAutomationRuntime::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::BedrockDataAutomationRuntime::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-bedrockdataautomationruntime/client.rb
Overview
An API client for BedrockDataAutomationRuntime. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::BedrockDataAutomationRuntime::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#get_data_automation_status(params = {}) ⇒ Types::GetDataAutomationStatusResponse
API used to get data automation status.
-
#invoke_data_automation(params = {}) ⇒ Types::InvokeDataAutomationResponse
Sync API: Invoke data automation.
-
#invoke_data_automation_async(params = {}) ⇒ Types::InvokeDataAutomationAsyncResponse
Async API: Invoke data automation.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List tags for an Amazon Bedrock Data Automation resource.
-
#tag_resource(params = {}) ⇒ Struct
Tag an Amazon Bedrock Data Automation resource.
-
#untag_resource(params = {}) ⇒ Struct
Untag an Amazon Bedrock Data Automation resource.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
480 481 482 |
# File 'lib/aws-sdk-bedrockdataautomationruntime/client.rb', line 480 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
810 811 812 |
# File 'lib/aws-sdk-bedrockdataautomationruntime/client.rb', line 810 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
813 814 815 |
# File 'lib/aws-sdk-bedrockdataautomationruntime/client.rb', line 813 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 |
# File 'lib/aws-sdk-bedrockdataautomationruntime/client.rb', line 783 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::BedrockDataAutomationRuntime') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-bedrockdataautomationruntime' context[:gem_version] = '1.18.0' Seahorse::Client::Request.new(handlers, context) end |
#get_data_automation_status(params = {}) ⇒ Types::GetDataAutomationStatusResponse
API used to get data automation status.
521 522 523 524 |
# File 'lib/aws-sdk-bedrockdataautomationruntime/client.rb', line 521 def get_data_automation_status(params = {}, = {}) req = build_request(:get_data_automation_status, params) req.send_request() end |
#invoke_data_automation(params = {}) ⇒ Types::InvokeDataAutomationResponse
Sync API: Invoke data automation.
587 588 589 590 |
# File 'lib/aws-sdk-bedrockdataautomationruntime/client.rb', line 587 def invoke_data_automation(params = {}, = {}) req = build_request(:invoke_data_automation, params) req.send_request() end |
#invoke_data_automation_async(params = {}) ⇒ Types::InvokeDataAutomationAsyncResponse
Async API: Invoke data automation.
687 688 689 690 |
# File 'lib/aws-sdk-bedrockdataautomationruntime/client.rb', line 687 def invoke_data_automation_async(params = {}, = {}) req = build_request(:invoke_data_automation_async, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List tags for an Amazon Bedrock Data Automation resource
717 718 719 720 |
# File 'lib/aws-sdk-bedrockdataautomationruntime/client.rb', line 717 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Tag an Amazon Bedrock Data Automation resource
748 749 750 751 |
# File 'lib/aws-sdk-bedrockdataautomationruntime/client.rb', line 748 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Untag an Amazon Bedrock Data Automation resource
774 775 776 777 |
# File 'lib/aws-sdk-bedrockdataautomationruntime/client.rb', line 774 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
803 804 805 |
# File 'lib/aws-sdk-bedrockdataautomationruntime/client.rb', line 803 def waiter_names [] end |