private Amazon.IoTWireless.Model.TagResourceResponse CallAWSServiceOperation(IAmazonIoTWireless client, Amazon.IoTWireless.Model.TagResourceRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS IoT Wireless", "TagResource");
     try
     {
         #if DESKTOP
         return(client.TagResource(request));
         #elif CORECLR
         return(client.TagResourceAsync(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;
     }
 }
Ejemplo n.º 2
0
 internal IoTWirelessPaginatorFactory(IAmazonIoTWireless client)
 {
     this.client = client;
 }
 internal ListWirelessGatewaysPaginator(IAmazonIoTWireless client, ListWirelessGatewaysRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 4
0
 internal ListFuotaTasksPaginator(IAmazonIoTWireless client, ListFuotaTasksRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 5
0
 internal ListMulticastGroupsPaginator(IAmazonIoTWireless client, ListMulticastGroupsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 6
0
 internal ListDeviceProfilesPaginator(IAmazonIoTWireless client, ListDeviceProfilesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 7
0
 internal ListQueuedMessagesPaginator(IAmazonIoTWireless client, ListQueuedMessagesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 8
0
 internal ListDestinationsPaginator(IAmazonIoTWireless client, ListDestinationsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Ejemplo n.º 9
0
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }