Amazon.Lightsail.AmazonLightsailClient.AttachStaticIpAsync C# (CSharp) Method

AttachStaticIpAsync() public method

Initiates the asynchronous execution of the AttachStaticIp operation.
public AttachStaticIpAsync ( AttachStaticIpRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Lightsail.Model.AttachStaticIpRequest Container for the necessary parameters to execute the AttachStaticIp operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<AttachStaticIpResponse> AttachStaticIpAsync(AttachStaticIpRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new AttachStaticIpRequestMarshaller();
            var unmarshaller = AttachStaticIpResponseUnmarshaller.Instance;

            return InvokeAsync<AttachStaticIpRequest,AttachStaticIpResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonLightsailClient