Class: Aws::Appflow::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Appflow::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-appflow/client.rb
Overview
An API client for Appflow. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::Appflow::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
-
#create_connector_profile(params = {}) ⇒ Types::CreateConnectorProfileResponse
Creates a new connector profile associated with your AWS account.
-
#create_flow(params = {}) ⇒ Types::CreateFlowResponse
Enables your application to create a new flow using Amazon AppFlow.
-
#delete_connector_profile(params = {}) ⇒ Struct
Enables you to delete an existing connector profile.
-
#delete_flow(params = {}) ⇒ Struct
Enables your application to delete an existing flow.
-
#describe_connector_entity(params = {}) ⇒ Types::DescribeConnectorEntityResponse
Provides details regarding the entity used with the connector, with a description of the data model for each entity.
-
#describe_connector_profiles(params = {}) ⇒ Types::DescribeConnectorProfilesResponse
Returns a list of ‘connector-profile` details matching the provided `connector-profile` names and `connector-types`.
-
#describe_connectors(params = {}) ⇒ Types::DescribeConnectorsResponse
Describes the connectors vended by Amazon AppFlow for specified connector types.
-
#describe_flow(params = {}) ⇒ Types::DescribeFlowResponse
Provides a description of the specified flow.
-
#describe_flow_execution_records(params = {}) ⇒ Types::DescribeFlowExecutionRecordsResponse
Fetches the execution history of the flow.
-
#list_connector_entities(params = {}) ⇒ Types::ListConnectorEntitiesResponse
Returns the list of available connector entities supported by Amazon AppFlow.
-
#list_flows(params = {}) ⇒ Types::ListFlowsResponse
Lists all of the flows associated with your account.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Retrieves the tags that are associated with a specified flow.
-
#start_flow(params = {}) ⇒ Types::StartFlowResponse
Activates an existing flow.
-
#stop_flow(params = {}) ⇒ Types::StopFlowResponse
Deactivates the existing flow.
-
#tag_resource(params = {}) ⇒ Struct
Applies a tag to the specified flow.
-
#untag_resource(params = {}) ⇒ Struct
Removes a tag from the specified flow.
-
#update_connector_profile(params = {}) ⇒ Types::UpdateConnectorProfileResponse
Updates a given connector profile associated with your account.
-
#update_flow(params = {}) ⇒ Types::UpdateFlowResponse
Updates an existing flow.
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.
324 325 326 |
# File 'lib/aws-sdk-appflow/client.rb', line 324 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.
1947 1948 1949 |
# File 'lib/aws-sdk-appflow/client.rb', line 1947 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.
1950 1951 1952 |
# File 'lib/aws-sdk-appflow/client.rb', line 1950 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.
1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 |
# File 'lib/aws-sdk-appflow/client.rb', line 1925 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-appflow' context[:gem_version] = '1.9.0' Seahorse::Client::Request.new(handlers, context) end |
#create_connector_profile(params = {}) ⇒ Types::CreateConnectorProfileResponse
Creates a new connector profile associated with your AWS account. There is a soft quota of 100 connector profiles per AWS account. If you need more connector profiles than this quota allows, you can submit a request to the Amazon AppFlow team through the Amazon AppFlow support channel.
530 531 532 533 |
# File 'lib/aws-sdk-appflow/client.rb', line 530 def create_connector_profile(params = {}, = {}) req = build_request(:create_connector_profile, params) req.send_request() end |
#create_flow(params = {}) ⇒ Types::CreateFlowResponse
Enables your application to create a new flow using Amazon AppFlow. You must create a connector profile before calling this API. Please note that the Request Syntax below shows syntax for multiple destinations, however, you can only transfer data to one item in this list at a time. Amazon AppFlow does not currently support flows to multiple destinations at once.
780 781 782 783 |
# File 'lib/aws-sdk-appflow/client.rb', line 780 def create_flow(params = {}, = {}) req = build_request(:create_flow, params) req.send_request() end |
#delete_connector_profile(params = {}) ⇒ Struct
Enables you to delete an existing connector profile.
808 809 810 811 |
# File 'lib/aws-sdk-appflow/client.rb', line 808 def delete_connector_profile(params = {}, = {}) req = build_request(:delete_connector_profile, params) req.send_request() end |
#delete_flow(params = {}) ⇒ Struct
Enables your application to delete an existing flow. Before deleting the flow, Amazon AppFlow validates the request by checking the flow configuration and status. You can delete flows one at a time.
838 839 840 841 |
# File 'lib/aws-sdk-appflow/client.rb', line 838 def delete_flow(params = {}, = {}) req = build_request(:delete_flow, params) req.send_request() end |
#describe_connector_entity(params = {}) ⇒ Types::DescribeConnectorEntityResponse
Provides details regarding the entity used with the connector, with a description of the data model for each entity.
893 894 895 896 |
# File 'lib/aws-sdk-appflow/client.rb', line 893 def describe_connector_entity(params = {}, = {}) req = build_request(:describe_connector_entity, params) req.send_request() end |
#describe_connector_profiles(params = {}) ⇒ Types::DescribeConnectorProfilesResponse
Returns a list of ‘connector-profile` details matching the provided `connector-profile` names and `connector-types`. Both input lists are optional, and you can use them to filter the result.
If no names or ‘connector-types` are provided, returns all connector profiles in a paginated form. If there is no match, this operation returns an empty list.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
974 975 976 977 |
# File 'lib/aws-sdk-appflow/client.rb', line 974 def describe_connector_profiles(params = {}, = {}) req = build_request(:describe_connector_profiles, params) req.send_request() end |
#describe_connectors(params = {}) ⇒ Types::DescribeConnectorsResponse
Describes the connectors vended by Amazon AppFlow for specified connector types. If you don’t specify a connector type, this operation describes all connectors vended by Amazon AppFlow. If there are more connectors than can be returned in one page, the response contains a ‘nextToken` object, which can be be passed in to the next call to the `DescribeConnectors` API operation to retrieve the next page.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1038 1039 1040 1041 |
# File 'lib/aws-sdk-appflow/client.rb', line 1038 def describe_connectors(params = {}, = {}) req = build_request(:describe_connectors, params) req.send_request() end |
#describe_flow(params = {}) ⇒ Types::DescribeFlowResponse
Provides a description of the specified flow.
1189 1190 1191 1192 |
# File 'lib/aws-sdk-appflow/client.rb', line 1189 def describe_flow(params = {}, = {}) req = build_request(:describe_flow, params) req.send_request() end |
#describe_flow_execution_records(params = {}) ⇒ Types::DescribeFlowExecutionRecordsResponse
Fetches the execution history of the flow.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1243 1244 1245 1246 |
# File 'lib/aws-sdk-appflow/client.rb', line 1243 def describe_flow_execution_records(params = {}, = {}) req = build_request(:describe_flow_execution_records, params) req.send_request() end |
#list_connector_entities(params = {}) ⇒ Types::ListConnectorEntitiesResponse
Returns the list of available connector entities supported by Amazon AppFlow. For example, you can query Salesforce for Account and Opportunity entities, or query ServiceNow for the Incident entity.
1293 1294 1295 1296 |
# File 'lib/aws-sdk-appflow/client.rb', line 1293 def list_connector_entities(params = {}, = {}) req = build_request(:list_connector_entities, params) req.send_request() end |
#list_flows(params = {}) ⇒ Types::ListFlowsResponse
Lists all of the flows associated with your account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1346 1347 1348 1349 |
# File 'lib/aws-sdk-appflow/client.rb', line 1346 def list_flows(params = {}, = {}) req = build_request(:list_flows, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Retrieves the tags that are associated with a specified flow.
1375 1376 1377 1378 |
# File 'lib/aws-sdk-appflow/client.rb', line 1375 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#start_flow(params = {}) ⇒ Types::StartFlowResponse
Activates an existing flow. For on-demand flows, this operation runs the flow immediately. For schedule and event-triggered flows, this operation activates the flow.
1410 1411 1412 1413 |
# File 'lib/aws-sdk-appflow/client.rb', line 1410 def start_flow(params = {}, = {}) req = build_request(:start_flow, params) req.send_request() end |
#stop_flow(params = {}) ⇒ Types::StopFlowResponse
Deactivates the existing flow. For on-demand flows, this operation returns an ‘unsupportedOperationException` error message. For schedule and event-triggered flows, this operation deactivates the flow.
1443 1444 1445 1446 |
# File 'lib/aws-sdk-appflow/client.rb', line 1443 def stop_flow(params = {}, = {}) req = build_request(:stop_flow, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Applies a tag to the specified flow.
1471 1472 1473 1474 |
# File 'lib/aws-sdk-appflow/client.rb', line 1471 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes a tag from the specified flow.
1498 1499 1500 1501 |
# File 'lib/aws-sdk-appflow/client.rb', line 1498 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_connector_profile(params = {}) ⇒ Types::UpdateConnectorProfileResponse
Updates a given connector profile associated with your account.
1686 1687 1688 1689 |
# File 'lib/aws-sdk-appflow/client.rb', line 1686 def update_connector_profile(params = {}, = {}) req = build_request(:update_connector_profile, params) req.send_request() end |
#update_flow(params = {}) ⇒ Types::UpdateFlowResponse
Updates an existing flow.
1916 1917 1918 1919 |
# File 'lib/aws-sdk-appflow/client.rb', line 1916 def update_flow(params = {}, = {}) req = build_request(:update_flow, 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.
1940 1941 1942 |
# File 'lib/aws-sdk-appflow/client.rb', line 1940 def waiter_names [] end |