/* * 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.Threading; using System.Threading.Tasks; 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 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateApplicationAsync(CreateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateEnvironmentAsync(CreateEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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: /// ///
  • /// /// URL Endpoints /// /// /// /// If the service has a URL endpoint, and the endpoint resolves to a private IP address, /// Refactor Spaces routes traffic using the API Gateway VPC link. If a service endpoint /// resolves to a public IP address, Refactor Spaces routes traffic over the public internet. /// Services can have HTTP or HTTPS URL endpoints. For HTTPS URLs, publicly-signed certificates /// are supported. Private Certificate Authorities (CAs) are permitted only if the CA's /// domain is also publicly resolvable. /// /// /// /// Refactor Spaces automatically resolves the public Domain Name System (DNS) names that /// are set in CreateService:UrlEndpoint when you create a service. The DNS /// names resolve when the DNS time-to-live (TTL) expires, or every 60 seconds for TTLs /// less than 60 seconds. This periodic DNS resolution ensures that the route configuration /// remains up-to-date. /// /// /// /// One-time health check /// /// /// /// A one-time health check is performed on the service when either the route is updated /// from inactive to active, or when it is created with an active state. If the health /// check fails, the route transitions the route state to FAILED, an error /// code of SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE is provided, and no traffic /// is sent to the service. /// /// /// /// For private URLs, a target group is created on the Network Load Balancer and the load /// balancer target group runs default target health checks. By default, the health check /// is run against the service endpoint URL. Optionally, the health check can be performed /// against a different protocol, port, and/or path using the CreateService:UrlEndpoint /// parameter. All other health check settings for the load balancer use the default values /// described in the Health /// checks for your target groups in the Elastic Load Balancing guide. The /// health check is considered successful if at least one target within the target group /// transitions to a healthy state. /// ///
  • /// /// Lambda function endpoints /// /// /// /// If the service has an Lambda function endpoint, then Refactor Spaces configures the /// Lambda function's resource policy to allow the application's API Gateway to invoke /// the function. /// /// /// /// The Lambda function state is checked. If the function is not active, the function /// configuration is updated so that Lambda resources are provisioned. If the Lambda state /// is Failed, then the route creation fails. For more information, see the /// GetFunctionConfiguration's /// State response parameter in the Lambda Developer Guide. /// /// /// /// A check is performed to determine that a Lambda function with the specified ARN exists. /// If it does not exist, the health check fails. For public URLs, a connection is opened /// to the public endpoint. If the URL is not reachable, the health check fails. /// ///
/// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateRouteAsync(CreateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateServiceAsync(CreateServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteApplicationAsync(DeleteApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteEnvironmentAsync(DeleteEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteResourcePolicy /// /// Deletes the resource policy set for the environment. /// /// Container for the necessary parameters to execute the DeleteResourcePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteResourcePolicyAsync(DeleteResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteRoute /// /// Deletes an Amazon Web Services Migration Hub Refactor Spaces route. /// /// Container for the necessary parameters to execute the DeleteRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteRouteAsync(DeleteRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteService /// /// Deletes an Amazon Web Services Migration Hub Refactor Spaces service. /// /// Container for the necessary parameters to execute the DeleteService service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteServiceAsync(DeleteServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetApplication /// /// Gets an Amazon Web Services Migration Hub Refactor Spaces application. /// /// Container for the necessary parameters to execute the GetApplication service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetApplicationAsync(GetApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetEnvironment /// /// Gets an Amazon Web Services Migration Hub Refactor Spaces environment. /// /// Container for the necessary parameters to execute the GetEnvironment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetEnvironmentAsync(GetEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetResourcePolicyAsync(GetResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetRoute /// /// Gets an Amazon Web Services Migration Hub Refactor Spaces route. /// /// Container for the necessary parameters to execute the GetRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetRouteAsync(GetRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetService /// /// Gets an Amazon Web Services Migration Hub Refactor Spaces service. /// /// Container for the necessary parameters to execute the GetService service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetServiceAsync(GetServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListApplicationsAsync(ListApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListEnvironmentsAsync(ListEnvironmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListEnvironmentVpcsAsync(ListEnvironmentVpcsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListRoutesAsync(ListRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListServicesAsync(ListServicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task PutResourcePolicyAsync(PutResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateRoute /// /// Updates an Amazon Web Services Migration Hub Refactor Spaces route. /// /// Container for the necessary parameters to execute the UpdateRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateRouteAsync(UpdateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }