private Amazon.Kendra.Model.GetSnapshotsResponse CallAWSServiceOperation(IAmazonKendra client, Amazon.Kendra.Model.GetSnapshotsRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Kendra", "GetSnapshots"); try { #if DESKTOP return(client.GetSnapshots(request)); #elif CORECLR return(client.GetSnapshotsAsync(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 ListEntityPersonasPaginator(IAmazonKendra client, ListEntityPersonasRequest request) { this._client = client; this._request = request; }
internal ListDataSourcesPaginator(IAmazonKendra client, ListDataSourcesRequest request) { this._client = client; this._request = request; }
internal KendraPaginatorFactory(IAmazonKendra client) { this.client = client; }
internal GetSnapshotsPaginator(IAmazonKendra client, GetSnapshotsRequest request) { this._client = client; this._request = request; }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }
internal ListExperienceEntitiesPaginator(IAmazonKendra client, ListExperienceEntitiesRequest request) { this._client = client; this._request = request; }