StopInstanceRequest
public struct StopInstanceRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
When set to True, forces a Lightsail instance that is stuck in a stopping state to stop. Only use the force parameter if your instance is stuck in the stopping state. In any other state, your instance should stop normally without adding this parameter to your API request.
Declaration
Swift
public let force: Bool?
-
The name of the instance (a virtual private server) to stop.
Declaration
Swift
public let instanceName: String
-
Undocumented
Declaration
Swift
public init(force: Bool? = nil, instanceName: String)
-
Declaration
Swift
public func validate(name: String) throws