private Amazon.Inspector2.Model.DisableResponse CallAWSServiceOperation(IAmazonInspector2 client, Amazon.Inspector2.Model.DisableRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Inspector2", "Disable"); try { #if DESKTOP return(client.Disable(request)); #elif CORECLR return(client.DisableAsync(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 ListCoveragePaginator(IAmazonInspector2 client, ListCoverageRequest request) { this._client = client; this._request = request; }
internal ListUsageTotalsPaginator(IAmazonInspector2 client, ListUsageTotalsRequest request) { this._client = client; this._request = request; }
internal ListFindingAggregationsPaginator(IAmazonInspector2 client, ListFindingAggregationsRequest request) { this._client = client; this._request = request; }
internal Inspector2PaginatorFactory(IAmazonInspector2 client) { this.client = client; }
internal ListMembersPaginator(IAmazonInspector2 client, ListMembersRequest request) { this._client = client; this._request = request; }
internal ListAccountPermissionsPaginator(IAmazonInspector2 client, ListAccountPermissionsRequest request) { this._client = client; this._request = request; }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }
internal ListDelegatedAdminAccountsPaginator(IAmazonInspector2 client, ListDelegatedAdminAccountsRequest request) { this._client = client; this._request = request; }