internal GetIntentsPaginator(IAmazonLexModelBuildingService client, GetIntentsRequest request) { this._client = client; this._request = request; }
private Amazon.LexModelBuildingService.Model.PutIntentResponse CallAWSServiceOperation(IAmazonLexModelBuildingService client, Amazon.LexModelBuildingService.Model.PutIntentRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Lex Model Building Service", "PutIntent"); try { #if DESKTOP return(client.PutIntent(request)); #elif CORECLR return(client.PutIntentAsync(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 GetBuiltinSlotTypesPaginator(IAmazonLexModelBuildingService client, GetBuiltinSlotTypesRequest request) { this._client = client; this._request = request; }
internal LexModelBuildingServicePaginatorFactory(IAmazonLexModelBuildingService client) { this.client = client; }
internal GetBotChannelAssociationsPaginator(IAmazonLexModelBuildingService client, GetBotChannelAssociationsRequest request) { this._client = client; this._request = request; }
public BaseLexBotDependencyProvider() { _lexBuildingClient = new AmazonLexModelBuildingServiceClient(); }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }