Class: Aws::OSIS::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::OSIS::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb
Overview
An API client for OSIS. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::OSIS::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
-
#create_pipeline(params = {}) ⇒ Types::CreatePipelineResponse
Creates an OpenSearch Ingestion pipeline.
-
#delete_pipeline(params = {}) ⇒ Struct
Deletes an OpenSearch Ingestion pipeline.
-
#get_pipeline(params = {}) ⇒ Types::GetPipelineResponse
Retrieves information about an OpenSearch Ingestion pipeline.
-
#get_pipeline_blueprint(params = {}) ⇒ Types::GetPipelineBlueprintResponse
Retrieves information about a specific blueprint for OpenSearch Ingestion.
-
#get_pipeline_change_progress(params = {}) ⇒ Types::GetPipelineChangeProgressResponse
Returns progress information for the current change happening on an OpenSearch Ingestion pipeline.
-
#list_pipeline_blueprints(params = {}) ⇒ Types::ListPipelineBlueprintsResponse
Retrieves a list of all available blueprints for Data Prepper.
-
#list_pipelines(params = {}) ⇒ Types::ListPipelinesResponse
Lists all OpenSearch Ingestion pipelines in the current Amazon Web Services account and Region.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists all resource tags associated with an OpenSearch Ingestion pipeline.
-
#start_pipeline(params = {}) ⇒ Types::StartPipelineResponse
Starts an OpenSearch Ingestion pipeline.
-
#stop_pipeline(params = {}) ⇒ Types::StopPipelineResponse
Stops an OpenSearch Ingestion pipeline.
-
#tag_resource(params = {}) ⇒ Struct
Tags an OpenSearch Ingestion pipeline.
-
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from an OpenSearch Ingestion pipeline.
-
#update_pipeline(params = {}) ⇒ Types::UpdatePipelineResponse
Updates an OpenSearch Ingestion pipeline.
-
#validate_pipeline(params = {}) ⇒ Types::ValidatePipelineResponse
Checks whether an OpenSearch Ingestion pipeline configuration is valid prior to creation.
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.
440 441 442 |
# File 'gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb', line 440 def initialize(*args) super end |
Instance Method Details
#create_pipeline(params = {}) ⇒ Types::CreatePipelineResponse
Creates an OpenSearch Ingestion pipeline. For more information, see Creating Amazon OpenSearch Ingestion pipelines.
570 571 572 573 |
# File 'gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb', line 570 def create_pipeline(params = {}, = {}) req = build_request(:create_pipeline, params) req.send_request() end |
#delete_pipeline(params = {}) ⇒ Struct
Deletes an OpenSearch Ingestion pipeline. For more information, see Deleting Amazon OpenSearch Ingestion pipelines.
597 598 599 600 |
# File 'gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb', line 597 def delete_pipeline(params = {}, = {}) req = build_request(:delete_pipeline, params) req.send_request() end |
#get_pipeline(params = {}) ⇒ Types::GetPipelineResponse
Retrieves information about an OpenSearch Ingestion pipeline.
659 660 661 662 |
# File 'gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb', line 659 def get_pipeline(params = {}, = {}) req = build_request(:get_pipeline, params) req.send_request() end |
#get_pipeline_blueprint(params = {}) ⇒ Types::GetPipelineBlueprintResponse
Retrieves information about a specific blueprint for OpenSearch
Ingestion. Blueprints are templates for the configuration needed for a
CreatePipeline
request. For more information, see Using blueprints
to create a pipeline.
705 706 707 708 |
# File 'gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb', line 705 def get_pipeline_blueprint(params = {}, = {}) req = build_request(:get_pipeline_blueprint, params) req.send_request() end |
#get_pipeline_change_progress(params = {}) ⇒ Types::GetPipelineChangeProgressResponse
Returns progress information for the current change happening on an OpenSearch Ingestion pipeline. Currently, this operation only returns information when a pipeline is being created.
For more information, see Tracking the status of pipeline creation.
750 751 752 753 |
# File 'gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb', line 750 def get_pipeline_change_progress(params = {}, = {}) req = build_request(:get_pipeline_change_progress, params) req.send_request() end |
#list_pipeline_blueprints(params = {}) ⇒ Types::ListPipelineBlueprintsResponse
Retrieves a list of all available blueprints for Data Prepper. For more information, see Using blueprints to create a pipeline.
779 780 781 782 |
# File 'gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb', line 779 def list_pipeline_blueprints(params = {}, = {}) req = build_request(:list_pipeline_blueprints, params) req.send_request() end |
#list_pipelines(params = {}) ⇒ Types::ListPipelinesResponse
Lists all OpenSearch Ingestion pipelines in the current Amazon Web Services account and Region. For more information, see Viewing Amazon OpenSearch Ingestion pipelines.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
838 839 840 841 |
# File 'gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb', line 838 def list_pipelines(params = {}, = {}) req = build_request(:list_pipelines, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists all resource tags associated with an OpenSearch Ingestion pipeline. For more information, see Tagging Amazon OpenSearch Ingestion pipelines.
874 875 876 877 |
# File 'gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb', line 874 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#start_pipeline(params = {}) ⇒ Types::StartPipelineResponse
Starts an OpenSearch Ingestion pipeline. For more information, see Starting an OpenSearch Ingestion pipeline.
941 942 943 944 |
# File 'gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb', line 941 def start_pipeline(params = {}, = {}) req = build_request(:start_pipeline, params) req.send_request() end |
#stop_pipeline(params = {}) ⇒ Types::StopPipelineResponse
Stops an OpenSearch Ingestion pipeline. For more information, see Stopping an OpenSearch Ingestion pipeline.
1008 1009 1010 1011 |
# File 'gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb', line 1008 def stop_pipeline(params = {}, = {}) req = build_request(:stop_pipeline, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Tags an OpenSearch Ingestion pipeline. For more information, see Tagging Amazon OpenSearch Ingestion pipelines.
1044 1045 1046 1047 |
# File 'gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb', line 1044 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from an OpenSearch Ingestion pipeline. For more information, see Tagging Amazon OpenSearch Ingestion pipelines.
1076 1077 1078 1079 |
# File 'gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb', line 1076 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_pipeline(params = {}) ⇒ Types::UpdatePipelineResponse
Updates an OpenSearch Ingestion pipeline. For more information, see Updating Amazon OpenSearch Ingestion pipelines.
1180 1181 1182 1183 |
# File 'gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb', line 1180 def update_pipeline(params = {}, = {}) req = build_request(:update_pipeline, params) req.send_request() end |
#validate_pipeline(params = {}) ⇒ Types::ValidatePipelineResponse
Checks whether an OpenSearch Ingestion pipeline configuration is valid prior to creation. For more information, see Creating Amazon OpenSearch Ingestion pipelines.
1220 1221 1222 1223 |
# File 'gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb', line 1220 def validate_pipeline(params = {}, = {}) req = build_request(:validate_pipeline, params) req.send_request() end |