private Amazon.KinesisVideo.Model.TagStreamResponse CallAWSServiceOperation(IAmazonKinesisVideo client, Amazon.KinesisVideo.Model.TagStreamRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Kinesis Video Streams", "TagStream"); try { #if DESKTOP return(client.TagStream(request)); #elif CORECLR return(client.TagStreamAsync(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 ListSignalingChannelsPaginator(IAmazonKinesisVideo client, ListSignalingChannelsRequest request) { this._client = client; this._request = request; }
internal ListStreamsPaginator(IAmazonKinesisVideo client, ListStreamsRequest request) { this._client = client; this._request = request; }
internal KinesisVideoPaginatorFactory(IAmazonKinesisVideo client) { this.client = client; }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }