/// <summary> /// <para> Returns a list of notification actions associated with Auto Scaling groups for specified events. </para> /// </summary> /// /// <param name="describeNotificationConfigurationsRequest">Container for the necessary parameters to execute the /// DescribeNotificationConfigurations service method on AmazonAutoScaling.</param> /// /// <returns>The response from the DescribeNotificationConfigurations service method, as returned by AmazonAutoScaling.</returns> /// /// <exception cref="InvalidNextTokenException"/> public DescribeNotificationConfigurationsResponse DescribeNotificationConfigurations(DescribeNotificationConfigurationsRequest describeNotificationConfigurationsRequest) { IRequest <DescribeNotificationConfigurationsRequest> request = new DescribeNotificationConfigurationsRequestMarshaller().Marshall(describeNotificationConfigurationsRequest); DescribeNotificationConfigurationsResponse response = Invoke <DescribeNotificationConfigurationsRequest, DescribeNotificationConfigurationsResponse> (request, this.signer, DescribeNotificationConfigurationsResponseUnmarshaller.GetInstance()); return(response); }
public void DescribeNotificationConfigurationsMarshallTest() { var operation = service_model.FindOperation("DescribeNotificationConfigurations"); var request = InstantiateClassGenerator.Execute <DescribeNotificationConfigurationsRequest>(); var marshaller = new DescribeNotificationConfigurationsRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); var response = DescribeNotificationConfigurationsResponseUnmarshaller.Instance.Unmarshall(context) as DescribeNotificationConfigurationsResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }
/// <summary> /// Initiates the asynchronous execution of the DescribeNotificationConfigurations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeNotificationConfigurations operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> public Task<DescribeNotificationConfigurationsResponse> DescribeNotificationConfigurationsAsync(DescribeNotificationConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DescribeNotificationConfigurationsRequestMarshaller(); var unmarshaller = DescribeNotificationConfigurationsResponseUnmarshaller.Instance; return InvokeAsync<DescribeNotificationConfigurationsRequest,DescribeNotificationConfigurationsResponse>(request, marshaller, unmarshaller, cancellationToken); }
internal DescribeNotificationConfigurationsResponse DescribeNotificationConfigurations(DescribeNotificationConfigurationsRequest request) { var marshaller = new DescribeNotificationConfigurationsRequestMarshaller(); var unmarshaller = DescribeNotificationConfigurationsResponseUnmarshaller.Instance; return Invoke<DescribeNotificationConfigurationsRequest,DescribeNotificationConfigurationsResponse>(request, marshaller, unmarshaller); }
IAsyncResult invokeDescribeNotificationConfigurations(DescribeNotificationConfigurationsRequest describeNotificationConfigurationsRequest, AsyncCallback callback, object state, bool synchronized) { IRequest irequest = new DescribeNotificationConfigurationsRequestMarshaller().Marshall(describeNotificationConfigurationsRequest); var unmarshaller = DescribeNotificationConfigurationsResponseUnmarshaller.GetInstance(); AsyncResult result = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller); Invoke(result); return result; }
/// <summary> /// Initiates the asynchronous execution of the DescribeNotificationConfigurations operation. /// <seealso cref="Amazon.AutoScaling.IAmazonAutoScaling.DescribeNotificationConfigurations"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeNotificationConfigurations operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> public Task<DescribeNotificationConfigurationsResponse> DescribeNotificationConfigurationsAsync(DescribeNotificationConfigurationsRequest request, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DescribeNotificationConfigurationsRequestMarshaller(); var unmarshaller = DescribeNotificationConfigurationsResponseUnmarshaller.GetInstance(); return Invoke<IRequest, DescribeNotificationConfigurationsRequest, DescribeNotificationConfigurationsResponse>(request, marshaller, unmarshaller, signer, cancellationToken); }
/// <summary> /// Initiates the asynchronous execution of the DescribeNotificationConfigurations operation. /// <seealso cref="Amazon.AutoScaling.IAmazonAutoScaling"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeNotificationConfigurations operation on AmazonAutoScalingClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeNotificationConfigurations /// operation.</returns> public IAsyncResult BeginDescribeNotificationConfigurations(DescribeNotificationConfigurationsRequest request, AsyncCallback callback, object state) { var marshaller = new DescribeNotificationConfigurationsRequestMarshaller(); var unmarshaller = DescribeNotificationConfigurationsResponseUnmarshaller.Instance; return BeginInvoke<DescribeNotificationConfigurationsRequest>(request, marshaller, unmarshaller, callback, state); }
public void DescribeNotificationConfigurationsMarshallTest() { var operation = service_model.FindOperation("DescribeNotificationConfigurations"); var request = InstantiateClassGenerator.Execute<DescribeNotificationConfigurationsRequest>(); var marshaller = new DescribeNotificationConfigurationsRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); var response = DescribeNotificationConfigurationsResponseUnmarshaller.Instance.Unmarshall(context) as DescribeNotificationConfigurationsResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }
/// <summary> /// <para> Returns a list of notification actions associated with Auto Scaling groups for specified events. </para> /// </summary> /// /// <param name="describeNotificationConfigurationsRequest">Container for the necessary parameters to execute the /// DescribeNotificationConfigurations service method on AmazonAutoScaling.</param> /// /// <returns>The response from the DescribeNotificationConfigurations service method, as returned by AmazonAutoScaling.</returns> /// /// <exception cref="InvalidNextTokenException"/> public DescribeNotificationConfigurationsResponse DescribeNotificationConfigurations(DescribeNotificationConfigurationsRequest describeNotificationConfigurationsRequest) { IRequest<DescribeNotificationConfigurationsRequest> request = new DescribeNotificationConfigurationsRequestMarshaller().Marshall(describeNotificationConfigurationsRequest); DescribeNotificationConfigurationsResponse response = Invoke<DescribeNotificationConfigurationsRequest, DescribeNotificationConfigurationsResponse> (request, this.signer, DescribeNotificationConfigurationsResponseUnmarshaller.GetInstance()); return response; }
/// <summary> /// Initiates the asynchronous execution of the DescribeNotificationConfigurations operation. /// <seealso cref="Amazon.AutoScaling.IAmazonAutoScaling.DescribeNotificationConfigurations"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeNotificationConfigurations operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> public async Task<DescribeNotificationConfigurationsResponse> DescribeNotificationConfigurationsAsync(DescribeNotificationConfigurationsRequest request, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DescribeNotificationConfigurationsRequestMarshaller(); var unmarshaller = DescribeNotificationConfigurationsResponseUnmarshaller.GetInstance(); var response = await Invoke<IRequest, DescribeNotificationConfigurationsRequest, DescribeNotificationConfigurationsResponse>(request, marshaller, unmarshaller, signer, cancellationToken) .ConfigureAwait(continueOnCapturedContext: false); return response; }