File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
core/sdk-core/src/main/java/software/amazon/awssdk/core/interceptor
services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/functionaltests Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -192,14 +192,16 @@ public interface FailedExecution {
192
192
SdkRequest request ();
193
193
194
194
/**
195
- * The latest version of the {@link SdkHttpFullRequest} available when the execution failed. If the execution failed
196
- * before or during request marshalling, this will return {@link Optional#empty()}.
195
+ * The latest version of the {@link SdkHttpRequest} available when the execution failed. This may be a
196
+ * {@link SdkHttpFullRequest}; if so, it can be accessed by casting the returned {@link SdkHttpRequest}.
197
+ * If the execution failed before or during request marshalling, this will return {@link Optional#empty()}.
197
198
*/
198
199
Optional <SdkHttpRequest > httpRequest ();
199
200
200
201
/**
201
- * The latest version of the {@link SdkHttpFullResponse} available when the execution failed. If the execution failed
202
- * before or during transmission, this will return {@link Optional#empty()}.
202
+ * The latest version of the {@link SdkHttpResponse} available when the execution failed. This may be a
203
+ * {@link SdkHttpFullResponse}; if so, it can be accessed by casting the returned {@link SdkHttpResponse}.
204
+ * If the execution failed before or during transmission, this will return {@link Optional#empty()}.
203
205
*/
204
206
Optional <SdkHttpResponse > httpResponse ();
205
207
Original file line number Diff line number Diff line change @@ -108,15 +108,15 @@ public static void assertValidUuid(String uuid) {
108
108
109
109
private final DynamoDbEnhancedClient enhancedClient =
110
110
DynamoDbEnhancedClient .builder ()
111
- .dynamoDbClient (DynamoDbClient . create ())
111
+ .dynamoDbClient (getDynamoDbClient ())
112
112
.extensions (AutoGeneratedUuidExtension .create ())
113
113
.build ();
114
114
private final String concreteTableName ;
115
115
116
116
@ Rule
117
117
public ExpectedException thrown = ExpectedException .none ();
118
118
{
119
- concreteTableName = "table-name" ;
119
+ concreteTableName = getConcreteTableName ( "table-name" ) ;
120
120
mappedTable = enhancedClient .table (concreteTableName , TABLE_SCHEMA );
121
121
}
122
122
You can’t perform that action at this time.
0 commit comments