ModifyFleetRequest
public struct ModifyFleetRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Declaration
Swift
public let dryRun: Bool?
-
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
Declaration
Swift
public let excessCapacityTerminationPolicy: FleetExcessCapacityTerminationPolicy?
-
The ID of the EC2 Fleet.
Declaration
Swift
public let fleetId: String
-
The launch template and overrides.
Declaration
Swift
public let launchTemplateConfigs: [FleetLaunchTemplateConfigRequest]?
-
The size of the EC2 Fleet.
Declaration
Swift
public let targetCapacitySpecification: TargetCapacitySpecificationRequest
-
init(dryRun:excessCapacityTerminationPolicy:fleetId:launchTemplateConfigs:targetCapacitySpecification:)
Undocumented
Declaration
Swift
public init(dryRun: Bool? = nil, excessCapacityTerminationPolicy: FleetExcessCapacityTerminationPolicy? = nil, fleetId: String, launchTemplateConfigs: [FleetLaunchTemplateConfigRequest]? = nil, targetCapacitySpecification: TargetCapacitySpecificationRequest)
-
Declaration
Swift
public func validate(name: String) throws