private Amazon.MigrationHubRefactorSpaces.Model.ListEnvironmentVpcsResponse CallAWSServiceOperation(IAmazonMigrationHubRefactorSpaces client, Amazon.MigrationHubRefactorSpaces.Model.ListEnvironmentVpcsRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Migration Hub Refactor Spaces", "ListEnvironmentVpcs"); try { #if DESKTOP return(client.ListEnvironmentVpcs(request)); #elif CORECLR return(client.ListEnvironmentVpcsAsync(request).GetAwaiter().GetResult()); #else #error "Unknown build edition" #endif } catch (AmazonServiceException exc) { var webException = exc.InnerException as System.Net.WebException; if (webException != null) { throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException); } throw; } }
internal ListEnvironmentVpcsPaginator(IAmazonMigrationHubRefactorSpaces client, ListEnvironmentVpcsRequest request) { this._client = client; this._request = request; }
internal ListServicesPaginator(IAmazonMigrationHubRefactorSpaces client, ListServicesRequest request) { this._client = client; this._request = request; }