private Amazon.IVS.Model.UpdateChannelResponse CallAWSServiceOperation(IAmazonIVS client, Amazon.IVS.Model.UpdateChannelRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Interactive Video Service", "UpdateChannel"); try { #if DESKTOP return(client.UpdateChannel(request)); #elif CORECLR return(client.UpdateChannelAsync(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 IVSPaginatorFactory(IAmazonIVS client) { this.client = client; }
internal ListStreamsPaginator(IAmazonIVS client, ListStreamsRequest request) { this._client = client; this._request = request; }
internal ListChannelsPaginator(IAmazonIVS client, ListChannelsRequest request) { this._client = client; this._request = request; }
internal ListPlaybackKeyPairsPaginator(IAmazonIVS client, ListPlaybackKeyPairsRequest request) { this._client = client; this._request = request; }
internal ListTagsForResourcePaginator(IAmazonIVS client, ListTagsForResourceRequest request) { this._client = client; this._request = request; }
internal ListRecordingConfigurationsPaginator(IAmazonIVS client, ListRecordingConfigurationsRequest request) { this._client = client; this._request = request; }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }