import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { CreateApplicationCommand , CreateApplicationCommandInput , CreateApplicationCommandOutput , } from "./commands/CreateApplicationCommand" ; import { CreateEnvironmentCommand , CreateEnvironmentCommandInput , CreateEnvironmentCommandOutput , } from "./commands/CreateEnvironmentCommand" ; import { CreateRouteCommand , CreateRouteCommandInput , CreateRouteCommandOutput } from "./commands/CreateRouteCommand" ; import { CreateServiceCommand , CreateServiceCommandInput , CreateServiceCommandOutput , } from "./commands/CreateServiceCommand" ; import { DeleteApplicationCommand , DeleteApplicationCommandInput , DeleteApplicationCommandOutput , } from "./commands/DeleteApplicationCommand" ; import { DeleteEnvironmentCommand , DeleteEnvironmentCommandInput , DeleteEnvironmentCommandOutput , } from "./commands/DeleteEnvironmentCommand" ; import { DeleteResourcePolicyCommand , DeleteResourcePolicyCommandInput , DeleteResourcePolicyCommandOutput , } from "./commands/DeleteResourcePolicyCommand" ; import { DeleteRouteCommand , DeleteRouteCommandInput , DeleteRouteCommandOutput } from "./commands/DeleteRouteCommand" ; import { DeleteServiceCommand , DeleteServiceCommandInput , DeleteServiceCommandOutput , } from "./commands/DeleteServiceCommand" ; import { GetApplicationCommand , GetApplicationCommandInput , GetApplicationCommandOutput , } from "./commands/GetApplicationCommand" ; import { GetEnvironmentCommand , GetEnvironmentCommandInput , GetEnvironmentCommandOutput , } from "./commands/GetEnvironmentCommand" ; import { GetResourcePolicyCommand , GetResourcePolicyCommandInput , GetResourcePolicyCommandOutput , } from "./commands/GetResourcePolicyCommand" ; import { GetRouteCommand , GetRouteCommandInput , GetRouteCommandOutput } from "./commands/GetRouteCommand" ; import { GetServiceCommand , GetServiceCommandInput , GetServiceCommandOutput } from "./commands/GetServiceCommand" ; import { ListApplicationsCommand , ListApplicationsCommandInput , ListApplicationsCommandOutput , } from "./commands/ListApplicationsCommand" ; import { ListEnvironmentsCommand , ListEnvironmentsCommandInput , ListEnvironmentsCommandOutput , } from "./commands/ListEnvironmentsCommand" ; import { ListEnvironmentVpcsCommand , ListEnvironmentVpcsCommandInput , ListEnvironmentVpcsCommandOutput , } from "./commands/ListEnvironmentVpcsCommand" ; import { ListRoutesCommand , ListRoutesCommandInput , ListRoutesCommandOutput } from "./commands/ListRoutesCommand" ; import { ListServicesCommand , ListServicesCommandInput , ListServicesCommandOutput , } from "./commands/ListServicesCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { PutResourcePolicyCommand , PutResourcePolicyCommandInput , PutResourcePolicyCommandOutput , } from "./commands/PutResourcePolicyCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { MigrationHubRefactorSpacesClient } from "./MigrationHubRefactorSpacesClient" ; /**
 * <fullname>Amazon Web Services Migration Hub Refactor Spaces</fullname>
 *
 *          <p>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 <a href="http://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p>
 */ export class MigrationHubRefactorSpaces extends MigrationHubRefactorSpacesClient { /**
     * <p>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 the Amazon API Gateway and Network Load Balancer for
     *       the application proxy inside your account.</p>
     */ public createApplication ( args , options ? ) ; public createApplication ( args , cb ) ; public createApplication ( args , options , cb ) ; public createApplication ( args , optionsOrCb ? , cb ? ) { const command = new CreateApplicationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and they
     *       are referred to as the <i>environment owner</i>. 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, Refactor Spaces
     *       provisions a transit gateway in your account.</p>
     */ public createEnvironment ( args , options ? ) ; public createEnvironment ( args , cb ) ; public createEnvironment ( args , options , cb ) ; public createEnvironment ( args , optionsOrCb ? , cb ? ) { const command = new CreateEnvironmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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 <code>DEFAULT</code>
     *             <code>RouteType</code>.</p>
     *          <p>When you create a route, Refactor Spaces configures the Amazon API Gateway to send traffic
     *       to the target service as follows:</p>
     *          <ul>
     *             <li>
     *                <p>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. </p>
     *             </li>
     *             <li>
     *                <p>If the service has a URL endpoint, and the endpoint resolves to a public IP address,
     *           Refactor Spaces routes traffic over the public internet.</p>
     *             </li>
     *             <li>
     *                <p>If the service has an Lambda function endpoint, then Refactor Spaces uses
     *           the API Gateway
     *           Lambda integration.</p>
     *             </li>
     *          </ul>
     *          <p>A health check is performed on the service when the route is created. If the health check
     *       fails, the route transitions to <code>FAILED</code>, and no traffic is sent to the service.</p>
     *          <p>For Lambda functions, 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 <code>Failed</code>, then the
     *       route creation fails. For more information, see the <a href="https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunctionConfiguration.html#SSS-GetFunctionConfiguration-response-State">GetFunctionConfiguration's State response parameter</a> in the <i>Lambda Developer Guide</i>.</p>
     *          <p>For public URLs, a connection is opened to the public endpoint. If the URL is not reachable,
     *       the health check fails. For private URLs, a target group is created and the target group
     *       health check is run.</p>
     *          <p>The <code>HealthCheckProtocol</code>, <code>HealthCheckPort</code>, and
     *         <code>HealthCheckPath</code> are the same protocol, port, and path specified in the URL or
     *       health URL, if used. All other settings use the default values, as described in <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html">Health checks
     *         for your target groups</a>. The health check is considered successful if at least one
     *       target within the target group transitions to a healthy state.</p>
     */ public createRoute ( args , options ? ) ; public createRoute ( args , cb ) ; public createRoute ( args , options , cb ) ; public createRoute ( args , optionsOrCb ? , cb ? ) { const command = new CreateRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     *          <important>
     *             <p>If an Amazon Web Services resourceis 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
     *           <code>RefactorSpacesSecurityGroup</code> to the resource. Alternatively, to add more
     *         cross-account constraints, apply your own security group.</p>
     *          </important>
     */ public createService ( args , options ? ) ; public createService ( args , cb ) ; public createService ( args , options , cb ) ; public createService ( args , optionsOrCb ? , cb ? ) { const command = new CreateServiceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public deleteApplication ( args , options ? ) ; public deleteApplication ( args , cb ) ; public deleteApplication ( args , options , cb ) ; public deleteApplication ( args , optionsOrCb ? , cb ? ) { const command = new DeleteApplicationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public deleteEnvironment ( args , options ? ) ; public deleteEnvironment ( args , cb ) ; public deleteEnvironment ( args , options , cb ) ; public deleteEnvironment ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEnvironmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the resource policy set for the environment. </p>
     */ public deleteResourcePolicy ( args , options ? ) ; public deleteResourcePolicy ( args , cb ) ; public deleteResourcePolicy ( args , options , cb ) ; public deleteResourcePolicy ( args , optionsOrCb ? , cb ? ) { const command = new DeleteResourcePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an Amazon Web Services Migration Hub Refactor Spaces route.</p>
     */ public deleteRoute ( args , options ? ) ; public deleteRoute ( args , cb ) ; public deleteRoute ( args , options , cb ) ; public deleteRoute ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an Amazon Web Services Migration Hub Refactor Spaces service. </p>
     */ public deleteService ( args , options ? ) ; public deleteService ( args , cb ) ; public deleteService ( args , options , cb ) ; public deleteService ( args , optionsOrCb ? , cb ? ) { const command = new DeleteServiceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets an Amazon Web Services Migration Hub Refactor Spaces application.</p>
     */ public getApplication ( args , options ? ) ; public getApplication ( args , cb ) ; public getApplication ( args , options , cb ) ; public getApplication ( args , optionsOrCb ? , cb ? ) { const command = new GetApplicationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets an Amazon Web Services Migration Hub Refactor Spaces environment.</p>
     */ public getEnvironment ( args , options ? ) ; public getEnvironment ( args , cb ) ; public getEnvironment ( args , options , cb ) ; public getEnvironment ( args , optionsOrCb ? , cb ? ) { const command = new GetEnvironmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the resource-based permission policy that is set for the given environment. </p>
     */ public getResourcePolicy ( args , options ? ) ; public getResourcePolicy ( args , cb ) ; public getResourcePolicy ( args , options , cb ) ; public getResourcePolicy ( args , optionsOrCb ? , cb ? ) { const command = new GetResourcePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets an Amazon Web Services Migration Hub Refactor Spaces route.</p>
     */ public getRoute ( args , options ? ) ; public getRoute ( args , cb ) ; public getRoute ( args , options , cb ) ; public getRoute ( args , optionsOrCb ? , cb ? ) { const command = new GetRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets an Amazon Web Services Migration Hub Refactor Spaces service. </p>
     */ public getService ( args , options ? ) ; public getService ( args , cb ) ; public getService ( args , options , cb ) ; public getService ( args , optionsOrCb ? , cb ? ) { const command = new GetServiceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all the Amazon Web Services Migration Hub Refactor Spaces applications within an environment. </p>
     */ public listApplications ( args , options ? ) ; public listApplications ( args , cb ) ; public listApplications ( args , options , cb ) ; public listApplications ( args , optionsOrCb ? , cb ? ) { const command = new ListApplicationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists Amazon Web Services Migration Hub Refactor Spaces environments owned by a caller account or shared with the caller
     *       account. </p>
     */ public listEnvironments ( args , options ? ) ; public listEnvironments ( args , cb ) ; public listEnvironments ( args , options , cb ) ; public listEnvironments ( args , optionsOrCb ? , cb ? ) { const command = new ListEnvironmentsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all the virtual private clouds (VPCs) that are part of an Amazon Web Services Migration Hub Refactor Spaces environment. </p>
     */ public listEnvironmentVpcs ( args , options ? ) ; public listEnvironmentVpcs ( args , cb ) ; public listEnvironmentVpcs ( args , options , cb ) ; public listEnvironmentVpcs ( args , optionsOrCb ? , cb ? ) { const command = new ListEnvironmentVpcsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all the Amazon Web Services Migration Hub Refactor Spaces routes within an application. </p>
     */ public listRoutes ( args , options ? ) ; public listRoutes ( args , cb ) ; public listRoutes ( args , options , cb ) ; public listRoutes ( args , optionsOrCb ? , cb ? ) { const command = new ListRoutesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all the Amazon Web Services Migration Hub Refactor Spaces services within an application. </p>
     */ public listServices ( args , options ? ) ; public listServices ( args , cb ) ; public listServices ( args , options , cb ) ; public listServices ( args , optionsOrCb ? , cb ? ) { const command = new ListServicesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the tags of a resource. The caller account must be the same as the resource’s
     *         <code>OwnerAccountId</code>. Listing tags in other accounts is not supported. </p>
     */ public listTagsForResource ( args , options ? ) ; public listTagsForResource ( args , cb ) ; public listTagsForResource ( args , options , cb ) ; public listTagsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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
     *         <code>arn:aws:ram::aws:permission/AWSRAMDefaultPermissionRefactorSpacesEnvironment</code>
     *       permission in Resource Access Manager. The policy must not contain new lines or blank lines. </p>
     */ public putResourcePolicy ( args , options ? ) ; public putResourcePolicy ( args , cb ) ; public putResourcePolicy ( args , options , cb ) ; public putResourcePolicy ( args , optionsOrCb ? , cb ? ) { const command = new PutResourcePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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
     *         <code>OwnerAccountId</code>. Tagging resources in other accounts is not supported.</p>
     *          <note>
     *             <p>Amazon Web Services Migration Hub Refactor Spaces does not propagate tags to orchestrated resources, such as an
     *         environment’s transit gateway.</p>
     *          </note>
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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
     *         <code>OwnerAccountId</code>. Untagging resources across accounts is not supported. </p>
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }