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

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

Returns information about a specific 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 GetKeyPair ( GetKeyPairRequest request ) : GetKeyPairResponse
request Amazon.Lightsail.Model.GetKeyPairRequest Container for the necessary parameters to execute the GetKeyPair service method.
Результат Amazon.Lightsail.Model.GetKeyPairResponse
        public GetKeyPairResponse GetKeyPair(GetKeyPairRequest request)
        {
            var marshaller = new GetKeyPairRequestMarshaller();
            var unmarshaller = GetKeyPairResponseUnmarshaller.Instance;

            return Invoke<GetKeyPairRequest,GetKeyPairResponse>(request, marshaller, unmarshaller);
        }
AmazonLightsailClient