Skip to content

Commit 85065b7

Browse files
authored
chore: Release 0.9.0 (#827)
1 parent f786f18 commit 85065b7

File tree

393 files changed

+42538
-26735
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

393 files changed

+42538
-26735
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: |
4343
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
4444
chmod a+x builder.pyz
45-
AWS_CRT_SWIFT_CI_DIR="${{ env.AWS_CRT_SWIFT_CI_DIR }}" AWS_SDK_SWIFT_CI_DIR="${{ env.AWS_SDK_SWIFT_CI_DIR }}" SMITHY_SWIFT_CI_DIR="${{ env.SMITHY_SWIFT_CI_DIR }}" ./builder.pyz build -p ${{ env.PACKAGE_NAME }} --target=ios-armv8
45+
AWS_CRT_SWIFT_CI_DIR="${{ env.AWS_CRT_SWIFT_CI_DIR }}" AWS_SDK_SWIFT_CI_DIR="${{ env.AWS_SDK_SWIFT_CI_DIR }}" SMITHY_SWIFT_CI_DIR="${{ env.SMITHY_SWIFT_CI_DIR }}" AWS_SWIFT_SDK_USE_LOCAL_DEPS=1 ./builder.pyz build -p ${{ env.PACKAGE_NAME }} --target=ios-armv8
4646
macos-compat:
4747
runs-on: macos-11
4848
env:
@@ -65,7 +65,7 @@ jobs:
6565
run: |
6666
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
6767
chmod a+x builder.pyz
68-
AWS_CRT_SWIFT_CI_DIR="${{ env.AWS_CRT_SWIFT_CI_DIR }}" AWS_SDK_SWIFT_CI_DIR="${{ env.AWS_SDK_SWIFT_CI_DIR }}" SMITHY_SWIFT_CI_DIR="${{ env.SMITHY_SWIFT_CI_DIR }}" ./builder.pyz build -p ${{ env.PACKAGE_NAME }}
68+
AWS_CRT_SWIFT_CI_DIR="${{ env.AWS_CRT_SWIFT_CI_DIR }}" AWS_SDK_SWIFT_CI_DIR="${{ env.AWS_SDK_SWIFT_CI_DIR }}" SMITHY_SWIFT_CI_DIR="${{ env.SMITHY_SWIFT_CI_DIR }}" AWS_SWIFT_SDK_USE_LOCAL_DEPS=1 ./builder.pyz build -p ${{ env.PACKAGE_NAME }}
6969
linux-compat:
7070
runs-on: ubuntu-latest
7171
strategy:
@@ -92,5 +92,6 @@ jobs:
9292
--env AWS_CRT_SWIFT_CI_DIR="/root/${{ env.PACKAGE_NAME }}/target/build/deps/aws-crt-swift" \
9393
--env AWS_SDK_SWIFT_CI_DIR="/root/${{ env.PACKAGE_NAME }}" \
9494
--env SMITHY_SWIFT_CI_DIR="/root/${{ env.PACKAGE_NAME }}/target/build/deps/smithy-swift" \
95+
--env AWS_SWIFT_SDK_USE_LOCAL_DEPS=1 \
9596
--env AWS_ACCESS_KEY_ID --env AWS_SECRET_ACCESS_KEY --env AWS_DEFAULT_REGION --env CXXFLAGS \
9697
$DOCKER_IMAGE build -p ${{ env.PACKAGE_NAME }} --build-dir=/root/${{ env.PACKAGE_NAME }} --spec=downstream

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ jobs:
5151
./gradlew -p codegen/sdk-codegen stageSdks
5252
./gradlew --stop
5353
./scripts/mergeModels.sh Sources/Services
54-
- name: Generate Package.swift
54+
- name: Generate SDK and Swift package manifest
55+
run: |
5556
./scripts/generatePackageSwift.swift > Package.swift
5657
cat Package.swift
5758
swift build --build-tests
@@ -62,4 +63,4 @@ jobs:
6263
author_name: AWS CI
6364
author_email: [email protected]
6465
message: 'aws-sdk-swift release build artifacts'
65-
add: 'release Package.swift'
66+
add: '["Sources/Services/*", "Tests/Services/*", "Package.swift"]'

Package.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ let package = Package(
6767
.library(name: "AWSChimeSDKMeetings", targets: ["AWSChimeSDKMeetings"]),
6868
.library(name: "AWSChimeSDKMessaging", targets: ["AWSChimeSDKMessaging"]),
6969
.library(name: "AWSChimeSDKVoice", targets: ["AWSChimeSDKVoice"]),
70+
.library(name: "AWSCleanRooms", targets: ["AWSCleanRooms"]),
7071
.library(name: "AWSCloud9", targets: ["AWSCloud9"]),
7172
.library(name: "AWSCloudControl", targets: ["AWSCloudControl"]),
7273
.library(name: "AWSCloudDirectory", targets: ["AWSCloudDirectory"]),
@@ -194,6 +195,7 @@ let package = Package(
194195
.library(name: "AWSKafka", targets: ["AWSKafka"]),
195196
.library(name: "AWSKafkaConnect", targets: ["AWSKafkaConnect"]),
196197
.library(name: "AWSKendra", targets: ["AWSKendra"]),
198+
.library(name: "AWSKendraRanking", targets: ["AWSKendraRanking"]),
197199
.library(name: "AWSKeyspaces", targets: ["AWSKeyspaces"]),
198200
.library(name: "AWSKinesis", targets: ["AWSKinesis"]),
199201
.library(name: "AWSKinesisAnalytics", targets: ["AWSKinesisAnalytics"]),
@@ -414,6 +416,7 @@ let package = Package(
414416
.target(name: "AWSChimeSDKMeetings", dependencies: [clientRuntime, "AWSClientRuntime"], path: "./Sources/Services/AWSChimeSDKMeetings"),
415417
.target(name: "AWSChimeSDKMessaging", dependencies: [clientRuntime, "AWSClientRuntime"], path: "./Sources/Services/AWSChimeSDKMessaging"),
416418
.target(name: "AWSChimeSDKVoice", dependencies: [clientRuntime, "AWSClientRuntime"], path: "./Sources/Services/AWSChimeSDKVoice"),
419+
.target(name: "AWSCleanRooms", dependencies: [clientRuntime, "AWSClientRuntime"], path: "./Sources/Services/AWSCleanRooms"),
417420
.target(name: "AWSCloud9", dependencies: [clientRuntime, "AWSClientRuntime"], path: "./Sources/Services/AWSCloud9"),
418421
.target(name: "AWSCloudControl", dependencies: [clientRuntime, "AWSClientRuntime"], path: "./Sources/Services/AWSCloudControl"),
419422
.target(name: "AWSCloudDirectory", dependencies: [clientRuntime, "AWSClientRuntime"], path: "./Sources/Services/AWSCloudDirectory"),
@@ -541,6 +544,7 @@ let package = Package(
541544
.target(name: "AWSKafka", dependencies: [clientRuntime, "AWSClientRuntime"], path: "./Sources/Services/AWSKafka"),
542545
.target(name: "AWSKafkaConnect", dependencies: [clientRuntime, "AWSClientRuntime"], path: "./Sources/Services/AWSKafkaConnect"),
543546
.target(name: "AWSKendra", dependencies: [clientRuntime, "AWSClientRuntime"], path: "./Sources/Services/AWSKendra"),
547+
.target(name: "AWSKendraRanking", dependencies: [clientRuntime, "AWSClientRuntime"], path: "./Sources/Services/AWSKendraRanking"),
544548
.target(name: "AWSKeyspaces", dependencies: [clientRuntime, "AWSClientRuntime"], path: "./Sources/Services/AWSKeyspaces"),
545549
.target(name: "AWSKinesis", dependencies: [clientRuntime, "AWSClientRuntime"], path: "./Sources/Services/AWSKinesis"),
546550
.target(name: "AWSKinesisAnalytics", dependencies: [clientRuntime, "AWSClientRuntime"], path: "./Sources/Services/AWSKinesisAnalytics"),
@@ -752,6 +756,7 @@ let package = Package(
752756
// .testTarget(name: "AWSChimeSDKMeetingsTests", dependencies: [awsCommonRuntimeKit, clientRuntime, "AWSClientRuntime", "AWSChimeSDKMeetings", smithyTestUtil], path: "./Tests/Services/AWSChimeSDKMeetingsTests"),
753757
// .testTarget(name: "AWSChimeSDKMessagingTests", dependencies: [awsCommonRuntimeKit, clientRuntime, "AWSClientRuntime", "AWSChimeSDKMessaging", smithyTestUtil], path: "./Tests/Services/AWSChimeSDKMessagingTests"),
754758
// .testTarget(name: "AWSChimeSDKVoiceTests", dependencies: [awsCommonRuntimeKit, clientRuntime, "AWSClientRuntime", "AWSChimeSDKVoice", smithyTestUtil], path: "./Tests/Services/AWSChimeSDKVoiceTests"),
759+
// .testTarget(name: "AWSCleanRoomsTests", dependencies: [awsCommonRuntimeKit, clientRuntime, "AWSClientRuntime", "AWSCleanRooms", smithyTestUtil], path: "./Tests/Services/AWSCleanRoomsTests"),
755760
// .testTarget(name: "AWSCloud9Tests", dependencies: [awsCommonRuntimeKit, clientRuntime, "AWSClientRuntime", "AWSCloud9", smithyTestUtil], path: "./Tests/Services/AWSCloud9Tests"),
756761
// .testTarget(name: "AWSCloudControlTests", dependencies: [awsCommonRuntimeKit, clientRuntime, "AWSClientRuntime", "AWSCloudControl", smithyTestUtil], path: "./Tests/Services/AWSCloudControlTests"),
757762
// .testTarget(name: "AWSCloudDirectoryTests", dependencies: [awsCommonRuntimeKit, clientRuntime, "AWSClientRuntime", "AWSCloudDirectory", smithyTestUtil], path: "./Tests/Services/AWSCloudDirectoryTests"),
@@ -879,6 +884,7 @@ let package = Package(
879884
// .testTarget(name: "AWSKafkaTests", dependencies: [awsCommonRuntimeKit, clientRuntime, "AWSClientRuntime", "AWSKafka", smithyTestUtil], path: "./Tests/Services/AWSKafkaTests"),
880885
// .testTarget(name: "AWSKafkaConnectTests", dependencies: [awsCommonRuntimeKit, clientRuntime, "AWSClientRuntime", "AWSKafkaConnect", smithyTestUtil], path: "./Tests/Services/AWSKafkaConnectTests"),
881886
// .testTarget(name: "AWSKendraTests", dependencies: [awsCommonRuntimeKit, clientRuntime, "AWSClientRuntime", "AWSKendra", smithyTestUtil], path: "./Tests/Services/AWSKendraTests"),
887+
// .testTarget(name: "AWSKendraRankingTests", dependencies: [awsCommonRuntimeKit, clientRuntime, "AWSClientRuntime", "AWSKendraRanking", smithyTestUtil], path: "./Tests/Services/AWSKendraRankingTests"),
882888
// .testTarget(name: "AWSKeyspacesTests", dependencies: [awsCommonRuntimeKit, clientRuntime, "AWSClientRuntime", "AWSKeyspaces", smithyTestUtil], path: "./Tests/Services/AWSKeyspacesTests"),
883889
// .testTarget(name: "AWSKinesisTests", dependencies: [awsCommonRuntimeKit, clientRuntime, "AWSClientRuntime", "AWSKinesis", smithyTestUtil], path: "./Tests/Services/AWSKinesisTests"),
884890
// .testTarget(name: "AWSKinesisAnalyticsTests", dependencies: [awsCommonRuntimeKit, clientRuntime, "AWSClientRuntime", "AWSKinesisAnalytics", smithyTestUtil], path: "./Tests/Services/AWSKinesisAnalyticsTests"),
@@ -1064,6 +1070,6 @@ case (false, true):
10641070
]
10651071
case (false, false):
10661072
package.dependencies += [
1067-
.package(url: "https://github.com/awslabs/smithy-swift", .exact("0.10.1"))
1073+
.package(url: "https://github.com/awslabs/smithy-swift", .exact("0.10.2"))
10681074
]
10691075
}

Sources/Services/AWSACM/Paginators.swift

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22

33
import ClientRuntime
44

5-
6-
/// Paginate over `[ListCertificatesOutputResponse]` results.
7-
///
8-
/// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service
9-
/// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid
10-
/// until then. If there are errors in your request, you will see the failures only after you start iterating.
11-
/// - Parameters:
12-
/// - input: A `[ListCertificatesInput]` to start pagination
13-
/// - Returns: An `AsyncSequence` that can iterate over `ListCertificatesOutputResponse`
145
extension ACMClient {
6+
/// Paginate over `[ListCertificatesOutputResponse]` results.
7+
///
8+
/// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service
9+
/// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid
10+
/// until then. If there are errors in your request, you will see the failures only after you start iterating.
11+
/// - Parameters:
12+
/// - input: A `[ListCertificatesInput]` to start pagination
13+
/// - Returns: An `AsyncSequence` that can iterate over `ListCertificatesOutputResponse`
1514
public func listCertificatesPaginated(input: ListCertificatesInput) -> ClientRuntime.PaginatorSequence<ListCertificatesInput, ListCertificatesOutputResponse> {
1615
return ClientRuntime.PaginatorSequence<ListCertificatesInput, ListCertificatesOutputResponse>(input: input, inputKey: \ListCertificatesInput.nextToken, outputKey: \ListCertificatesOutputResponse.nextToken, paginationFunction: self.listCertificates(input:))
1716
}
@@ -29,10 +28,10 @@ extension ListCertificatesInput: ClientRuntime.PaginateToken {
2928
)}
3029
}
3130

32-
/// This paginator transforms the `AsyncSequence` returned by `listCertificatesPaginated`
33-
/// to access the nested member `[ACMClientTypes.CertificateSummary]`
34-
/// - Returns: `[ACMClientTypes.CertificateSummary]`
3531
extension PaginatorSequence where Input == ListCertificatesInput, Output == ListCertificatesOutputResponse {
32+
/// This paginator transforms the `AsyncSequence` returned by `listCertificatesPaginated`
33+
/// to access the nested member `[ACMClientTypes.CertificateSummary]`
34+
/// - Returns: `[ACMClientTypes.CertificateSummary]`
3635
public func certificateSummaryList() async throws -> [ACMClientTypes.CertificateSummary] {
3736
return try await self.asyncCompactMap { item in item.certificateSummaryList }
3837
}

0 commit comments

Comments
 (0)