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

AttachStaticIp() public method

Attaches a static IP address to a specific Amazon Lightsail instance.
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid /// credentials to access a resource. /// /// Lightsail throws this exception when an account is still in the setup in progress /// state. /// /// Lightsail throws this exception when user input does not conform to the validation /// rules of an input field. /// /// Lightsail throws this exception when it cannot find a resource. /// /// Lightsail throws this exception when an operation fails to execute. /// /// A general service exception. /// /// Lightsail throws this exception when the user has not been authenticated. ///
public AttachStaticIp ( AttachStaticIpRequest request ) : AttachStaticIpResponse
request Amazon.Lightsail.Model.AttachStaticIpRequest Container for the necessary parameters to execute the AttachStaticIp service method.
return Amazon.Lightsail.Model.AttachStaticIpResponse
        public AttachStaticIpResponse AttachStaticIp(AttachStaticIpRequest request)
        {
            var marshaller = new AttachStaticIpRequestMarshaller();
            var unmarshaller = AttachStaticIpResponseUnmarshaller.Instance;

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