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.
444 445 446 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 444 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.
1772 1773 1774 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1772 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.
1775 1776 1777 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1775 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.
1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1745 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.45.0' Seahorse::Client::Request.new(handlers, context) end |
#create_application(params = {}) ⇒ Types::CreateApplicationResponse
Creates and persists an Application resource.
560 561 562 563 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 560 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>
684 685 686 687 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 684 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.
766 767 768 769 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 766 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.
834 835 836 837 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 834 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.
870 871 872 873 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 870 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
906 907 908 909 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 906 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.
929 930 931 932 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 929 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.
1009 1010 1011 1012 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1009 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
1076 1077 1078 1079 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1076 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.
1115 1116 1117 1118 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1115 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.
1182 1183 1184 1185 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1182 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.
1248 1249 1250 1251 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1248 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.
1314 1315 1316 1317 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1314 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.
1366 1367 1368 1369 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1366 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.
1416 1417 1418 1419 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1416 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.
1461 1462 1463 1464 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1461 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.
1490 1491 1492 1493 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1490 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.
1520 1521 1522 1523 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1520 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.
1546 1547 1548 1549 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1546 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_application(params = {}) ⇒ Struct
Updates and persists an Application resource.
1623 1624 1625 1626 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1623 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
1664 1665 1666 1667 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1664 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>
1710 1711 1712 1713 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1710 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.
1736 1737 1738 1739 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1736 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.
1765 1766 1767 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1765 def waiter_names [] end |