private Amazon.Kafka.Model.UpdateSecurityResponse CallAWSServiceOperation(IAmazonKafka client, Amazon.Kafka.Model.UpdateSecurityRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Managed Streaming for Apache Kafka (MSK)", "UpdateSecurity"); try { #if DESKTOP return(client.UpdateSecurity(request)); #elif CORECLR return(client.UpdateSecurityAsync(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 ListScramSecretsPaginator(IAmazonKafka client, ListScramSecretsRequest request) { this._client = client; this._request = request; }
internal KafkaPaginatorFactory(IAmazonKafka client) { this.client = client; }
internal ListKafkaVersionsPaginator(IAmazonKafka client, ListKafkaVersionsRequest request) { this._client = client; this._request = request; }
internal ListConfigurationsPaginator(IAmazonKafka client, ListConfigurationsRequest request) { this._client = client; this._request = request; }
internal ListClustersPaginator(IAmazonKafka client, ListClustersRequest request) { this._client = client; this._request = request; }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }