You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/BreezeDynamoDBService/BreezeDynamoDBConfig.swift
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,9 @@
14
14
15
15
import SotoCore
16
16
17
-
/// BreezeDynamoDBConfig is a configuration structure for Breeze DynamoDB service.
18
-
/// It contains the necessary parameters to connect to a DynamoDB instance, including the region, table name, key name, and an optional endpoint.
17
+
/// Configuration structure for Breeze DynamoDB service.
18
+
///
19
+
/// BreezeDynamoDBConfig contains the necessary parameters to connect to a DynamoDB instance, including the region, table name, key name, and an optional endpoint.
19
20
publicstructBreezeDynamoDBConfig:Sendable{
20
21
21
22
/// Initializes a new instance of BreezeDynamoDBConfig.
@@ -82,20 +83,27 @@ public actor BreezeDynamoDBService: BreezeDynamoDBServing {
82
83
}
83
84
84
85
/// Gracefully shutdown the service and its components.
86
+
///
85
87
/// - Throws: An error if the shutdown process fails.
86
88
/// This method ensures that the AWS client and HTTP client are properly shutdown before marking the service as shutdown.
87
89
/// It also logs the shutdown process.
88
90
/// This method is idempotent;
89
91
/// - Important: This method must be called at leat once to ensure that resources are released properly. If the method is not called, it will lead to a crash.
0 commit comments