/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the ssm-sap-2018-05-10.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.SsmSap.Model;
using Amazon.SsmSap.Model.Internal.MarshallTransformations;
using Amazon.SsmSap.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.SsmSap
{
///
/// Implementation for accessing SsmSap
///
/// This API reference provides descriptions, syntax, and other details about each of
/// the actions and data types for AWS Systems Manager for SAP. The topic for each action
/// shows the API request parameters and responses.
///
public partial class AmazonSsmSapClient : AmazonServiceClient, IAmazonSsmSap
{
private static IServiceMetadata serviceMetadata = new AmazonSsmSapMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private ISsmSapPaginatorFactory _paginators;
///
/// Paginators for the service
///
public ISsmSapPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new SsmSapPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonSsmSapClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonSsmSapClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonSsmSapConfig()) { }
///
/// Constructs AmazonSsmSapClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonSsmSapClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonSsmSapConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonSsmSapClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonSsmSapClient Configuration Object
public AmazonSsmSapClient(AmazonSsmSapConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonSsmSapClient with AWS Credentials
///
/// AWS Credentials
public AmazonSsmSapClient(AWSCredentials credentials)
: this(credentials, new AmazonSsmSapConfig())
{
}
///
/// Constructs AmazonSsmSapClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonSsmSapClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonSsmSapConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonSsmSapClient with AWS Credentials and an
/// AmazonSsmSapClient Configuration object.
///
/// AWS Credentials
/// The AmazonSsmSapClient Configuration Object
public AmazonSsmSapClient(AWSCredentials credentials, AmazonSsmSapConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonSsmSapClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonSsmSapClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonSsmSapConfig())
{
}
///
/// Constructs AmazonSsmSapClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonSsmSapClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonSsmSapConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonSsmSapClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonSsmSapClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonSsmSapClient Configuration Object
public AmazonSsmSapClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonSsmSapConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonSsmSapClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonSsmSapClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSsmSapConfig())
{
}
///
/// Constructs AmazonSsmSapClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonSsmSapClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSsmSapConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonSsmSapClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonSsmSapClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonSsmSapClient Configuration Object
public AmazonSsmSapClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonSsmSapConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonSsmSapEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region DeleteResourcePermission
///
/// Removes permissions associated with the target database.
///
/// Container for the necessary parameters to execute the DeleteResourcePermission service method.
///
/// The response from the DeleteResourcePermission service method, as returned by SsmSap.
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for DeleteResourcePermission Operation
public virtual DeleteResourcePermissionResponse DeleteResourcePermission(DeleteResourcePermissionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourcePermissionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourcePermissionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteResourcePermission operation.
///
///
/// Container for the necessary parameters to execute the DeleteResourcePermission operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteResourcePermission
/// operation.
/// REST API Reference for DeleteResourcePermission Operation
public virtual IAsyncResult BeginDeleteResourcePermission(DeleteResourcePermissionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourcePermissionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourcePermissionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteResourcePermission operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteResourcePermission.
///
/// Returns a DeleteResourcePermissionResult from SsmSap.
/// REST API Reference for DeleteResourcePermission Operation
public virtual DeleteResourcePermissionResponse EndDeleteResourcePermission(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeregisterApplication
///
/// 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.
///
/// Container for the necessary parameters to execute the DeregisterApplication service method.
///
/// The response from the DeregisterApplication service method, as returned by SsmSap.
///
/// An internal error has occurred.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for DeregisterApplication Operation
public virtual DeregisterApplicationResponse DeregisterApplication(DeregisterApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeregisterApplication operation.
///
///
/// Container for the necessary parameters to execute the DeregisterApplication operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeregisterApplication
/// operation.
/// REST API Reference for DeregisterApplication Operation
public virtual IAsyncResult BeginDeregisterApplication(DeregisterApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeregisterApplication operation.
///
///
/// The IAsyncResult returned by the call to BeginDeregisterApplication.
///
/// Returns a DeregisterApplicationResult from SsmSap.
/// REST API Reference for DeregisterApplication Operation
public virtual DeregisterApplicationResponse EndDeregisterApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetApplication
///
/// Gets an application registered with AWS Systems Manager for SAP. It also returns the
/// components of the application.
///
/// Container for the necessary parameters to execute the GetApplication service method.
///
/// The response from the GetApplication service method, as returned by SsmSap.
///
/// An internal error has occurred.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetApplication Operation
public virtual GetApplicationResponse GetApplication(GetApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetApplication operation.
///
///
/// Container for the necessary parameters to execute the GetApplication operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetApplication
/// operation.
/// REST API Reference for GetApplication Operation
public virtual IAsyncResult BeginGetApplication(GetApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetApplication operation.
///
///
/// The IAsyncResult returned by the call to BeginGetApplication.
///
/// Returns a GetApplicationResult from SsmSap.
/// REST API Reference for GetApplication Operation
public virtual GetApplicationResponse EndGetApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetComponent
///
/// Gets the component of an application registered with AWS Systems Manager for SAP.
///
/// Container for the necessary parameters to execute the GetComponent service method.
///
/// The response from the GetComponent service method, as returned by SsmSap.
///
/// An internal error has occurred.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetComponent Operation
public virtual GetComponentResponse GetComponent(GetComponentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetComponentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetComponentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetComponent operation.
///
///
/// Container for the necessary parameters to execute the GetComponent operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetComponent
/// operation.
/// REST API Reference for GetComponent Operation
public virtual IAsyncResult BeginGetComponent(GetComponentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetComponentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetComponentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetComponent operation.
///
///
/// The IAsyncResult returned by the call to BeginGetComponent.
///
/// Returns a GetComponentResult from SsmSap.
/// REST API Reference for GetComponent Operation
public virtual GetComponentResponse EndGetComponent(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetDatabase
///
/// Gets the SAP HANA database of an application registered with AWS Systems Manager for
/// SAP.
///
/// Container for the necessary parameters to execute the GetDatabase service method.
///
/// The response from the GetDatabase service method, as returned by SsmSap.
///
/// An internal error has occurred.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetDatabase Operation
public virtual GetDatabaseResponse GetDatabase(GetDatabaseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDatabaseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDatabaseResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetDatabase operation.
///
///
/// Container for the necessary parameters to execute the GetDatabase operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDatabase
/// operation.
/// REST API Reference for GetDatabase Operation
public virtual IAsyncResult BeginGetDatabase(GetDatabaseRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDatabaseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDatabaseResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetDatabase operation.
///
///
/// The IAsyncResult returned by the call to BeginGetDatabase.
///
/// Returns a GetDatabaseResult from SsmSap.
/// REST API Reference for GetDatabase Operation
public virtual GetDatabaseResponse EndGetDatabase(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetOperation
///
/// Gets the details of an operation by specifying the operation ID.
///
/// Container for the necessary parameters to execute the GetOperation service method.
///
/// The response from the GetOperation service method, as returned by SsmSap.
///
/// An internal error has occurred.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetOperation Operation
public virtual GetOperationResponse GetOperation(GetOperationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOperationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOperationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetOperation operation.
///
///
/// Container for the necessary parameters to execute the GetOperation operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetOperation
/// operation.
/// REST API Reference for GetOperation Operation
public virtual IAsyncResult BeginGetOperation(GetOperationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOperationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOperationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetOperation operation.
///
///
/// The IAsyncResult returned by the call to BeginGetOperation.
///
/// Returns a GetOperationResult from SsmSap.
/// REST API Reference for GetOperation Operation
public virtual GetOperationResponse EndGetOperation(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetResourcePermission
///
/// Gets permissions associated with the target database.
///
/// Container for the necessary parameters to execute the GetResourcePermission service method.
///
/// The response from the GetResourcePermission service method, as returned by SsmSap.
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetResourcePermission Operation
public virtual GetResourcePermissionResponse GetResourcePermission(GetResourcePermissionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResourcePermissionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResourcePermissionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetResourcePermission operation.
///
///
/// Container for the necessary parameters to execute the GetResourcePermission operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetResourcePermission
/// operation.
/// REST API Reference for GetResourcePermission Operation
public virtual IAsyncResult BeginGetResourcePermission(GetResourcePermissionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResourcePermissionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResourcePermissionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetResourcePermission operation.
///
///
/// The IAsyncResult returned by the call to BeginGetResourcePermission.
///
/// Returns a GetResourcePermissionResult from SsmSap.
/// REST API Reference for GetResourcePermission Operation
public virtual GetResourcePermissionResponse EndGetResourcePermission(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListApplications
///
/// Lists all the applications registered with AWS Systems Manager for SAP.
///
/// Container for the necessary parameters to execute the ListApplications service method.
///
/// The response from the ListApplications service method, as returned by SsmSap.
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListApplications Operation
public virtual ListApplicationsResponse ListApplications(ListApplicationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListApplications operation.
///
///
/// Container for the necessary parameters to execute the ListApplications operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListApplications
/// operation.
/// REST API Reference for ListApplications Operation
public virtual IAsyncResult BeginListApplications(ListApplicationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListApplications operation.
///
///
/// The IAsyncResult returned by the call to BeginListApplications.
///
/// Returns a ListApplicationsResult from SsmSap.
/// REST API Reference for ListApplications Operation
public virtual ListApplicationsResponse EndListApplications(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListComponents
///
/// Lists all the components registered with AWS Systems Manager for SAP.
///
/// Container for the necessary parameters to execute the ListComponents service method.
///
/// The response from the ListComponents service method, as returned by SsmSap.
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListComponents Operation
public virtual ListComponentsResponse ListComponents(ListComponentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListComponentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListComponentsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListComponents operation.
///
///
/// Container for the necessary parameters to execute the ListComponents operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListComponents
/// operation.
/// REST API Reference for ListComponents Operation
public virtual IAsyncResult BeginListComponents(ListComponentsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListComponentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListComponentsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListComponents operation.
///
///
/// The IAsyncResult returned by the call to BeginListComponents.
///
/// Returns a ListComponentsResult from SsmSap.
/// REST API Reference for ListComponents Operation
public virtual ListComponentsResponse EndListComponents(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListDatabases
///
/// Lists the SAP HANA databases of an application registered with AWS Systems Manager
/// for SAP.
///
/// Container for the necessary parameters to execute the ListDatabases service method.
///
/// The response from the ListDatabases service method, as returned by SsmSap.
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListDatabases Operation
public virtual ListDatabasesResponse ListDatabases(ListDatabasesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDatabasesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDatabasesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListDatabases operation.
///
///
/// Container for the necessary parameters to execute the ListDatabases operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDatabases
/// operation.
/// REST API Reference for ListDatabases Operation
public virtual IAsyncResult BeginListDatabases(ListDatabasesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDatabasesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDatabasesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListDatabases operation.
///
///
/// The IAsyncResult returned by the call to BeginListDatabases.
///
/// Returns a ListDatabasesResult from SsmSap.
/// REST API Reference for ListDatabases Operation
public virtual ListDatabasesResponse EndListDatabases(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListOperations
///
/// Lists the operations performed by AWS Systems Manager for SAP.
///
/// Container for the necessary parameters to execute the ListOperations service method.
///
/// The response from the ListOperations service method, as returned by SsmSap.
///
/// An internal error has occurred.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListOperations Operation
public virtual ListOperationsResponse ListOperations(ListOperationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOperationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOperationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListOperations operation.
///
///
/// Container for the necessary parameters to execute the ListOperations operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListOperations
/// operation.
/// REST API Reference for ListOperations Operation
public virtual IAsyncResult BeginListOperations(ListOperationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOperationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOperationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListOperations operation.
///
///
/// The IAsyncResult returned by the call to BeginListOperations.
///
/// Returns a ListOperationsResult from SsmSap.
/// REST API Reference for ListOperations Operation
public virtual ListOperationsResponse EndListOperations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTagsForResource
///
/// Lists all tags on an SAP HANA application and/or database registered with AWS Systems
/// Manager for SAP.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by SsmSap.
///
/// A conflict has occurred.
///
///
/// The resource is not available.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from SsmSap.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutResourcePermission
///
/// Adds permissions to the target database.
///
/// Container for the necessary parameters to execute the PutResourcePermission service method.
///
/// The response from the PutResourcePermission service method, as returned by SsmSap.
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for PutResourcePermission Operation
public virtual PutResourcePermissionResponse PutResourcePermission(PutResourcePermissionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutResourcePermissionRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutResourcePermissionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutResourcePermission operation.
///
///
/// Container for the necessary parameters to execute the PutResourcePermission operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutResourcePermission
/// operation.
/// REST API Reference for PutResourcePermission Operation
public virtual IAsyncResult BeginPutResourcePermission(PutResourcePermissionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutResourcePermissionRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutResourcePermissionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutResourcePermission operation.
///
///
/// The IAsyncResult returned by the call to BeginPutResourcePermission.
///
/// Returns a PutResourcePermissionResult from SsmSap.
/// REST API Reference for PutResourcePermission Operation
public virtual PutResourcePermissionResponse EndPutResourcePermission(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region RegisterApplication
///
/// 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.
///
///
/// Container for the necessary parameters to execute the RegisterApplication service method.
///
/// The response from the RegisterApplication service method, as returned by SsmSap.
///
/// A conflict has occurred.
///
///
/// An internal error has occurred.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for RegisterApplication Operation
public virtual RegisterApplicationResponse RegisterApplication(RegisterApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the RegisterApplication operation.
///
///
/// Container for the necessary parameters to execute the RegisterApplication operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRegisterApplication
/// operation.
/// REST API Reference for RegisterApplication Operation
public virtual IAsyncResult BeginRegisterApplication(RegisterApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the RegisterApplication operation.
///
///
/// The IAsyncResult returned by the call to BeginRegisterApplication.
///
/// Returns a RegisterApplicationResult from SsmSap.
/// REST API Reference for RegisterApplication Operation
public virtual RegisterApplicationResponse EndRegisterApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartApplicationRefresh
///
/// Refreshes a registered application.
///
/// Container for the necessary parameters to execute the StartApplicationRefresh service method.
///
/// The response from the StartApplicationRefresh service method, as returned by SsmSap.
///
/// A conflict has occurred.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for StartApplicationRefresh Operation
public virtual StartApplicationRefreshResponse StartApplicationRefresh(StartApplicationRefreshRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartApplicationRefreshRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartApplicationRefreshResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartApplicationRefresh operation.
///
///
/// Container for the necessary parameters to execute the StartApplicationRefresh operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartApplicationRefresh
/// operation.
/// REST API Reference for StartApplicationRefresh Operation
public virtual IAsyncResult BeginStartApplicationRefresh(StartApplicationRefreshRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartApplicationRefreshRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartApplicationRefreshResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartApplicationRefresh operation.
///
///
/// The IAsyncResult returned by the call to BeginStartApplicationRefresh.
///
/// Returns a StartApplicationRefreshResult from SsmSap.
/// REST API Reference for StartApplicationRefresh Operation
public virtual StartApplicationRefreshResponse EndStartApplicationRefresh(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TagResource
///
/// Creates tag for a resource by specifying the ARN.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by SsmSap.
///
/// A conflict has occurred.
///
///
/// The resource is not available.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from SsmSap.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UntagResource
///
/// Delete the tags for a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by SsmSap.
///
/// A conflict has occurred.
///
///
/// The resource is not available.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from SsmSap.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateApplicationSettings
///
/// Updates the settings of an application registered with AWS Systems Manager for SAP.
///
/// Container for the necessary parameters to execute the UpdateApplicationSettings service method.
///
/// The response from the UpdateApplicationSettings service method, as returned by SsmSap.
///
/// A conflict has occurred.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for UpdateApplicationSettings Operation
public virtual UpdateApplicationSettingsResponse UpdateApplicationSettings(UpdateApplicationSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApplicationSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApplicationSettingsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateApplicationSettings operation.
///
///
/// Container for the necessary parameters to execute the UpdateApplicationSettings operation on AmazonSsmSapClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateApplicationSettings
/// operation.
/// REST API Reference for UpdateApplicationSettings Operation
public virtual IAsyncResult BeginUpdateApplicationSettings(UpdateApplicationSettingsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApplicationSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApplicationSettingsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateApplicationSettings operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateApplicationSettings.
///
/// Returns a UpdateApplicationSettingsResult from SsmSap.
/// REST API Reference for UpdateApplicationSettings Operation
public virtual UpdateApplicationSettingsResponse EndUpdateApplicationSettings(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}