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.
473 474 475 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 473 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.
1876 1877 1878 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1876 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.
1879 1880 1881 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1879 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.
1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1849 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.61.0' Seahorse::Client::Request.new(handlers, context) end |
#create_application(params = {}) ⇒ Types::CreateApplicationResponse
Creates and persists an Application resource.
617 618 619 620 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 617 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>
741 742 743 744 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 741 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.
823 824 825 826 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 823 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.
891 892 893 894 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 891 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.
927 928 929 930 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 927 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
963 964 965 966 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 963 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.
986 987 988 989 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 986 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.
1079 1080 1081 1082 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1079 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
1146 1147 1148 1149 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1146 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.
1185 1186 1187 1188 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1185 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.
1252 1253 1254 1255 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1252 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.
1324 1325 1326 1327 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1324 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.
1390 1391 1392 1393 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1390 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.
1442 1443 1444 1445 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1442 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.
1492 1493 1494 1495 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1492 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.
1537 1538 1539 1540 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1537 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.
1566 1567 1568 1569 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1566 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.
1596 1597 1598 1599 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1596 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.
1622 1623 1624 1625 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1622 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_application(params = {}) ⇒ Struct
Updates and persists an Application resource.
1727 1728 1729 1730 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1727 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
1768 1769 1770 1771 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1768 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>
1814 1815 1816 1817 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1814 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.
1840 1841 1842 1843 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1840 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.
1869 1870 1871 |
# File 'lib/aws-sdk-appintegrationsservice/client.rb', line 1869 def waiter_names [] end |