Class: Aws::SsmSap::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::SsmSap::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-ssmsap/client.rb
Overview
An API client for SsmSap. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::SsmSap::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
-
#delete_resource_permission(params = {}) ⇒ Types::DeleteResourcePermissionOutput
Removes permissions associated with the target database.
-
#deregister_application(params = {}) ⇒ Struct
Deregister an SAP application with AWS Systems Manager for SAP.
-
#get_application(params = {}) ⇒ Types::GetApplicationOutput
Gets an application registered with AWS Systems Manager for SAP.
-
#get_component(params = {}) ⇒ Types::GetComponentOutput
Gets the component of an application registered with AWS Systems Manager for SAP.
-
#get_database(params = {}) ⇒ Types::GetDatabaseOutput
Gets the SAP HANA database of an application registered with AWS Systems Manager for SAP.
-
#get_operation(params = {}) ⇒ Types::GetOperationOutput
Gets the details of an operation by specifying the operation ID.
-
#get_resource_permission(params = {}) ⇒ Types::GetResourcePermissionOutput
Gets permissions associated with the target database.
-
#list_applications(params = {}) ⇒ Types::ListApplicationsOutput
Lists all the applications registered with AWS Systems Manager for SAP.
-
#list_components(params = {}) ⇒ Types::ListComponentsOutput
Lists all the components registered with AWS Systems Manager for SAP.
-
#list_databases(params = {}) ⇒ Types::ListDatabasesOutput
Lists the SAP HANA databases of an application registered with AWS Systems Manager for SAP.
-
#list_operation_events(params = {}) ⇒ Types::ListOperationEventsOutput
Returns a list of operations events.
-
#list_operations(params = {}) ⇒ Types::ListOperationsOutput
Lists the operations performed by AWS Systems Manager for SAP.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists all tags on an SAP HANA application and/or database registered with AWS Systems Manager for SAP.
-
#put_resource_permission(params = {}) ⇒ Types::PutResourcePermissionOutput
Adds permissions to the target database.
-
#register_application(params = {}) ⇒ Types::RegisterApplicationOutput
Register an SAP application with AWS Systems Manager for SAP.
-
#start_application(params = {}) ⇒ Types::StartApplicationOutput
Request is an operation which starts an application.
-
#start_application_refresh(params = {}) ⇒ Types::StartApplicationRefreshOutput
Refreshes a registered application.
-
#stop_application(params = {}) ⇒ Types::StopApplicationOutput
Request is an operation to stop an application.
-
#tag_resource(params = {}) ⇒ Struct
Creates tag for a resource by specifying the ARN.
-
#untag_resource(params = {}) ⇒ Struct
Delete the tags for a resource.
-
#update_application_settings(params = {}) ⇒ Types::UpdateApplicationSettingsOutput
Updates the settings of an application registered with AWS Systems Manager for SAP.
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-ssmsap/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.
1462 1463 1464 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 1462 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.
1465 1466 1467 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 1465 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.
1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 1435 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::SsmSap') ) 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-ssmsap' context[:gem_version] = '1.31.0' Seahorse::Client::Request.new(handlers, context) end |
#delete_resource_permission(params = {}) ⇒ Types::DeleteResourcePermissionOutput
Removes permissions associated with the target database.
481 482 483 484 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 481 def (params = {}, = {}) req = build_request(:delete_resource_permission, params) req.send_request() end |
#deregister_application(params = {}) ⇒ Struct
Deregister an SAP application with AWS Systems Manager for SAP. This action does not affect the existing setup of your SAP workloads on Amazon EC2.
505 506 507 508 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 505 def deregister_application(params = {}, = {}) req = build_request(:deregister_application, params) req.send_request() end |
#get_application(params = {}) ⇒ Types::GetApplicationOutput
Gets an application registered with AWS Systems Manager for SAP. It also returns the components of the application.
556 557 558 559 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 556 def get_application(params = {}, = {}) req = build_request(:get_application, params) req.send_request() end |
#get_component(params = {}) ⇒ Types::GetComponentOutput
Gets the component of an application registered with AWS Systems Manager for SAP.
631 632 633 634 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 631 def get_component(params = {}, = {}) req = build_request(:get_component, params) req.send_request() end |
#get_database(params = {}) ⇒ Types::GetDatabaseOutput
Gets the SAP HANA database of an application registered with AWS Systems Manager for SAP.
690 691 692 693 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 690 def get_database(params = {}, = {}) req = build_request(:get_database, params) req.send_request() end |
#get_operation(params = {}) ⇒ Types::GetOperationOutput
Gets the details of an operation by specifying the operation ID.
729 730 731 732 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 729 def get_operation(params = {}, = {}) req = build_request(:get_operation, params) req.send_request() end |
#get_resource_permission(params = {}) ⇒ Types::GetResourcePermissionOutput
Gets permissions associated with the target database.
760 761 762 763 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 760 def (params = {}, = {}) req = build_request(:get_resource_permission, params) req.send_request() end |
#list_applications(params = {}) ⇒ Types::ListApplicationsOutput
Lists all the applications registered with AWS Systems Manager for SAP.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
815 816 817 818 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 815 def list_applications(params = {}, = {}) req = build_request(:list_applications, params) req.send_request() end |
#list_components(params = {}) ⇒ Types::ListComponentsOutput
Lists all the components registered with AWS Systems Manager for SAP.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
866 867 868 869 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 866 def list_components(params = {}, = {}) req = build_request(:list_components, params) req.send_request() end |
#list_databases(params = {}) ⇒ Types::ListDatabasesOutput
Lists the SAP HANA databases of an application registered with AWS Systems Manager for SAP.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
921 922 923 924 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 921 def list_databases(params = {}, = {}) req = build_request(:list_databases, params) req.send_request() end |
#list_operation_events(params = {}) ⇒ Types::ListOperationEventsOutput
Returns a list of operations events.
Available parameters include ‘OperationID`, as well as optional parameters `MaxResults`, `NextToken`, and `Filters`.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
990 991 992 993 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 990 def list_operation_events(params = {}, = {}) req = build_request(:list_operation_events, params) req.send_request() end |
#list_operations(params = {}) ⇒ Types::ListOperationsOutput
Lists the operations performed by AWS Systems Manager for SAP.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1055 1056 1057 1058 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 1055 def list_operations(params = {}, = {}) req = build_request(:list_operations, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists all tags on an SAP HANA application and/or database registered with AWS Systems Manager for SAP.
1085 1086 1087 1088 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 1085 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#put_resource_permission(params = {}) ⇒ Types::PutResourcePermissionOutput
Adds permissions to the target database.
1118 1119 1120 1121 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 1118 def (params = {}, = {}) req = build_request(:put_resource_permission, params) req.send_request() end |
#register_application(params = {}) ⇒ Types::RegisterApplicationOutput
Register an SAP application with AWS Systems Manager for SAP. You must meet the following requirements before registering.
The SAP application you want to register with AWS Systems Manager for SAP is running on Amazon EC2.
AWS Systems Manager Agent must be setup on an Amazon EC2 instance along with the required IAM permissions.
Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets Manager to manage SAP applications and components.
1205 1206 1207 1208 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 1205 def register_application(params = {}, = {}) req = build_request(:register_application, params) req.send_request() end |
#start_application(params = {}) ⇒ Types::StartApplicationOutput
Request is an operation which starts an application.
Parameter ‘ApplicationId` is required.
1235 1236 1237 1238 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 1235 def start_application(params = {}, = {}) req = build_request(:start_application, params) req.send_request() end |
#start_application_refresh(params = {}) ⇒ Types::StartApplicationRefreshOutput
Refreshes a registered application.
1263 1264 1265 1266 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 1263 def start_application_refresh(params = {}, = {}) req = build_request(:start_application_refresh, params) req.send_request() end |
#stop_application(params = {}) ⇒ Types::StopApplicationOutput
Request is an operation to stop an application.
Parameter ‘ApplicationId` is required. Parameters `StopConnectedEntity` and `IncludeEc2InstanceShutdown` are optional.
1307 1308 1309 1310 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 1307 def stop_application(params = {}, = {}) req = build_request(:stop_application, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Creates tag for a resource by specifying the ARN.
1335 1336 1337 1338 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 1335 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Delete the tags for a resource.
1362 1363 1364 1365 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 1362 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_application_settings(params = {}) ⇒ Types::UpdateApplicationSettingsOutput
Updates the settings of an application registered with AWS Systems Manager for SAP.
1426 1427 1428 1429 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 1426 def update_application_settings(params = {}, = {}) req = build_request(:update_application_settings, 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.
1455 1456 1457 |
# File 'lib/aws-sdk-ssmsap/client.rb', line 1455 def waiter_names [] end |