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

CreateDomain() public method

Creates a domain resource for the specified domain (e.g., example.com).
/// 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 CreateDomain ( CreateDomainRequest request ) : CreateDomainResponse
request Amazon.Lightsail.Model.CreateDomainRequest Container for the necessary parameters to execute the CreateDomain service method.
return Amazon.Lightsail.Model.CreateDomainResponse
        public CreateDomainResponse CreateDomain(CreateDomainRequest request)
        {
            var marshaller = new CreateDomainRequestMarshaller();
            var unmarshaller = CreateDomainResponseUnmarshaller.Instance;

            return Invoke<CreateDomainRequest,CreateDomainResponse>(request, marshaller, unmarshaller);
        }
AmazonLightsailClient