Class: Aws::AppIntegrationsService::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::AppIntegrationsService::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-appintegrationsservice/client.rb
Overview
An API client for AppIntegrationsService. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::AppIntegrationsService::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_application(params = {}) ⇒ Types::CreateApplicationResponse
Creates and persists an Application resource.
-
#create_data_integration(params = {}) ⇒ Types::CreateDataIntegrationResponse
Creates and persists a DataIntegration resource.
-
#create_data_integration_association(params = {}) ⇒ Types::CreateDataIntegrationAssociationResponse
Creates and persists a DataIntegrationAssociation resource.
-
#create_event_integration(params = {}) ⇒ Types::CreateEventIntegrationResponse
Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in your account and a partner event source that pushes events to that bus.
-
#delete_application(params = {}) ⇒ Struct
Deletes the Application.
-
#delete_data_integration(params = {}) ⇒ Struct
Deletes the DataIntegration.
-
#delete_event_integration(params = {}) ⇒ Struct
Deletes the specified existing event integration.
-
#get_application(params = {}) ⇒ Types::GetApplicationResponse
Get an Application resource.
-
#get_data_integration(params = {}) ⇒ Types::GetDataIntegrationResponse
Returns information about the DataIntegration.
-
#get_event_integration(params = {}) ⇒ Types::GetEventIntegrationResponse
Returns information about the event integration.
-
#list_application_associations(params = {}) ⇒ Types::ListApplicationAssociationsResponse
Returns a paginated list of application associations for an application.
-
#list_applications(params = {}) ⇒ Types::ListApplicationsResponse
Lists applications in the account.
-
#list_data_integration_associations(params = {}) ⇒ Types::ListDataIntegrationAssociationsResponse
Returns a paginated list of DataIntegration associations in the account.
-
#list_data_integrations(params = {}) ⇒ Types::ListDataIntegrationsResponse
Returns a paginated list of DataIntegrations in the account.
-
#list_event_integration_associations(params = {}) ⇒ Types::ListEventIntegrationAssociationsResponse
Returns a paginated list of event integration associations in the account.
-
#list_event_integrations(params = {}) ⇒ Types::ListEventIntegrationsResponse
Returns a paginated list of event integrations in the account.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags for the specified resource.
-
#tag_resource(params = {}) ⇒ Struct
Adds the specified tags to the specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the specified resource.
-
#update_application(params = {}) ⇒ Struct
Updates and persists an Application resource.
-
#update_data_integration(params = {}) ⇒ Struct
Updates the description of a DataIntegration.
-
#update_data_integration_association(params = {}) ⇒ Struct
Updates and persists a DataIntegrationAssociation resource.
-
#update_event_integration(params = {}) ⇒ Struct
Updates the description of an event integration.
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.
467 468 469 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 467 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.
1795 1796 1797 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1795 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.
1798 1799 1800 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1798 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.
1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1768 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::AppIntegrationsService') ) 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-appintegrationsservice' context[:gem_version] = '1.46.0' Seahorse::Client::Request.new(handlers, context) end |
#create_application(params = {}) ⇒ Types::CreateApplicationResponse
Creates and persists an Application resource.
583 584 585 586 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 583 def create_application(params = {}, = {}) req = build_request(:create_application, params) req.send_request() end |
#create_data_integration(params = {}) ⇒ Types::CreateDataIntegrationResponse
Creates and persists a DataIntegration resource.
<note markdown=“1”> You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the ‘CreateDataIntegration` API.
</note>
707 708 709 710 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 707 def create_data_integration(params = {}, = {}) req = build_request(:create_data_integration, params) req.send_request() end |
#create_data_integration_association(params = {}) ⇒ Types::CreateDataIntegrationAssociationResponse
Creates and persists a DataIntegrationAssociation resource.
789 790 791 792 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 789 def create_data_integration_association(params = {}, = {}) req = build_request(:create_data_integration_association, params) req.send_request() end |
#create_event_integration(params = {}) ⇒ Types::CreateEventIntegrationResponse
Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No objects are created in the your account, only metadata that is persisted on the EventIntegration control plane.
857 858 859 860 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 857 def create_event_integration(params = {}, = {}) req = build_request(:create_event_integration, params) req.send_request() end |
#delete_application(params = {}) ⇒ Struct
Deletes the Application. Only Applications that don’t have any Application Associations can be deleted.
893 894 895 896 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 893 def delete_application(params = {}, = {}) req = build_request(:delete_application, params) req.send_request() end |
#delete_data_integration(params = {}) ⇒ Struct
Deletes the DataIntegration. Only DataIntegrations that don’t have any DataIntegrationAssociations can be deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow flow and service linked role.
<note markdown=“1”> You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the [CreateDataIntegration] API.
</note>
[1]: docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html
929 930 931 932 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 929 def delete_data_integration(params = {}, = {}) req = build_request(:delete_data_integration, params) req.send_request() end |
#delete_event_integration(params = {}) ⇒ Struct
Deletes the specified existing event integration. If the event integration is associated with clients, the request is rejected.
952 953 954 955 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 952 def delete_event_integration(params = {}, = {}) req = build_request(:delete_event_integration, params) req.send_request() end |
#get_application(params = {}) ⇒ Types::GetApplicationResponse
Get an Application resource.
1032 1033 1034 1035 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1032 def get_application(params = {}, = {}) req = build_request(:get_application, params) req.send_request() end |
#get_data_integration(params = {}) ⇒ Types::GetDataIntegrationResponse
Returns information about the DataIntegration.
<note markdown=“1”> You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the [CreateDataIntegration] API.
</note>
[1]: docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html
1099 1100 1101 1102 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1099 def get_data_integration(params = {}, = {}) req = build_request(:get_data_integration, params) req.send_request() end |
#get_event_integration(params = {}) ⇒ Types::GetEventIntegrationResponse
Returns information about the event integration.
1138 1139 1140 1141 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1138 def get_event_integration(params = {}, = {}) req = build_request(:get_event_integration, params) req.send_request() end |
#list_application_associations(params = {}) ⇒ Types::ListApplicationAssociationsResponse
Returns a paginated list of application associations for an application.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1205 1206 1207 1208 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1205 def list_application_associations(params = {}, = {}) req = build_request(:list_application_associations, params) req.send_request() end |
#list_applications(params = {}) ⇒ Types::ListApplicationsResponse
Lists applications in the account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1271 1272 1273 1274 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1271 def list_applications(params = {}, = {}) req = build_request(:list_applications, params) req.send_request() end |
#list_data_integration_associations(params = {}) ⇒ Types::ListDataIntegrationAssociationsResponse
Returns a paginated list of DataIntegration associations in the account.
<note markdown=“1”> You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the [CreateDataIntegration] API.
</note>
[1]: docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1337 1338 1339 1340 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1337 def list_data_integration_associations(params = {}, = {}) req = build_request(:list_data_integration_associations, params) req.send_request() end |
#list_data_integrations(params = {}) ⇒ Types::ListDataIntegrationsResponse
Returns a paginated list of DataIntegrations in the account.
<note markdown=“1”> You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the [CreateDataIntegration] API.
</note>
[1]: docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1389 1390 1391 1392 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1389 def list_data_integrations(params = {}, = {}) req = build_request(:list_data_integrations, params) req.send_request() end |
#list_event_integration_associations(params = {}) ⇒ Types::ListEventIntegrationAssociationsResponse
Returns a paginated list of event integration associations in the account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1439 1440 1441 1442 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1439 def list_event_integration_associations(params = {}, = {}) req = build_request(:list_event_integration_associations, params) req.send_request() end |
#list_event_integrations(params = {}) ⇒ Types::ListEventIntegrationsResponse
Returns a paginated list of event integrations in the account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1484 1485 1486 1487 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1484 def list_event_integrations(params = {}, = {}) req = build_request(:list_event_integrations, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags for the specified resource.
1513 1514 1515 1516 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1513 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds the specified tags to the specified resource.
1543 1544 1545 1546 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1543 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the specified resource.
1569 1570 1571 1572 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1569 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_application(params = {}) ⇒ Struct
Updates and persists an Application resource.
1646 1647 1648 1649 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1646 def update_application(params = {}, = {}) req = build_request(:update_application, params) req.send_request() end |
#update_data_integration(params = {}) ⇒ Struct
Updates the description of a DataIntegration.
<note markdown=“1”> You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the [CreateDataIntegration] API.
</note>
[1]: docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html
1687 1688 1689 1690 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1687 def update_data_integration(params = {}, = {}) req = build_request(:update_data_integration, params) req.send_request() end |
#update_data_integration_association(params = {}) ⇒ Struct
Updates and persists a DataIntegrationAssociation resource.
<note markdown=“1”> Updating a DataIntegrationAssociation with ExecutionConfiguration will rerun the on-demand job.
</note>
1733 1734 1735 1736 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1733 def update_data_integration_association(params = {}, = {}) req = build_request(:update_data_integration_association, params) req.send_request() end |
#update_event_integration(params = {}) ⇒ Struct
Updates the description of an event integration.
1759 1760 1761 1762 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1759 def update_event_integration(params = {}, = {}) req = build_request(:update_event_integration, 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.
1788 1789 1790 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1788 def waiter_names [] end |