/* * 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 migration-hub-refactor-spaces-2021-10-26.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.MigrationHubRefactorSpaces.Model; namespace Amazon.MigrationHubRefactorSpaces { /// /// Interface for accessing MigrationHubRefactorSpaces /// /// Amazon Web Services Migration Hub Refactor Spaces /// /// This API reference provides descriptions, syntax, and other details about each of /// the actions and data types for Amazon Web Services Migration Hub Refactor Spaces (Refactor /// Spaces). The topic for each action shows the API request parameters and the response. /// Alternatively, you can use one of the Amazon Web Services SDKs to access an API that /// is tailored to the programming language or platform that you're using. For more information, /// see Amazon Web Services SDKs. /// /// /// /// To share Refactor Spaces environments with other Amazon Web Services accounts or with /// Organizations and their OUs, use Resource Access Manager's CreateResourceShare /// API. See CreateResourceShare /// in the Amazon Web Services RAM API Reference. /// /// /// /// public partial interface IAmazonMigrationHubRefactorSpaces : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// IMigrationHubRefactorSpacesPaginatorFactory Paginators { get; } #endif #region CreateApplication /// /// Creates an Amazon Web Services Migration Hub Refactor Spaces application. The account /// that owns the environment also owns the applications created inside the environment, /// regardless of the account that creates the application. Refactor Spaces provisions /// an Amazon API Gateway, API Gateway VPC link, and Network Load Balancer for the application /// proxy inside your account. /// /// /// /// In environments created with a CreateEnvironment:NetworkFabricType /// of NONE you need to configure /// VPC to VPC connectivity between your service VPC and the application proxy VPC /// to route traffic through the application proxy to a service with a private URL endpoint. /// For more information, see /// Create an application in the Refactor Spaces User Guide. /// /// /// Container for the necessary parameters to execute the CreateApplication service method. /// /// The response from the CreateApplication service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// The request would cause a service quota to be exceeded. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for CreateApplication Operation CreateApplicationResponse CreateApplication(CreateApplicationRequest request); /// /// Initiates the asynchronous execution of the CreateApplication operation. /// /// /// Container for the necessary parameters to execute the CreateApplication operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndCreateApplication /// operation. /// REST API Reference for CreateApplication Operation IAsyncResult BeginCreateApplication(CreateApplicationRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateApplication operation. /// /// /// The IAsyncResult returned by the call to BeginCreateApplication. /// /// Returns a CreateApplicationResult from MigrationHubRefactorSpaces. /// REST API Reference for CreateApplication Operation CreateApplicationResponse EndCreateApplication(IAsyncResult asyncResult); #endregion #region CreateEnvironment /// /// Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller /// owns the environment resource, and all Refactor Spaces applications, services, and /// routes created within the environment. They are referred to as the environment /// owner. The environment owner has cross-account visibility and control of Refactor /// Spaces resources that are added to the environment by other accounts that the environment /// is shared with. /// /// /// /// When creating an environment with a CreateEnvironment:NetworkFabricType /// of TRANSIT_GATEWAY, Refactor Spaces provisions a transit gateway to enable /// services in VPCs to communicate directly across accounts. If CreateEnvironment:NetworkFabricType /// is NONE, Refactor Spaces does not create a transit gateway and you must /// use your network infrastructure to route traffic to services with private URL endpoints. /// /// /// Container for the necessary parameters to execute the CreateEnvironment service method. /// /// The response from the CreateEnvironment service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// The request would cause a service quota to be exceeded. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for CreateEnvironment Operation CreateEnvironmentResponse CreateEnvironment(CreateEnvironmentRequest request); /// /// Initiates the asynchronous execution of the CreateEnvironment operation. /// /// /// Container for the necessary parameters to execute the CreateEnvironment operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndCreateEnvironment /// operation. /// REST API Reference for CreateEnvironment Operation IAsyncResult BeginCreateEnvironment(CreateEnvironmentRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateEnvironment operation. /// /// /// The IAsyncResult returned by the call to BeginCreateEnvironment. /// /// Returns a CreateEnvironmentResult from MigrationHubRefactorSpaces. /// REST API Reference for CreateEnvironment Operation CreateEnvironmentResponse EndCreateEnvironment(IAsyncResult asyncResult); #endregion #region CreateRoute /// /// Creates an Amazon Web Services Migration Hub Refactor Spaces route. The account owner /// of the service resource is always the environment owner, regardless of which account /// creates the route. Routes target a service in the application. If an application does /// not have any routes, then the first route must be created as a DEFAULT /// RouteType. /// /// /// /// When created, the default route defaults to an active state so state is not a required /// input. However, like all other state values the state of the default route can be /// updated after creation, but only when all other routes are also inactive. Conversely, /// no route can be active without the default route also being active. /// /// /// /// When you create a route, Refactor Spaces configures the Amazon API Gateway to send /// traffic to the target service as follows: /// /// /// /// Environments without a network bridge /// /// /// /// When you create environments without a network bridge (CreateEnvironment:NetworkFabricType /// is NONE) and you use your own networking infrastructure, you need to /// configure VPC /// to VPC connectivity between your network and the application proxy VPC. Route /// creation from the application proxy to service endpoints will fail if your network /// is not configured to connect to the application proxy VPC. For more information, see /// /// Create a route in the Refactor Spaces User Guide. /// /// /// Container for the necessary parameters to execute the CreateRoute service method. /// /// The response from the CreateRoute service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// The request would cause a service quota to be exceeded. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for CreateRoute Operation CreateRouteResponse CreateRoute(CreateRouteRequest request); /// /// Initiates the asynchronous execution of the CreateRoute operation. /// /// /// Container for the necessary parameters to execute the CreateRoute operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndCreateRoute /// operation. /// REST API Reference for CreateRoute Operation IAsyncResult BeginCreateRoute(CreateRouteRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateRoute operation. /// /// /// The IAsyncResult returned by the call to BeginCreateRoute. /// /// Returns a CreateRouteResult from MigrationHubRefactorSpaces. /// REST API Reference for CreateRoute Operation CreateRouteResponse EndCreateRoute(IAsyncResult asyncResult); #endregion #region CreateService /// /// Creates an Amazon Web Services Migration Hub Refactor Spaces service. The account /// owner of the service is always the environment owner, regardless of which account /// in the environment creates the service. Services have either a URL endpoint in a virtual /// private cloud (VPC), or a Lambda function endpoint. /// /// /// /// If an Amazon Web Services resource is launched in a service VPC, and you want it to /// be accessible to all of an environment’s services with VPCs and routes, apply the /// RefactorSpacesSecurityGroup to the resource. Alternatively, to add more /// cross-account constraints, apply your own security group. /// /// /// /// Container for the necessary parameters to execute the CreateService service method. /// /// The response from the CreateService service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// The request would cause a service quota to be exceeded. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for CreateService Operation CreateServiceResponse CreateService(CreateServiceRequest request); /// /// Initiates the asynchronous execution of the CreateService operation. /// /// /// Container for the necessary parameters to execute the CreateService operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndCreateService /// operation. /// REST API Reference for CreateService Operation IAsyncResult BeginCreateService(CreateServiceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateService operation. /// /// /// The IAsyncResult returned by the call to BeginCreateService. /// /// Returns a CreateServiceResult from MigrationHubRefactorSpaces. /// REST API Reference for CreateService Operation CreateServiceResponse EndCreateService(IAsyncResult asyncResult); #endregion #region DeleteApplication /// /// Deletes an Amazon Web Services Migration Hub Refactor Spaces application. Before you /// can delete an application, you must first delete any services or routes within the /// application. /// /// Container for the necessary parameters to execute the DeleteApplication service method. /// /// The response from the DeleteApplication service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for DeleteApplication Operation DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request); /// /// Initiates the asynchronous execution of the DeleteApplication operation. /// /// /// Container for the necessary parameters to execute the DeleteApplication operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndDeleteApplication /// operation. /// REST API Reference for DeleteApplication Operation IAsyncResult BeginDeleteApplication(DeleteApplicationRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteApplication operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteApplication. /// /// Returns a DeleteApplicationResult from MigrationHubRefactorSpaces. /// REST API Reference for DeleteApplication Operation DeleteApplicationResponse EndDeleteApplication(IAsyncResult asyncResult); #endregion #region DeleteEnvironment /// /// Deletes an Amazon Web Services Migration Hub Refactor Spaces environment. Before you /// can delete an environment, you must first delete any applications and services within /// the environment. /// /// Container for the necessary parameters to execute the DeleteEnvironment service method. /// /// The response from the DeleteEnvironment service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for DeleteEnvironment Operation DeleteEnvironmentResponse DeleteEnvironment(DeleteEnvironmentRequest request); /// /// Initiates the asynchronous execution of the DeleteEnvironment operation. /// /// /// Container for the necessary parameters to execute the DeleteEnvironment operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndDeleteEnvironment /// operation. /// REST API Reference for DeleteEnvironment Operation IAsyncResult BeginDeleteEnvironment(DeleteEnvironmentRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteEnvironment operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteEnvironment. /// /// Returns a DeleteEnvironmentResult from MigrationHubRefactorSpaces. /// REST API Reference for DeleteEnvironment Operation DeleteEnvironmentResponse EndDeleteEnvironment(IAsyncResult asyncResult); #endregion #region DeleteResourcePolicy /// /// Deletes the resource policy set for the environment. /// /// Container for the necessary parameters to execute the DeleteResourcePolicy service method. /// /// The response from the DeleteResourcePolicy service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for DeleteResourcePolicy Operation DeleteResourcePolicyResponse DeleteResourcePolicy(DeleteResourcePolicyRequest request); /// /// Initiates the asynchronous execution of the DeleteResourcePolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteResourcePolicy operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndDeleteResourcePolicy /// operation. /// REST API Reference for DeleteResourcePolicy Operation IAsyncResult BeginDeleteResourcePolicy(DeleteResourcePolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteResourcePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteResourcePolicy. /// /// Returns a DeleteResourcePolicyResult from MigrationHubRefactorSpaces. /// REST API Reference for DeleteResourcePolicy Operation DeleteResourcePolicyResponse EndDeleteResourcePolicy(IAsyncResult asyncResult); #endregion #region DeleteRoute /// /// Deletes an Amazon Web Services Migration Hub Refactor Spaces route. /// /// Container for the necessary parameters to execute the DeleteRoute service method. /// /// The response from the DeleteRoute service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for DeleteRoute Operation DeleteRouteResponse DeleteRoute(DeleteRouteRequest request); /// /// Initiates the asynchronous execution of the DeleteRoute operation. /// /// /// Container for the necessary parameters to execute the DeleteRoute operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndDeleteRoute /// operation. /// REST API Reference for DeleteRoute Operation IAsyncResult BeginDeleteRoute(DeleteRouteRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteRoute operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteRoute. /// /// Returns a DeleteRouteResult from MigrationHubRefactorSpaces. /// REST API Reference for DeleteRoute Operation DeleteRouteResponse EndDeleteRoute(IAsyncResult asyncResult); #endregion #region DeleteService /// /// Deletes an Amazon Web Services Migration Hub Refactor Spaces service. /// /// Container for the necessary parameters to execute the DeleteService service method. /// /// The response from the DeleteService service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for DeleteService Operation DeleteServiceResponse DeleteService(DeleteServiceRequest request); /// /// Initiates the asynchronous execution of the DeleteService operation. /// /// /// Container for the necessary parameters to execute the DeleteService operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndDeleteService /// operation. /// REST API Reference for DeleteService Operation IAsyncResult BeginDeleteService(DeleteServiceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteService operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteService. /// /// Returns a DeleteServiceResult from MigrationHubRefactorSpaces. /// REST API Reference for DeleteService Operation DeleteServiceResponse EndDeleteService(IAsyncResult asyncResult); #endregion #region GetApplication /// /// Gets an Amazon Web Services Migration Hub Refactor Spaces application. /// /// Container for the necessary parameters to execute the GetApplication service method. /// /// The response from the GetApplication service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for GetApplication Operation GetApplicationResponse GetApplication(GetApplicationRequest request); /// /// Initiates the asynchronous execution of the GetApplication operation. /// /// /// Container for the necessary parameters to execute the GetApplication operation on AmazonMigrationHubRefactorSpacesClient. /// 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 IAsyncResult BeginGetApplication(GetApplicationRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetApplication operation. /// /// /// The IAsyncResult returned by the call to BeginGetApplication. /// /// Returns a GetApplicationResult from MigrationHubRefactorSpaces. /// REST API Reference for GetApplication Operation GetApplicationResponse EndGetApplication(IAsyncResult asyncResult); #endregion #region GetEnvironment /// /// Gets an Amazon Web Services Migration Hub Refactor Spaces environment. /// /// Container for the necessary parameters to execute the GetEnvironment service method. /// /// The response from the GetEnvironment service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for GetEnvironment Operation GetEnvironmentResponse GetEnvironment(GetEnvironmentRequest request); /// /// Initiates the asynchronous execution of the GetEnvironment operation. /// /// /// Container for the necessary parameters to execute the GetEnvironment operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndGetEnvironment /// operation. /// REST API Reference for GetEnvironment Operation IAsyncResult BeginGetEnvironment(GetEnvironmentRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetEnvironment operation. /// /// /// The IAsyncResult returned by the call to BeginGetEnvironment. /// /// Returns a GetEnvironmentResult from MigrationHubRefactorSpaces. /// REST API Reference for GetEnvironment Operation GetEnvironmentResponse EndGetEnvironment(IAsyncResult asyncResult); #endregion #region GetResourcePolicy /// /// Gets the resource-based permission policy that is set for the given environment. /// /// Container for the necessary parameters to execute the GetResourcePolicy service method. /// /// The response from the GetResourcePolicy service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for GetResourcePolicy Operation GetResourcePolicyResponse GetResourcePolicy(GetResourcePolicyRequest request); /// /// Initiates the asynchronous execution of the GetResourcePolicy operation. /// /// /// Container for the necessary parameters to execute the GetResourcePolicy operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndGetResourcePolicy /// operation. /// REST API Reference for GetResourcePolicy Operation IAsyncResult BeginGetResourcePolicy(GetResourcePolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetResourcePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginGetResourcePolicy. /// /// Returns a GetResourcePolicyResult from MigrationHubRefactorSpaces. /// REST API Reference for GetResourcePolicy Operation GetResourcePolicyResponse EndGetResourcePolicy(IAsyncResult asyncResult); #endregion #region GetRoute /// /// Gets an Amazon Web Services Migration Hub Refactor Spaces route. /// /// Container for the necessary parameters to execute the GetRoute service method. /// /// The response from the GetRoute service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for GetRoute Operation GetRouteResponse GetRoute(GetRouteRequest request); /// /// Initiates the asynchronous execution of the GetRoute operation. /// /// /// Container for the necessary parameters to execute the GetRoute operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndGetRoute /// operation. /// REST API Reference for GetRoute Operation IAsyncResult BeginGetRoute(GetRouteRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetRoute operation. /// /// /// The IAsyncResult returned by the call to BeginGetRoute. /// /// Returns a GetRouteResult from MigrationHubRefactorSpaces. /// REST API Reference for GetRoute Operation GetRouteResponse EndGetRoute(IAsyncResult asyncResult); #endregion #region GetService /// /// Gets an Amazon Web Services Migration Hub Refactor Spaces service. /// /// Container for the necessary parameters to execute the GetService service method. /// /// The response from the GetService service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for GetService Operation GetServiceResponse GetService(GetServiceRequest request); /// /// Initiates the asynchronous execution of the GetService operation. /// /// /// Container for the necessary parameters to execute the GetService operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndGetService /// operation. /// REST API Reference for GetService Operation IAsyncResult BeginGetService(GetServiceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetService operation. /// /// /// The IAsyncResult returned by the call to BeginGetService. /// /// Returns a GetServiceResult from MigrationHubRefactorSpaces. /// REST API Reference for GetService Operation GetServiceResponse EndGetService(IAsyncResult asyncResult); #endregion #region ListApplications /// /// Lists all the Amazon Web Services Migration Hub Refactor Spaces applications within /// an environment. /// /// Container for the necessary parameters to execute the ListApplications service method. /// /// The response from the ListApplications service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// The request would cause a service quota to be exceeded. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for ListApplications Operation ListApplicationsResponse ListApplications(ListApplicationsRequest request); /// /// Initiates the asynchronous execution of the ListApplications operation. /// /// /// Container for the necessary parameters to execute the ListApplications operation on AmazonMigrationHubRefactorSpacesClient. /// 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 IAsyncResult BeginListApplications(ListApplicationsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListApplications operation. /// /// /// The IAsyncResult returned by the call to BeginListApplications. /// /// Returns a ListApplicationsResult from MigrationHubRefactorSpaces. /// REST API Reference for ListApplications Operation ListApplicationsResponse EndListApplications(IAsyncResult asyncResult); #endregion #region ListEnvironments /// /// Lists Amazon Web Services Migration Hub Refactor Spaces environments owned by a caller /// account or shared with the caller account. /// /// Container for the necessary parameters to execute the ListEnvironments service method. /// /// The response from the ListEnvironments service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for ListEnvironments Operation ListEnvironmentsResponse ListEnvironments(ListEnvironmentsRequest request); /// /// Initiates the asynchronous execution of the ListEnvironments operation. /// /// /// Container for the necessary parameters to execute the ListEnvironments operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndListEnvironments /// operation. /// REST API Reference for ListEnvironments Operation IAsyncResult BeginListEnvironments(ListEnvironmentsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListEnvironments operation. /// /// /// The IAsyncResult returned by the call to BeginListEnvironments. /// /// Returns a ListEnvironmentsResult from MigrationHubRefactorSpaces. /// REST API Reference for ListEnvironments Operation ListEnvironmentsResponse EndListEnvironments(IAsyncResult asyncResult); #endregion #region ListEnvironmentVpcs /// /// Lists all Amazon Web Services Migration Hub Refactor Spaces service virtual private /// clouds (VPCs) that are part of the environment. /// /// Container for the necessary parameters to execute the ListEnvironmentVpcs service method. /// /// The response from the ListEnvironmentVpcs service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for ListEnvironmentVpcs Operation ListEnvironmentVpcsResponse ListEnvironmentVpcs(ListEnvironmentVpcsRequest request); /// /// Initiates the asynchronous execution of the ListEnvironmentVpcs operation. /// /// /// Container for the necessary parameters to execute the ListEnvironmentVpcs operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndListEnvironmentVpcs /// operation. /// REST API Reference for ListEnvironmentVpcs Operation IAsyncResult BeginListEnvironmentVpcs(ListEnvironmentVpcsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListEnvironmentVpcs operation. /// /// /// The IAsyncResult returned by the call to BeginListEnvironmentVpcs. /// /// Returns a ListEnvironmentVpcsResult from MigrationHubRefactorSpaces. /// REST API Reference for ListEnvironmentVpcs Operation ListEnvironmentVpcsResponse EndListEnvironmentVpcs(IAsyncResult asyncResult); #endregion #region ListRoutes /// /// Lists all the Amazon Web Services Migration Hub Refactor Spaces routes within an application. /// /// Container for the necessary parameters to execute the ListRoutes service method. /// /// The response from the ListRoutes service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// The request would cause a service quota to be exceeded. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for ListRoutes Operation ListRoutesResponse ListRoutes(ListRoutesRequest request); /// /// Initiates the asynchronous execution of the ListRoutes operation. /// /// /// Container for the necessary parameters to execute the ListRoutes operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndListRoutes /// operation. /// REST API Reference for ListRoutes Operation IAsyncResult BeginListRoutes(ListRoutesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListRoutes operation. /// /// /// The IAsyncResult returned by the call to BeginListRoutes. /// /// Returns a ListRoutesResult from MigrationHubRefactorSpaces. /// REST API Reference for ListRoutes Operation ListRoutesResponse EndListRoutes(IAsyncResult asyncResult); #endregion #region ListServices /// /// Lists all the Amazon Web Services Migration Hub Refactor Spaces services within an /// application. /// /// Container for the necessary parameters to execute the ListServices service method. /// /// The response from the ListServices service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// The request would cause a service quota to be exceeded. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for ListServices Operation ListServicesResponse ListServices(ListServicesRequest request); /// /// Initiates the asynchronous execution of the ListServices operation. /// /// /// Container for the necessary parameters to execute the ListServices operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndListServices /// operation. /// REST API Reference for ListServices Operation IAsyncResult BeginListServices(ListServicesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListServices operation. /// /// /// The IAsyncResult returned by the call to BeginListServices. /// /// Returns a ListServicesResult from MigrationHubRefactorSpaces. /// REST API Reference for ListServices Operation ListServicesResponse EndListServices(IAsyncResult asyncResult); #endregion #region ListTagsForResource /// /// Lists the tags of a resource. The caller account must be the same as the resource’s /// OwnerAccountId. Listing tags in other accounts is not supported. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by MigrationHubRefactorSpaces. /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonMigrationHubRefactorSpacesClient. /// 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 IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from MigrationHubRefactorSpaces. /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult); #endregion #region PutResourcePolicy /// /// Attaches a resource-based permission policy to the Amazon Web Services Migration Hub /// Refactor Spaces environment. The policy must contain the same actions and condition /// statements as the arn:aws:ram::aws:permission/AWSRAMDefaultPermissionRefactorSpacesEnvironment /// permission in Resource Access Manager. The policy must not contain new lines or blank /// lines. /// /// Container for the necessary parameters to execute the PutResourcePolicy service method. /// /// The response from the PutResourcePolicy service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// An unexpected error occurred while processing the request. /// /// /// The resource policy is not valid. /// /// /// The request references a resource that does not exist. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for PutResourcePolicy Operation PutResourcePolicyResponse PutResourcePolicy(PutResourcePolicyRequest request); /// /// Initiates the asynchronous execution of the PutResourcePolicy operation. /// /// /// Container for the necessary parameters to execute the PutResourcePolicy operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndPutResourcePolicy /// operation. /// REST API Reference for PutResourcePolicy Operation IAsyncResult BeginPutResourcePolicy(PutResourcePolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutResourcePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginPutResourcePolicy. /// /// Returns a PutResourcePolicyResult from MigrationHubRefactorSpaces. /// REST API Reference for PutResourcePolicy Operation PutResourcePolicyResponse EndPutResourcePolicy(IAsyncResult asyncResult); #endregion #region TagResource /// /// Removes the tags of a given resource. Tags are metadata which can be used to manage /// a resource. To tag a resource, the caller account must be the same as the resource’s /// OwnerAccountId. Tagging resources in other accounts is not supported. /// /// /// /// Amazon Web Services Migration Hub Refactor Spaces does not propagate tags to orchestrated /// resources, such as an environment’s transit gateway. /// /// /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by MigrationHubRefactorSpaces. /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for TagResource Operation TagResourceResponse TagResource(TagResourceRequest request); /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonMigrationHubRefactorSpacesClient. /// 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 IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from MigrationHubRefactorSpaces. /// REST API Reference for TagResource Operation TagResourceResponse EndTagResource(IAsyncResult asyncResult); #endregion #region UntagResource /// /// Adds to or modifies the tags of the given resource. Tags are metadata which can be /// used to manage a resource. To untag a resource, the caller account must be the same /// as the resource’s OwnerAccountId. Untagging resources across accounts /// is not supported. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by MigrationHubRefactorSpaces. /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for UntagResource Operation UntagResourceResponse UntagResource(UntagResourceRequest request); /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonMigrationHubRefactorSpacesClient. /// 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 IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from MigrationHubRefactorSpaces. /// REST API Reference for UntagResource Operation UntagResourceResponse EndUntagResource(IAsyncResult asyncResult); #endregion #region UpdateRoute /// /// Updates an Amazon Web Services Migration Hub Refactor Spaces route. /// /// Container for the necessary parameters to execute the UpdateRoute service method. /// /// The response from the UpdateRoute service method, as returned by MigrationHubRefactorSpaces. /// /// The user does not have sufficient access to perform this action. /// /// /// An unexpected error occurred while processing the request. /// /// /// The request references a resource that does not exist. /// /// /// Request was denied because the request was throttled. /// /// /// The input does not satisfy the constraints specified by an Amazon Web Service. /// /// REST API Reference for UpdateRoute Operation UpdateRouteResponse UpdateRoute(UpdateRouteRequest request); /// /// Initiates the asynchronous execution of the UpdateRoute operation. /// /// /// Container for the necessary parameters to execute the UpdateRoute operation on AmazonMigrationHubRefactorSpacesClient. /// 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 EndUpdateRoute /// operation. /// REST API Reference for UpdateRoute Operation IAsyncResult BeginUpdateRoute(UpdateRouteRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateRoute operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateRoute. /// /// Returns a UpdateRouteResult from MigrationHubRefactorSpaces. /// REST API Reference for UpdateRoute Operation UpdateRouteResponse EndUpdateRoute(IAsyncResult asyncResult); #endregion } }