Skip to content

Commit

Permalink
Wrap concurrency code in canImport(_Concurrency) (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler authored Sep 23, 2021
1 parent 655918e commit 017a05d
Show file tree
Hide file tree
Showing 554 changed files with 1,107 additions and 1,107 deletions.
4 changes: 2 additions & 2 deletions CodeGenerator/mustache/api+async.mustache
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{%CONTENT_TYPE:TEXT}}
{{>header}}

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -39,4 +39,4 @@ extension {{ name }} {
{{/first(streamingOperations)}}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
4 changes: 2 additions & 2 deletions CodeGenerator/mustache/paginator+async.mustache
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{%CONTENT_TYPE:TEXT}}
{{>header}}

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -47,4 +47,4 @@ extension {{name}} {
{{/paginators}}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
4 changes: 2 additions & 2 deletions CodeGenerator/mustache/waiter+async.mustache
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{%CONTENT_TYPE:TEXT}}
{{>header}}

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -55,4 +55,4 @@ extension {{name}} {
{{/waiters}}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
4 changes: 2 additions & 2 deletions Sources/Soto/Extensions/DynamoDB/DynamoDB+Codable+async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -181,4 +181,4 @@ extension DynamoDB {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
4 changes: 2 additions & 2 deletions Sources/Soto/Services/ACM/ACM_API+async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -98,4 +98,4 @@ extension ACM {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
4 changes: 2 additions & 2 deletions Sources/Soto/Services/ACM/ACM_Paginator+async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -45,4 +45,4 @@ extension ACM {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
4 changes: 2 additions & 2 deletions Sources/Soto/Services/ACM/ACM_Waiter+async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -42,4 +42,4 @@ extension ACM {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
4 changes: 2 additions & 2 deletions Sources/Soto/Services/ACMPCA/ACMPCA_API+async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -138,4 +138,4 @@ extension ACMPCA {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
4 changes: 2 additions & 2 deletions Sources/Soto/Services/ACMPCA/ACMPCA_Paginator+async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -89,4 +89,4 @@ extension ACMPCA {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
4 changes: 2 additions & 2 deletions Sources/Soto/Services/ACMPCA/ACMPCA_Waiter+async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -74,4 +74,4 @@ extension ACMPCA {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
4 changes: 2 additions & 2 deletions Sources/Soto/Services/APIGateway/APIGateway_API+async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -610,4 +610,4 @@ extension APIGateway {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -287,4 +287,4 @@ extension APIGateway {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -163,4 +163,4 @@ extension AccessAnalyzer {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -199,4 +199,4 @@ extension AccessAnalyzer {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -488,4 +488,4 @@ extension AlexaForBusiness {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -419,4 +419,4 @@ extension AlexaForBusiness {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
4 changes: 2 additions & 2 deletions Sources/Soto/Services/Amplify/Amplify_API+async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -208,4 +208,4 @@ extension Amplify {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -148,4 +148,4 @@ extension AmplifyBackend {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -45,4 +45,4 @@ extension AmplifyBackend {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand All @@ -38,4 +38,4 @@ extension ApiGatewayManagementApi {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -383,4 +383,4 @@ extension ApiGatewayV2 {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
4 changes: 2 additions & 2 deletions Sources/Soto/Services/AppConfig/AppConfig_API+async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -188,4 +188,4 @@ extension AppConfig {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -155,4 +155,4 @@ extension AppConfig {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -68,4 +68,4 @@ extension AppIntegrationsService {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
4 changes: 2 additions & 2 deletions Sources/Soto/Services/AppMesh/AppMesh_API+async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -213,4 +213,4 @@ extension AppMesh {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
4 changes: 2 additions & 2 deletions Sources/Soto/Services/AppMesh/AppMesh_Paginator+async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto/tree/main/CodeGenerator. DO NOT EDIT.

#if compiler(>=5.5)
#if compiler(>=5.5) && canImport(_Concurrency)

import SotoCore

Expand Down Expand Up @@ -199,4 +199,4 @@ extension AppMesh {
}
}

#endif // compiler(>=5.5)
#endif // compiler(>=5.5) && canImport(_Concurrency)
Loading

0 comments on commit 017a05d

Please sign in to comment.