/*
* 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 mobile-2017-07-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.Mobile.Model;
namespace Amazon.Mobile
{
///
/// Interface for accessing Mobile
///
/// AWS Mobile Service provides mobile app and website developers with capabilities required
/// to configure AWS resources and bootstrap their developer desktop projects with the
/// necessary SDKs, constants, tools and samples to make use of those resources.
///
public partial interface IAmazonMobile : IAmazonService, IDisposable
{
#region CreateProject
///
/// Creates an AWS Mobile Hub project.
///
/// Container for the necessary parameters to execute the CreateProject service method.
///
/// The response from the CreateProject service method, as returned by Mobile.
///
/// The request cannot be processed because some parameter is not valid or the project
/// state prevents the operation from being performed.
///
///
/// The service has encountered an unexpected error condition which prevents it from
/// servicing the request.
///
///
/// There are too many AWS Mobile Hub projects in the account or the account has exceeded
/// the maximum number of resources in some AWS service. You should create another sub-account
/// using AWS Organizations or remove some resources and retry your request.
///
///
/// No entity can be found with the specified identifier.
///
///
/// The service is temporarily unavailable. The request should be retried after some
/// time delay.
///
///
/// Too many requests have been received for this AWS account in too short a time. The
/// request should be retried after some time delay.
///
///
/// Credentials of the caller are insufficient to authorize the request.
///
/// REST API Reference for CreateProject Operation
CreateProjectResponse CreateProject(CreateProjectRequest request);
///
/// Initiates the asynchronous execution of the CreateProject operation.
///
///
/// Container for the necessary parameters to execute the CreateProject operation on AmazonMobileClient.
/// 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 EndCreateProject
/// operation.
/// REST API Reference for CreateProject Operation
IAsyncResult BeginCreateProject(CreateProjectRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreateProject operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateProject.
///
/// Returns a CreateProjectResult from Mobile.
/// REST API Reference for CreateProject Operation
CreateProjectResponse EndCreateProject(IAsyncResult asyncResult);
#endregion
#region DeleteProject
///
/// Delets a project in AWS Mobile Hub.
///
/// Container for the necessary parameters to execute the DeleteProject service method.
///
/// The response from the DeleteProject service method, as returned by Mobile.
///
/// The service has encountered an unexpected error condition which prevents it from
/// servicing the request.
///
///
/// No entity can be found with the specified identifier.
///
///
/// The service is temporarily unavailable. The request should be retried after some
/// time delay.
///
///
/// Too many requests have been received for this AWS account in too short a time. The
/// request should be retried after some time delay.
///
///
/// Credentials of the caller are insufficient to authorize the request.
///
/// REST API Reference for DeleteProject Operation
DeleteProjectResponse DeleteProject(DeleteProjectRequest request);
///
/// Initiates the asynchronous execution of the DeleteProject operation.
///
///
/// Container for the necessary parameters to execute the DeleteProject operation on AmazonMobileClient.
/// 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 EndDeleteProject
/// operation.
/// REST API Reference for DeleteProject Operation
IAsyncResult BeginDeleteProject(DeleteProjectRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteProject operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteProject.
///
/// Returns a DeleteProjectResult from Mobile.
/// REST API Reference for DeleteProject Operation
DeleteProjectResponse EndDeleteProject(IAsyncResult asyncResult);
#endregion
#region DescribeBundle
///
/// Get the bundle details for the requested bundle id.
///
/// Container for the necessary parameters to execute the DescribeBundle service method.
///
/// The response from the DescribeBundle service method, as returned by Mobile.
///
/// The request cannot be processed because some parameter is not valid or the project
/// state prevents the operation from being performed.
///
///
/// The service has encountered an unexpected error condition which prevents it from
/// servicing the request.
///
///
/// No entity can be found with the specified identifier.
///
///
/// The service is temporarily unavailable. The request should be retried after some
/// time delay.
///
///
/// Too many requests have been received for this AWS account in too short a time. The
/// request should be retried after some time delay.
///
///
/// Credentials of the caller are insufficient to authorize the request.
///
/// REST API Reference for DescribeBundle Operation
DescribeBundleResponse DescribeBundle(DescribeBundleRequest request);
///
/// Initiates the asynchronous execution of the DescribeBundle operation.
///
///
/// Container for the necessary parameters to execute the DescribeBundle operation on AmazonMobileClient.
/// 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 EndDescribeBundle
/// operation.
/// REST API Reference for DescribeBundle Operation
IAsyncResult BeginDescribeBundle(DescribeBundleRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DescribeBundle operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeBundle.
///
/// Returns a DescribeBundleResult from Mobile.
/// REST API Reference for DescribeBundle Operation
DescribeBundleResponse EndDescribeBundle(IAsyncResult asyncResult);
#endregion
#region DescribeProject
///
/// Gets details about a project in AWS Mobile Hub.
///
/// Container for the necessary parameters to execute the DescribeProject service method.
///
/// The response from the DescribeProject service method, as returned by Mobile.
///
/// The request cannot be processed because some parameter is not valid or the project
/// state prevents the operation from being performed.
///
///
/// The service has encountered an unexpected error condition which prevents it from
/// servicing the request.
///
///
/// No entity can be found with the specified identifier.
///
///
/// The service is temporarily unavailable. The request should be retried after some
/// time delay.
///
///
/// Too many requests have been received for this AWS account in too short a time. The
/// request should be retried after some time delay.
///
///
/// Credentials of the caller are insufficient to authorize the request.
///
/// REST API Reference for DescribeProject Operation
DescribeProjectResponse DescribeProject(DescribeProjectRequest request);
///
/// Initiates the asynchronous execution of the DescribeProject operation.
///
///
/// Container for the necessary parameters to execute the DescribeProject operation on AmazonMobileClient.
/// 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 EndDescribeProject
/// operation.
/// REST API Reference for DescribeProject Operation
IAsyncResult BeginDescribeProject(DescribeProjectRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DescribeProject operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeProject.
///
/// Returns a DescribeProjectResult from Mobile.
/// REST API Reference for DescribeProject Operation
DescribeProjectResponse EndDescribeProject(IAsyncResult asyncResult);
#endregion
#region ExportBundle
///
/// Generates customized software development kit (SDK) and or tool packages used to
/// integrate mobile web or mobile app clients with backend AWS resources.
///
/// Container for the necessary parameters to execute the ExportBundle service method.
///
/// The response from the ExportBundle service method, as returned by Mobile.
///
/// The request cannot be processed because some parameter is not valid or the project
/// state prevents the operation from being performed.
///
///
/// The service has encountered an unexpected error condition which prevents it from
/// servicing the request.
///
///
/// No entity can be found with the specified identifier.
///
///
/// The service is temporarily unavailable. The request should be retried after some
/// time delay.
///
///
/// Too many requests have been received for this AWS account in too short a time. The
/// request should be retried after some time delay.
///
///
/// Credentials of the caller are insufficient to authorize the request.
///
/// REST API Reference for ExportBundle Operation
ExportBundleResponse ExportBundle(ExportBundleRequest request);
///
/// Initiates the asynchronous execution of the ExportBundle operation.
///
///
/// Container for the necessary parameters to execute the ExportBundle operation on AmazonMobileClient.
/// 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 EndExportBundle
/// operation.
/// REST API Reference for ExportBundle Operation
IAsyncResult BeginExportBundle(ExportBundleRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ExportBundle operation.
///
///
/// The IAsyncResult returned by the call to BeginExportBundle.
///
/// Returns a ExportBundleResult from Mobile.
/// REST API Reference for ExportBundle Operation
ExportBundleResponse EndExportBundle(IAsyncResult asyncResult);
#endregion
#region ExportProject
///
/// Exports project configuration to a snapshot which can be downloaded and shared. Note
/// that mobile app push credentials are encrypted in exported projects, so they can only
/// be shared successfully within the same AWS account.
///
/// Container for the necessary parameters to execute the ExportProject service method.
///
/// The response from the ExportProject service method, as returned by Mobile.
///
/// The request cannot be processed because some parameter is not valid or the project
/// state prevents the operation from being performed.
///
///
/// The service has encountered an unexpected error condition which prevents it from
/// servicing the request.
///
///
/// No entity can be found with the specified identifier.
///
///
/// The service is temporarily unavailable. The request should be retried after some
/// time delay.
///
///
/// Too many requests have been received for this AWS account in too short a time. The
/// request should be retried after some time delay.
///
///
/// Credentials of the caller are insufficient to authorize the request.
///
/// REST API Reference for ExportProject Operation
ExportProjectResponse ExportProject(ExportProjectRequest request);
///
/// Initiates the asynchronous execution of the ExportProject operation.
///
///
/// Container for the necessary parameters to execute the ExportProject operation on AmazonMobileClient.
/// 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 EndExportProject
/// operation.
/// REST API Reference for ExportProject Operation
IAsyncResult BeginExportProject(ExportProjectRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ExportProject operation.
///
///
/// The IAsyncResult returned by the call to BeginExportProject.
///
/// Returns a ExportProjectResult from Mobile.
/// REST API Reference for ExportProject Operation
ExportProjectResponse EndExportProject(IAsyncResult asyncResult);
#endregion
#region ListBundles
///
/// List all available bundles.
///
/// Container for the necessary parameters to execute the ListBundles service method.
///
/// The response from the ListBundles service method, as returned by Mobile.
///
/// The request cannot be processed because some parameter is not valid or the project
/// state prevents the operation from being performed.
///
///
/// The service has encountered an unexpected error condition which prevents it from
/// servicing the request.
///
///
/// The service is temporarily unavailable. The request should be retried after some
/// time delay.
///
///
/// Too many requests have been received for this AWS account in too short a time. The
/// request should be retried after some time delay.
///
///
/// Credentials of the caller are insufficient to authorize the request.
///
/// REST API Reference for ListBundles Operation
ListBundlesResponse ListBundles(ListBundlesRequest request);
///
/// Initiates the asynchronous execution of the ListBundles operation.
///
///
/// Container for the necessary parameters to execute the ListBundles operation on AmazonMobileClient.
/// 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 EndListBundles
/// operation.
/// REST API Reference for ListBundles Operation
IAsyncResult BeginListBundles(ListBundlesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListBundles operation.
///
///
/// The IAsyncResult returned by the call to BeginListBundles.
///
/// Returns a ListBundlesResult from Mobile.
/// REST API Reference for ListBundles Operation
ListBundlesResponse EndListBundles(IAsyncResult asyncResult);
#endregion
#region ListProjects
///
/// Lists projects in AWS Mobile Hub.
///
/// Container for the necessary parameters to execute the ListProjects service method.
///
/// The response from the ListProjects service method, as returned by Mobile.
///
/// The request cannot be processed because some parameter is not valid or the project
/// state prevents the operation from being performed.
///
///
/// The service has encountered an unexpected error condition which prevents it from
/// servicing the request.
///
///
/// The service is temporarily unavailable. The request should be retried after some
/// time delay.
///
///
/// Too many requests have been received for this AWS account in too short a time. The
/// request should be retried after some time delay.
///
///
/// Credentials of the caller are insufficient to authorize the request.
///
/// REST API Reference for ListProjects Operation
ListProjectsResponse ListProjects(ListProjectsRequest request);
///
/// Initiates the asynchronous execution of the ListProjects operation.
///
///
/// Container for the necessary parameters to execute the ListProjects operation on AmazonMobileClient.
/// 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 EndListProjects
/// operation.
/// REST API Reference for ListProjects Operation
IAsyncResult BeginListProjects(ListProjectsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListProjects operation.
///
///
/// The IAsyncResult returned by the call to BeginListProjects.
///
/// Returns a ListProjectsResult from Mobile.
/// REST API Reference for ListProjects Operation
ListProjectsResponse EndListProjects(IAsyncResult asyncResult);
#endregion
#region UpdateProject
///
/// Update an existing project.
///
/// Container for the necessary parameters to execute the UpdateProject service method.
///
/// The response from the UpdateProject service method, as returned by Mobile.
///
/// Account Action is required in order to continue the request.
///
///
/// The request cannot be processed because some parameter is not valid or the project
/// state prevents the operation from being performed.
///
///
/// The service has encountered an unexpected error condition which prevents it from
/// servicing the request.
///
///
/// There are too many AWS Mobile Hub projects in the account or the account has exceeded
/// the maximum number of resources in some AWS service. You should create another sub-account
/// using AWS Organizations or remove some resources and retry your request.
///
///
/// No entity can be found with the specified identifier.
///
///
/// The service is temporarily unavailable. The request should be retried after some
/// time delay.
///
///
/// Too many requests have been received for this AWS account in too short a time. The
/// request should be retried after some time delay.
///
///
/// Credentials of the caller are insufficient to authorize the request.
///
/// REST API Reference for UpdateProject Operation
UpdateProjectResponse UpdateProject(UpdateProjectRequest request);
///
/// Initiates the asynchronous execution of the UpdateProject operation.
///
///
/// Container for the necessary parameters to execute the UpdateProject operation on AmazonMobileClient.
/// 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 EndUpdateProject
/// operation.
/// REST API Reference for UpdateProject Operation
IAsyncResult BeginUpdateProject(UpdateProjectRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdateProject operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateProject.
///
/// Returns a UpdateProjectResult from Mobile.
/// REST API Reference for UpdateProject Operation
UpdateProjectResponse EndUpdateProject(IAsyncResult asyncResult);
#endregion
}
}