Amazon.Lightsail.AmazonLightsailClient.CreateKeyPair C# (CSharp) Метод

CreateKeyPair() публичный Метод

Creates sn SSH key pair.
/// 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 CreateKeyPair ( CreateKeyPairRequest request ) : CreateKeyPairResponse
request Amazon.Lightsail.Model.CreateKeyPairRequest Container for the necessary parameters to execute the CreateKeyPair service method.
Результат Amazon.Lightsail.Model.CreateKeyPairResponse
        public CreateKeyPairResponse CreateKeyPair(CreateKeyPairRequest request)
        {
            var marshaller = new CreateKeyPairRequestMarshaller();
            var unmarshaller = CreateKeyPairResponseUnmarshaller.Instance;

            return Invoke<CreateKeyPairRequest,CreateKeyPairResponse>(request, marshaller, unmarshaller);
        }
AmazonLightsailClient