Class: Aws::AppFabric::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::AppFabric::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-appfabric/client.rb
Overview
An API client for AppFabric. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::AppFabric::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
-
#batch_get_user_access_tasks(params = {}) ⇒ Types::BatchGetUserAccessTasksResponse
Gets user access details in a batch request.
-
#connect_app_authorization(params = {}) ⇒ Types::ConnectAppAuthorizationResponse
Establishes a connection between Amazon Web Services AppFabric and an application, which allows AppFabric to call the APIs of the application.
-
#create_app_authorization(params = {}) ⇒ Types::CreateAppAuthorizationResponse
Creates an app authorization within an app bundle, which allows AppFabric to connect to an application.
-
#create_app_bundle(params = {}) ⇒ Types::CreateAppBundleResponse
Creates an app bundle to collect data from an application using AppFabric.
-
#create_ingestion(params = {}) ⇒ Types::CreateIngestionResponse
Creates a data ingestion for an application.
-
#create_ingestion_destination(params = {}) ⇒ Types::CreateIngestionDestinationResponse
Creates an ingestion destination, which specifies how an application’s ingested data is processed by Amazon Web Services AppFabric and where it’s delivered.
-
#delete_app_authorization(params = {}) ⇒ Struct
Deletes an app authorization.
-
#delete_app_bundle(params = {}) ⇒ Struct
Deletes an app bundle.
-
#delete_ingestion(params = {}) ⇒ Struct
Deletes an ingestion.
-
#delete_ingestion_destination(params = {}) ⇒ Struct
Deletes an ingestion destination.
-
#get_app_authorization(params = {}) ⇒ Types::GetAppAuthorizationResponse
Returns information about an app authorization.
-
#get_app_bundle(params = {}) ⇒ Types::GetAppBundleResponse
Returns information about an app bundle.
-
#get_ingestion(params = {}) ⇒ Types::GetIngestionResponse
Returns information about an ingestion.
-
#get_ingestion_destination(params = {}) ⇒ Types::GetIngestionDestinationResponse
Returns information about an ingestion destination.
-
#list_app_authorizations(params = {}) ⇒ Types::ListAppAuthorizationsResponse
Returns a list of all app authorizations configured for an app bundle.
-
#list_app_bundles(params = {}) ⇒ Types::ListAppBundlesResponse
Returns a list of app bundles.
-
#list_ingestion_destinations(params = {}) ⇒ Types::ListIngestionDestinationsResponse
Returns a list of all ingestion destinations configured for an ingestion.
-
#list_ingestions(params = {}) ⇒ Types::ListIngestionsResponse
Returns a list of all ingestions configured for an app bundle.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns a list of tags for a resource.
-
#start_ingestion(params = {}) ⇒ Struct
Starts (enables) an ingestion, which collects data from an application.
-
#start_user_access_tasks(params = {}) ⇒ Types::StartUserAccessTasksResponse
Starts the tasks to search user access status for a specific email address.
-
#stop_ingestion(params = {}) ⇒ Struct
Stops (disables) an ingestion.
-
#tag_resource(params = {}) ⇒ Struct
Assigns one or more tags (key-value pairs) to the specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes a tag or tags from a resource.
-
#update_app_authorization(params = {}) ⇒ Types::UpdateAppAuthorizationResponse
Updates an app authorization within an app bundle, which allows AppFabric to connect to an application.
-
#update_ingestion_destination(params = {}) ⇒ Types::UpdateIngestionDestinationResponse
Updates an ingestion destination, which specifies how an application’s ingested data is processed by Amazon Web Services AppFabric and where it’s delivered.
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-appfabric/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.
1823 1824 1825 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1823 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.
1826 1827 1828 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1826 def errors_module Errors end |
Instance Method Details
#batch_get_user_access_tasks(params = {}) ⇒ Types::BatchGetUserAccessTasksResponse
Gets user access details in a batch request.
This action polls data from the tasks that are kicked off by the ‘StartUserAccessTasks` action.
494 495 496 497 |
# File 'lib/aws-sdk-appfabric/client.rb', line 494 def batch_get_user_access_tasks(params = {}, = {}) req = build_request(:batch_get_user_access_tasks, params) req.send_request() end |
#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.
1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1796 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::AppFabric') ) 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-appfabric' context[:gem_version] = '1.21.0' Seahorse::Client::Request.new(handlers, context) end |
#connect_app_authorization(params = {}) ⇒ Types::ConnectAppAuthorizationResponse
Establishes a connection between Amazon Web Services AppFabric and an application, which allows AppFabric to call the APIs of the application.
547 548 549 550 |
# File 'lib/aws-sdk-appfabric/client.rb', line 547 def (params = {}, = {}) req = build_request(:connect_app_authorization, params) req.send_request() end |
#create_app_authorization(params = {}) ⇒ Types::CreateAppAuthorizationResponse
Creates an app authorization within an app bundle, which allows AppFabric to connect to an application.
680 681 682 683 |
# File 'lib/aws-sdk-appfabric/client.rb', line 680 def (params = {}, = {}) req = build_request(:create_app_authorization, params) req.send_request() end |
#create_app_bundle(params = {}) ⇒ Types::CreateAppBundleResponse
Creates an app bundle to collect data from an application using AppFabric.
745 746 747 748 |
# File 'lib/aws-sdk-appfabric/client.rb', line 745 def create_app_bundle(params = {}, = {}) req = build_request(:create_app_bundle, params) req.send_request() end |
#create_ingestion(params = {}) ⇒ Types::CreateIngestionResponse
Creates a data ingestion for an application.
852 853 854 855 |
# File 'lib/aws-sdk-appfabric/client.rb', line 852 def create_ingestion(params = {}, = {}) req = build_request(:create_ingestion, params) req.send_request() end |
#create_ingestion_destination(params = {}) ⇒ Types::CreateIngestionDestinationResponse
Creates an ingestion destination, which specifies how an application’s ingested data is processed by Amazon Web Services AppFabric and where it’s delivered.
956 957 958 959 |
# File 'lib/aws-sdk-appfabric/client.rb', line 956 def create_ingestion_destination(params = {}, = {}) req = build_request(:create_ingestion_destination, params) req.send_request() end |
#delete_app_authorization(params = {}) ⇒ Struct
Deletes an app authorization. You must delete the associated ingestion before you can delete an app authorization.
985 986 987 988 |
# File 'lib/aws-sdk-appfabric/client.rb', line 985 def (params = {}, = {}) req = build_request(:delete_app_authorization, params) req.send_request() end |
#delete_app_bundle(params = {}) ⇒ Struct
Deletes an app bundle. You must delete all associated app authorizations before you can delete an app bundle.
1009 1010 1011 1012 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1009 def delete_app_bundle(params = {}, = {}) req = build_request(:delete_app_bundle, params) req.send_request() end |
#delete_ingestion(params = {}) ⇒ Struct
Deletes an ingestion. You must stop (disable) the ingestion and you must delete all associated ingestion destinations before you can delete an app ingestion.
1039 1040 1041 1042 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1039 def delete_ingestion(params = {}, = {}) req = build_request(:delete_ingestion, params) req.send_request() end |
#delete_ingestion_destination(params = {}) ⇒ Struct
Deletes an ingestion destination.
This deletes the association between an ingestion and it’s destination. It doesn’t delete previously ingested data or the storage destination, such as the Amazon S3 bucket where the data is delivered. If the ingestion destination is deleted while the associated ingestion is enabled, the ingestion will fail and is eventually disabled.
1079 1080 1081 1082 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1079 def delete_ingestion_destination(params = {}, = {}) req = build_request(:delete_ingestion_destination, params) req.send_request() end |
#get_app_authorization(params = {}) ⇒ Types::GetAppAuthorizationResponse
Returns information about an app authorization.
1123 1124 1125 1126 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1123 def (params = {}, = {}) req = build_request(:get_app_authorization, params) req.send_request() end |
#get_app_bundle(params = {}) ⇒ Types::GetAppBundleResponse
Returns information about an app bundle.
1153 1154 1155 1156 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1153 def get_app_bundle(params = {}, = {}) req = build_request(:get_app_bundle, params) req.send_request() end |
#get_ingestion(params = {}) ⇒ Types::GetIngestionResponse
Returns information about an ingestion.
1194 1195 1196 1197 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1194 def get_ingestion(params = {}, = {}) req = build_request(:get_ingestion, params) req.send_request() end |
#get_ingestion_destination(params = {}) ⇒ Types::GetIngestionDestinationResponse
Returns information about an ingestion destination.
1243 1244 1245 1246 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1243 def get_ingestion_destination(params = {}, = {}) req = build_request(:get_ingestion_destination, params) req.send_request() end |
#list_app_authorizations(params = {}) ⇒ Types::ListAppAuthorizationsResponse
Returns a list of all app authorizations configured for an app bundle.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1300 1301 1302 1303 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1300 def (params = {}, = {}) req = build_request(:list_app_authorizations, params) req.send_request() end |
#list_app_bundles(params = {}) ⇒ Types::ListAppBundlesResponse
Returns a list of app bundles.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1346 1347 1348 1349 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1346 def list_app_bundles(params = {}, = {}) req = build_request(:list_app_bundles, params) req.send_request() end |
#list_ingestion_destinations(params = {}) ⇒ Types::ListIngestionDestinationsResponse
Returns a list of all ingestion destinations configured for an ingestion.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1403 1404 1405 1406 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1403 def list_ingestion_destinations(params = {}, = {}) req = build_request(:list_ingestion_destinations, params) req.send_request() end |
#list_ingestions(params = {}) ⇒ Types::ListIngestionsResponse
Returns a list of all ingestions configured for an app bundle.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1457 1458 1459 1460 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1457 def list_ingestions(params = {}, = {}) req = build_request(:list_ingestions, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns a list of tags for a resource.
1488 1489 1490 1491 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1488 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#start_ingestion(params = {}) ⇒ Struct
Starts (enables) an ingestion, which collects data from an application.
1517 1518 1519 1520 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1517 def start_ingestion(params = {}, = {}) req = build_request(:start_ingestion, params) req.send_request() end |
#start_user_access_tasks(params = {}) ⇒ Types::StartUserAccessTasksResponse
Starts the tasks to search user access status for a specific email address.
The tasks are stopped when the user access status data is found. The tasks are terminated when the API calls to the application time out.
1559 1560 1561 1562 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1559 def start_user_access_tasks(params = {}, = {}) req = build_request(:start_user_access_tasks, params) req.send_request() end |
#stop_ingestion(params = {}) ⇒ Struct
Stops (disables) an ingestion.
1587 1588 1589 1590 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1587 def stop_ingestion(params = {}, = {}) req = build_request(:stop_ingestion, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Assigns one or more tags (key-value pairs) to the specified resource.
1619 1620 1621 1622 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1619 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes a tag or tags from a resource.
1646 1647 1648 1649 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1646 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_app_authorization(params = {}) ⇒ Types::UpdateAppAuthorizationResponse
Updates an app authorization within an app bundle, which allows AppFabric to connect to an application.
If the app authorization was in a ‘connected` state, updating the app authorization will set it back to a `PendingConnect` state.
1720 1721 1722 1723 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1720 def (params = {}, = {}) req = build_request(:update_app_authorization, params) req.send_request() end |
#update_ingestion_destination(params = {}) ⇒ Types::UpdateIngestionDestinationResponse
Updates an ingestion destination, which specifies how an application’s ingested data is processed by Amazon Web Services AppFabric and where it’s delivered.
1787 1788 1789 1790 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1787 def update_ingestion_destination(params = {}, = {}) req = build_request(:update_ingestion_destination, 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.
1816 1817 1818 |
# File 'lib/aws-sdk-appfabric/client.rb', line 1816 def waiter_names [] end |