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 4fd3ef6 commit 16434adCopy full SHA for 16434ad
swift/example_code/support/scenario/Sources/Scenario.swift
@@ -292,14 +292,20 @@ 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