We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3b3eb9 commit 9f78e30Copy full SHA for 9f78e30
swift/example_code/support/scenario/Sources/Scenario.swift
@@ -292,20 +292,15 @@ class Scenario {
292
/// - Returns: An array of services.
293
func getServices() async -> [SupportClientTypes.Service] {
294
do {
295
- print("Calling describeServices...")
296
let output = try await supportClient.describeServices(
297
input: DescribeServicesInput()
298
)
299
300
- print("Back from describeServices.")
301
-
302
guard let services = output.services else {
303
print("No service list returned.")
304
return []
305
}
306
307
- print("Found \(services.count) services.")
308
309
return services
310
} catch let error as AWSServiceError {
311
// SubscriptionRequiredException isn't a modeled error, so we
0 commit comments