@aws-sdk/client-sagemaker-geospatial 3.509.0 → 3.513.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ module.exports = require("../index.js");
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveHttpAuthSchemeConfig = exports.defaultSageMakerGeospatialHttpAuthSchemeProvider = exports.defaultSageMakerGeospatialHttpAuthSchemeParametersProvider = void 0;
4
+ const core_1 = require("@aws-sdk/core");
5
+ const util_middleware_1 = require("@smithy/util-middleware");
6
+ const defaultSageMakerGeospatialHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
+ return {
8
+ operation: (0, util_middleware_1.getSmithyContext)(context).operation,
9
+ region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
10
+ (() => {
11
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
12
+ })(),
13
+ };
14
+ };
15
+ exports.defaultSageMakerGeospatialHttpAuthSchemeParametersProvider = defaultSageMakerGeospatialHttpAuthSchemeParametersProvider;
16
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
17
+ return {
18
+ schemeId: "aws.auth#sigv4",
19
+ signingProperties: {
20
+ name: "sagemaker-geospatial",
21
+ region: authParameters.region,
22
+ },
23
+ propertiesExtractor: (config, context) => ({
24
+ signingProperties: {
25
+ config,
26
+ context,
27
+ },
28
+ }),
29
+ };
30
+ }
31
+ const defaultSageMakerGeospatialHttpAuthSchemeProvider = (authParameters) => {
32
+ const options = [];
33
+ switch (authParameters.operation) {
34
+ default: {
35
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
36
+ }
37
+ }
38
+ return options;
39
+ };
40
+ exports.defaultSageMakerGeospatialHttpAuthSchemeProvider = defaultSageMakerGeospatialHttpAuthSchemeProvider;
41
+ const resolveHttpAuthSchemeConfig = (config) => {
42
+ const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
+ return {
44
+ ...config_0,
45
+ };
46
+ };
47
+ exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
package/dist-cjs/index.js CHANGED
@@ -117,13 +117,14 @@ module.exports = __toCommonJS(src_exports);
117
117
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
118
118
  var import_middleware_logger = require("@aws-sdk/middleware-logger");
119
119
  var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
120
- var import_middleware_signing = require("@aws-sdk/middleware-signing");
121
120
  var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
122
121
  var import_config_resolver = require("@smithy/config-resolver");
122
+ var import_core = require("@smithy/core");
123
123
  var import_middleware_content_length = require("@smithy/middleware-content-length");
124
124
  var import_middleware_endpoint = require("@smithy/middleware-endpoint");
125
125
  var import_middleware_retry = require("@smithy/middleware-retry");
126
126
 
127
+ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
127
128
 
128
129
  // src/endpoint/EndpointParameters.ts
129
130
  var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
@@ -148,19 +149,62 @@ var import_runtimeConfig = require("././runtimeConfig");
148
149
  var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
149
150
  var import_protocol_http = require("@smithy/protocol-http");
150
151
  var import_smithy_client = require("@smithy/smithy-client");
152
+
153
+ // src/auth/httpAuthExtensionConfiguration.ts
154
+ var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
155
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
156
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
157
+ let _credentials = runtimeConfig.credentials;
158
+ return {
159
+ setHttpAuthScheme(httpAuthScheme) {
160
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
161
+ if (index === -1) {
162
+ _httpAuthSchemes.push(httpAuthScheme);
163
+ } else {
164
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
165
+ }
166
+ },
167
+ httpAuthSchemes() {
168
+ return _httpAuthSchemes;
169
+ },
170
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
171
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
172
+ },
173
+ httpAuthSchemeProvider() {
174
+ return _httpAuthSchemeProvider;
175
+ },
176
+ setCredentials(credentials) {
177
+ _credentials = credentials;
178
+ },
179
+ credentials() {
180
+ return _credentials;
181
+ }
182
+ };
183
+ }, "getHttpAuthExtensionConfiguration");
184
+ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
185
+ return {
186
+ httpAuthSchemes: config.httpAuthSchemes(),
187
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
188
+ credentials: config.credentials()
189
+ };
190
+ }, "resolveHttpAuthRuntimeConfig");
191
+
192
+ // src/runtimeExtensions.ts
151
193
  var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
152
194
  var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
153
195
  const extensionConfiguration = {
154
196
  ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
155
197
  ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
156
- ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
198
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
199
+ ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
157
200
  };
158
201
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
159
202
  return {
160
203
  ...runtimeConfig,
161
204
  ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
162
205
  ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
163
- ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
206
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
207
+ ...resolveHttpAuthRuntimeConfig(extensionConfiguration)
164
208
  };
165
209
  }, "resolveRuntimeExtensions");
166
210
 
@@ -173,8 +217,8 @@ var _SageMakerGeospatialClient = class _SageMakerGeospatialClient extends import
173
217
  const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
174
218
  const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
175
219
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
176
- const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
177
- const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
220
+ const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
221
+ const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
178
222
  const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
179
223
  super(_config_8);
180
224
  this.config = _config_8;
@@ -183,8 +227,14 @@ var _SageMakerGeospatialClient = class _SageMakerGeospatialClient extends import
183
227
  this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
184
228
  this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
185
229
  this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
186
- this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
187
230
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
231
+ this.middlewareStack.use(
232
+ (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
233
+ httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
234
+ identityProviderConfigProvider: this.getIdentityProviderConfigProvider()
235
+ })
236
+ );
237
+ this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
188
238
  }
189
239
  /**
190
240
  * Destroy underlying resources, like sockets. It's usually not necessary to do this.
@@ -194,6 +244,14 @@ var _SageMakerGeospatialClient = class _SageMakerGeospatialClient extends import
194
244
  destroy() {
195
245
  super.destroy();
196
246
  }
247
+ getDefaultHttpAuthSchemeParametersProvider() {
248
+ return import_httpAuthSchemeProvider.defaultSageMakerGeospatialHttpAuthSchemeParametersProvider;
249
+ }
250
+ getIdentityProviderConfigProvider() {
251
+ return async (config) => new import_core.DefaultIdentityProviderConfig({
252
+ "aws.auth#sigv4": config.credentials
253
+ });
254
+ }
197
255
  };
198
256
  __name(_SageMakerGeospatialClient, "SageMakerGeospatialClient");
199
257
  var SageMakerGeospatialClient = _SageMakerGeospatialClient;
@@ -208,8 +266,8 @@ var import_middleware_serde = require("@smithy/middleware-serde");
208
266
  var import_types = require("@smithy/types");
209
267
 
210
268
  // src/protocols/Aws_restJson1.ts
211
- var import_core = require("@aws-sdk/core");
212
- var import_core2 = require("@smithy/core");
269
+ var import_core2 = require("@aws-sdk/core");
270
+
213
271
 
214
272
  var import_uuid = require("uuid");
215
273
 
@@ -938,7 +996,7 @@ var SearchRasterDataCollectionOutputFilterSensitiveLog = /* @__PURE__ */ __name(
938
996
 
939
997
  // src/protocols/Aws_restJson1.ts
940
998
  var se_DeleteEarthObservationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
941
- const b = (0, import_core2.requestBuilder)(input, context);
999
+ const b = (0, import_core.requestBuilder)(input, context);
942
1000
  const headers = {};
943
1001
  b.bp("/earth-observation-jobs/{Arn}");
944
1002
  b.p("Arn", () => input.Arn, "{Arn}", false);
@@ -947,7 +1005,7 @@ var se_DeleteEarthObservationJobCommand = /* @__PURE__ */ __name(async (input, c
947
1005
  return b.build();
948
1006
  }, "se_DeleteEarthObservationJobCommand");
949
1007
  var se_DeleteVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (input, context) => {
950
- const b = (0, import_core2.requestBuilder)(input, context);
1008
+ const b = (0, import_core.requestBuilder)(input, context);
951
1009
  const headers = {};
952
1010
  b.bp("/vector-enrichment-jobs/{Arn}");
953
1011
  b.p("Arn", () => input.Arn, "{Arn}", false);
@@ -956,7 +1014,7 @@ var se_DeleteVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (input, c
956
1014
  return b.build();
957
1015
  }, "se_DeleteVectorEnrichmentJobCommand");
958
1016
  var se_ExportEarthObservationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
959
- const b = (0, import_core2.requestBuilder)(input, context);
1017
+ const b = (0, import_core.requestBuilder)(input, context);
960
1018
  const headers = {
961
1019
  "content-type": "application/json"
962
1020
  };
@@ -975,7 +1033,7 @@ var se_ExportEarthObservationJobCommand = /* @__PURE__ */ __name(async (input, c
975
1033
  return b.build();
976
1034
  }, "se_ExportEarthObservationJobCommand");
977
1035
  var se_ExportVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (input, context) => {
978
- const b = (0, import_core2.requestBuilder)(input, context);
1036
+ const b = (0, import_core.requestBuilder)(input, context);
979
1037
  const headers = {
980
1038
  "content-type": "application/json"
981
1039
  };
@@ -993,7 +1051,7 @@ var se_ExportVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (input, c
993
1051
  return b.build();
994
1052
  }, "se_ExportVectorEnrichmentJobCommand");
995
1053
  var se_GetEarthObservationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
996
- const b = (0, import_core2.requestBuilder)(input, context);
1054
+ const b = (0, import_core.requestBuilder)(input, context);
997
1055
  const headers = {};
998
1056
  b.bp("/earth-observation-jobs/{Arn}");
999
1057
  b.p("Arn", () => input.Arn, "{Arn}", false);
@@ -1002,7 +1060,7 @@ var se_GetEarthObservationJobCommand = /* @__PURE__ */ __name(async (input, cont
1002
1060
  return b.build();
1003
1061
  }, "se_GetEarthObservationJobCommand");
1004
1062
  var se_GetRasterDataCollectionCommand = /* @__PURE__ */ __name(async (input, context) => {
1005
- const b = (0, import_core2.requestBuilder)(input, context);
1063
+ const b = (0, import_core.requestBuilder)(input, context);
1006
1064
  const headers = {};
1007
1065
  b.bp("/raster-data-collection/{Arn}");
1008
1066
  b.p("Arn", () => input.Arn, "{Arn}", false);
@@ -1011,7 +1069,7 @@ var se_GetRasterDataCollectionCommand = /* @__PURE__ */ __name(async (input, con
1011
1069
  return b.build();
1012
1070
  }, "se_GetRasterDataCollectionCommand");
1013
1071
  var se_GetTileCommand = /* @__PURE__ */ __name(async (input, context) => {
1014
- const b = (0, import_core2.requestBuilder)(input, context);
1072
+ const b = (0, import_core.requestBuilder)(input, context);
1015
1073
  const headers = {};
1016
1074
  b.bp("/tile/{z}/{x}/{y}");
1017
1075
  b.p("x", () => input.x.toString(), "{x}", false);
@@ -1036,7 +1094,7 @@ var se_GetTileCommand = /* @__PURE__ */ __name(async (input, context) => {
1036
1094
  return b.build();
1037
1095
  }, "se_GetTileCommand");
1038
1096
  var se_GetVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1039
- const b = (0, import_core2.requestBuilder)(input, context);
1097
+ const b = (0, import_core.requestBuilder)(input, context);
1040
1098
  const headers = {};
1041
1099
  b.bp("/vector-enrichment-jobs/{Arn}");
1042
1100
  b.p("Arn", () => input.Arn, "{Arn}", false);
@@ -1045,7 +1103,7 @@ var se_GetVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (input, cont
1045
1103
  return b.build();
1046
1104
  }, "se_GetVectorEnrichmentJobCommand");
1047
1105
  var se_ListEarthObservationJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
1048
- const b = (0, import_core2.requestBuilder)(input, context);
1106
+ const b = (0, import_core.requestBuilder)(input, context);
1049
1107
  const headers = {
1050
1108
  "content-type": "application/json"
1051
1109
  };
@@ -1064,7 +1122,7 @@ var se_ListEarthObservationJobsCommand = /* @__PURE__ */ __name(async (input, co
1064
1122
  return b.build();
1065
1123
  }, "se_ListEarthObservationJobsCommand");
1066
1124
  var se_ListRasterDataCollectionsCommand = /* @__PURE__ */ __name(async (input, context) => {
1067
- const b = (0, import_core2.requestBuilder)(input, context);
1125
+ const b = (0, import_core.requestBuilder)(input, context);
1068
1126
  const headers = {};
1069
1127
  b.bp("/raster-data-collections");
1070
1128
  const query = (0, import_smithy_client.map)({
@@ -1076,7 +1134,7 @@ var se_ListRasterDataCollectionsCommand = /* @__PURE__ */ __name(async (input, c
1076
1134
  return b.build();
1077
1135
  }, "se_ListRasterDataCollectionsCommand");
1078
1136
  var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1079
- const b = (0, import_core2.requestBuilder)(input, context);
1137
+ const b = (0, import_core.requestBuilder)(input, context);
1080
1138
  const headers = {};
1081
1139
  b.bp("/tags/{ResourceArn}");
1082
1140
  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
@@ -1085,7 +1143,7 @@ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context
1085
1143
  return b.build();
1086
1144
  }, "se_ListTagsForResourceCommand");
1087
1145
  var se_ListVectorEnrichmentJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
1088
- const b = (0, import_core2.requestBuilder)(input, context);
1146
+ const b = (0, import_core.requestBuilder)(input, context);
1089
1147
  const headers = {
1090
1148
  "content-type": "application/json"
1091
1149
  };
@@ -1104,7 +1162,7 @@ var se_ListVectorEnrichmentJobsCommand = /* @__PURE__ */ __name(async (input, co
1104
1162
  return b.build();
1105
1163
  }, "se_ListVectorEnrichmentJobsCommand");
1106
1164
  var se_SearchRasterDataCollectionCommand = /* @__PURE__ */ __name(async (input, context) => {
1107
- const b = (0, import_core2.requestBuilder)(input, context);
1165
+ const b = (0, import_core.requestBuilder)(input, context);
1108
1166
  const headers = {
1109
1167
  "content-type": "application/json"
1110
1168
  };
@@ -1121,7 +1179,7 @@ var se_SearchRasterDataCollectionCommand = /* @__PURE__ */ __name(async (input,
1121
1179
  return b.build();
1122
1180
  }, "se_SearchRasterDataCollectionCommand");
1123
1181
  var se_StartEarthObservationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1124
- const b = (0, import_core2.requestBuilder)(input, context);
1182
+ const b = (0, import_core.requestBuilder)(input, context);
1125
1183
  const headers = {
1126
1184
  "content-type": "application/json"
1127
1185
  };
@@ -1142,7 +1200,7 @@ var se_StartEarthObservationJobCommand = /* @__PURE__ */ __name(async (input, co
1142
1200
  return b.build();
1143
1201
  }, "se_StartEarthObservationJobCommand");
1144
1202
  var se_StartVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1145
- const b = (0, import_core2.requestBuilder)(input, context);
1203
+ const b = (0, import_core.requestBuilder)(input, context);
1146
1204
  const headers = {
1147
1205
  "content-type": "application/json"
1148
1206
  };
@@ -1163,7 +1221,7 @@ var se_StartVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (input, co
1163
1221
  return b.build();
1164
1222
  }, "se_StartVectorEnrichmentJobCommand");
1165
1223
  var se_StopEarthObservationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1166
- const b = (0, import_core2.requestBuilder)(input, context);
1224
+ const b = (0, import_core.requestBuilder)(input, context);
1167
1225
  const headers = {
1168
1226
  "content-type": "application/json"
1169
1227
  };
@@ -1178,7 +1236,7 @@ var se_StopEarthObservationJobCommand = /* @__PURE__ */ __name(async (input, con
1178
1236
  return b.build();
1179
1237
  }, "se_StopEarthObservationJobCommand");
1180
1238
  var se_StopVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1181
- const b = (0, import_core2.requestBuilder)(input, context);
1239
+ const b = (0, import_core.requestBuilder)(input, context);
1182
1240
  const headers = {
1183
1241
  "content-type": "application/json"
1184
1242
  };
@@ -1193,7 +1251,7 @@ var se_StopVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (input, con
1193
1251
  return b.build();
1194
1252
  }, "se_StopVectorEnrichmentJobCommand");
1195
1253
  var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1196
- const b = (0, import_core2.requestBuilder)(input, context);
1254
+ const b = (0, import_core.requestBuilder)(input, context);
1197
1255
  const headers = {
1198
1256
  "content-type": "application/json"
1199
1257
  };
@@ -1209,7 +1267,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1209
1267
  return b.build();
1210
1268
  }, "se_TagResourceCommand");
1211
1269
  var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1212
- const b = (0, import_core2.requestBuilder)(input, context);
1270
+ const b = (0, import_core.requestBuilder)(input, context);
1213
1271
  const headers = {};
1214
1272
  b.bp("/tags/{ResourceArn}");
1215
1273
  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
@@ -1297,7 +1355,7 @@ var de_GetEarthObservationJobCommand = /* @__PURE__ */ __name(async (output, con
1297
1355
  ExportErrorDetails: import_smithy_client._json,
1298
1356
  ExportStatus: import_smithy_client.expectString,
1299
1357
  InputConfig: (_) => de_InputConfigOutput(_, context),
1300
- JobConfig: (_) => de_JobConfigInput((0, import_core.awsExpectUnion)(_), context),
1358
+ JobConfig: (_) => de_JobConfigInput((0, import_core2.awsExpectUnion)(_), context),
1301
1359
  KmsKeyId: import_smithy_client.expectString,
1302
1360
  Name: import_smithy_client.expectString,
1303
1361
  OutputBands: import_smithy_client._json,
@@ -1357,7 +1415,7 @@ var de_GetVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (output, con
1357
1415
  ExportErrorDetails: import_smithy_client._json,
1358
1416
  ExportStatus: import_smithy_client.expectString,
1359
1417
  InputConfig: import_smithy_client._json,
1360
- JobConfig: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
1418
+ JobConfig: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
1361
1419
  KmsKeyId: import_smithy_client.expectString,
1362
1420
  Name: import_smithy_client.expectString,
1363
1421
  Status: import_smithy_client.expectString,
@@ -1456,7 +1514,7 @@ var de_StartEarthObservationJobCommand = /* @__PURE__ */ __name(async (output, c
1456
1514
  DurationInSeconds: import_smithy_client.expectInt32,
1457
1515
  ExecutionRoleArn: import_smithy_client.expectString,
1458
1516
  InputConfig: (_) => de_InputConfigOutput(_, context),
1459
- JobConfig: (_) => de_JobConfigInput((0, import_core.awsExpectUnion)(_), context),
1517
+ JobConfig: (_) => de_JobConfigInput((0, import_core2.awsExpectUnion)(_), context),
1460
1518
  KmsKeyId: import_smithy_client.expectString,
1461
1519
  Name: import_smithy_client.expectString,
1462
1520
  Status: import_smithy_client.expectString,
@@ -1479,7 +1537,7 @@ var de_StartVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (output, c
1479
1537
  DurationInSeconds: import_smithy_client.expectInt32,
1480
1538
  ExecutionRoleArn: import_smithy_client.expectString,
1481
1539
  InputConfig: import_smithy_client._json,
1482
- JobConfig: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
1540
+ JobConfig: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
1483
1541
  KmsKeyId: import_smithy_client.expectString,
1484
1542
  Name: import_smithy_client.expectString,
1485
1543
  Status: import_smithy_client.expectString,
@@ -1839,7 +1897,7 @@ var se_ViewSunElevationInput = /* @__PURE__ */ __name((input, context) => {
1839
1897
  var de_AreaOfInterest = /* @__PURE__ */ __name((output, context) => {
1840
1898
  if (output.AreaOfInterestGeometry != null) {
1841
1899
  return {
1842
- AreaOfInterestGeometry: de_AreaOfInterestGeometry((0, import_core.awsExpectUnion)(output.AreaOfInterestGeometry), context)
1900
+ AreaOfInterestGeometry: de_AreaOfInterestGeometry((0, import_core2.awsExpectUnion)(output.AreaOfInterestGeometry), context)
1843
1901
  };
1844
1902
  }
1845
1903
  return { $unknown: Object.entries(output)[0] };
@@ -2082,7 +2140,7 @@ var de_Property = /* @__PURE__ */ __name((output, context) => {
2082
2140
  }, "de_Property");
2083
2141
  var de_PropertyFilter = /* @__PURE__ */ __name((output, context) => {
2084
2142
  return (0, import_smithy_client.take)(output, {
2085
- Property: (_) => de_Property((0, import_core.awsExpectUnion)(_), context)
2143
+ Property: (_) => de_Property((0, import_core2.awsExpectUnion)(_), context)
2086
2144
  });
2087
2145
  }, "de_PropertyFilter");
2088
2146
  var de_PropertyFilters = /* @__PURE__ */ __name((output, context) => {
@@ -2110,7 +2168,7 @@ var de_RasterDataCollectionMetadata = /* @__PURE__ */ __name((output, context) =
2110
2168
  }, "de_RasterDataCollectionMetadata");
2111
2169
  var de_RasterDataCollectionQueryOutput = /* @__PURE__ */ __name((output, context) => {
2112
2170
  return (0, import_smithy_client.take)(output, {
2113
- AreaOfInterest: (_) => de_AreaOfInterest((0, import_core.awsExpectUnion)(_), context),
2171
+ AreaOfInterest: (_) => de_AreaOfInterest((0, import_core2.awsExpectUnion)(_), context),
2114
2172
  PropertyFilters: (_) => de_PropertyFilters(_, context),
2115
2173
  RasterDataCollectionArn: import_smithy_client.expectString,
2116
2174
  RasterDataCollectionName: import_smithy_client.expectString,
@@ -2575,20 +2633,20 @@ var SageMakerGeospatial = _SageMakerGeospatial;
2575
2633
  (0, import_smithy_client.createAggregatedClient)(commands, SageMakerGeospatial);
2576
2634
 
2577
2635
  // src/pagination/ListEarthObservationJobsPaginator.ts
2578
- var import_core3 = require("@smithy/core");
2579
- var paginateListEarthObservationJobs = (0, import_core3.createPaginator)(SageMakerGeospatialClient, ListEarthObservationJobsCommand, "NextToken", "NextToken", "");
2636
+
2637
+ var paginateListEarthObservationJobs = (0, import_core.createPaginator)(SageMakerGeospatialClient, ListEarthObservationJobsCommand, "NextToken", "NextToken", "");
2580
2638
 
2581
2639
  // src/pagination/ListRasterDataCollectionsPaginator.ts
2582
- var import_core4 = require("@smithy/core");
2583
- var paginateListRasterDataCollections = (0, import_core4.createPaginator)(SageMakerGeospatialClient, ListRasterDataCollectionsCommand, "NextToken", "NextToken", "");
2640
+
2641
+ var paginateListRasterDataCollections = (0, import_core.createPaginator)(SageMakerGeospatialClient, ListRasterDataCollectionsCommand, "NextToken", "NextToken", "");
2584
2642
 
2585
2643
  // src/pagination/ListVectorEnrichmentJobsPaginator.ts
2586
- var import_core5 = require("@smithy/core");
2587
- var paginateListVectorEnrichmentJobs = (0, import_core5.createPaginator)(SageMakerGeospatialClient, ListVectorEnrichmentJobsCommand, "NextToken", "NextToken", "");
2644
+
2645
+ var paginateListVectorEnrichmentJobs = (0, import_core.createPaginator)(SageMakerGeospatialClient, ListVectorEnrichmentJobsCommand, "NextToken", "NextToken", "");
2588
2646
 
2589
2647
  // src/pagination/SearchRasterDataCollectionPaginator.ts
2590
- var import_core6 = require("@smithy/core");
2591
- var paginateSearchRasterDataCollection = (0, import_core6.createPaginator)(SageMakerGeospatialClient, SearchRasterDataCollectionCommand, "NextToken", "NextToken", "");
2648
+
2649
+ var paginateSearchRasterDataCollection = (0, import_core.createPaginator)(SageMakerGeospatialClient, SearchRasterDataCollectionCommand, "NextToken", "NextToken", "");
2592
2650
 
2593
2651
  // src/index.ts
2594
2652
  var import_util_endpoints = require("@aws-sdk/util-endpoints");
@@ -1,11 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
+ const core_1 = require("@aws-sdk/core");
4
5
  const smithy_client_1 = require("@smithy/smithy-client");
5
6
  const url_parser_1 = require("@smithy/url-parser");
6
7
  const util_base64_1 = require("@smithy/util-base64");
7
8
  const util_stream_1 = require("@smithy/util-stream");
8
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
+ const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
9
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
10
12
  const getRuntimeConfig = (config) => {
11
13
  return {
@@ -15,6 +17,14 @@ const getRuntimeConfig = (config) => {
15
17
  disableHostPrefix: config?.disableHostPrefix ?? false,
16
18
  endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
17
19
  extensions: config?.extensions ?? [],
20
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSageMakerGeospatialHttpAuthSchemeProvider,
21
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
22
+ {
23
+ schemeId: "aws.auth#sigv4",
24
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
25
+ signer: new core_1.AwsSdkSigV4Signer(),
26
+ },
27
+ ],
18
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
19
29
  sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin,
20
30
  serviceId: config?.serviceId ?? "SageMaker Geospatial",
@@ -1,13 +1,14 @@
1
1
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
2
2
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
3
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
- import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
5
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
6
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
+ import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
7
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
8
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
9
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
10
10
  import { Client as __Client, } from "@smithy/smithy-client";
11
+ import { defaultSageMakerGeospatialHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
11
12
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
13
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
@@ -20,8 +21,8 @@ export class SageMakerGeospatialClient extends __Client {
20
21
  const _config_3 = resolveEndpointConfig(_config_2);
21
22
  const _config_4 = resolveRetryConfig(_config_3);
22
23
  const _config_5 = resolveHostHeaderConfig(_config_4);
23
- const _config_6 = resolveAwsAuthConfig(_config_5);
24
- const _config_7 = resolveUserAgentConfig(_config_6);
24
+ const _config_6 = resolveUserAgentConfig(_config_5);
25
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
25
26
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
26
27
  super(_config_8);
27
28
  this.config = _config_8;
@@ -30,10 +31,22 @@ export class SageMakerGeospatialClient extends __Client {
30
31
  this.middlewareStack.use(getHostHeaderPlugin(this.config));
31
32
  this.middlewareStack.use(getLoggerPlugin(this.config));
32
33
  this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
33
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
34
34
  this.middlewareStack.use(getUserAgentPlugin(this.config));
35
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
36
+ httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
37
+ identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
38
+ }));
39
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
35
40
  }
36
41
  destroy() {
37
42
  super.destroy();
38
43
  }
44
+ getDefaultHttpAuthSchemeParametersProvider() {
45
+ return defaultSageMakerGeospatialHttpAuthSchemeParametersProvider;
46
+ }
47
+ getIdentityProviderConfigProvider() {
48
+ return async (config) => new DefaultIdentityProviderConfig({
49
+ "aws.auth#sigv4": config.credentials,
50
+ });
51
+ }
39
52
  }
@@ -0,0 +1,38 @@
1
+ export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
2
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
3
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
4
+ let _credentials = runtimeConfig.credentials;
5
+ return {
6
+ setHttpAuthScheme(httpAuthScheme) {
7
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
8
+ if (index === -1) {
9
+ _httpAuthSchemes.push(httpAuthScheme);
10
+ }
11
+ else {
12
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
13
+ }
14
+ },
15
+ httpAuthSchemes() {
16
+ return _httpAuthSchemes;
17
+ },
18
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
19
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
20
+ },
21
+ httpAuthSchemeProvider() {
22
+ return _httpAuthSchemeProvider;
23
+ },
24
+ setCredentials(credentials) {
25
+ _credentials = credentials;
26
+ },
27
+ credentials() {
28
+ return _credentials;
29
+ },
30
+ };
31
+ };
32
+ export const resolveHttpAuthRuntimeConfig = (config) => {
33
+ return {
34
+ httpAuthSchemes: config.httpAuthSchemes(),
35
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
36
+ credentials: config.credentials(),
37
+ };
38
+ };
@@ -0,0 +1,41 @@
1
+ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
2
+ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
+ export const defaultSageMakerGeospatialHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
+ return {
5
+ operation: getSmithyContext(context).operation,
6
+ region: (await normalizeProvider(config.region)()) ||
7
+ (() => {
8
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
9
+ })(),
10
+ };
11
+ };
12
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
13
+ return {
14
+ schemeId: "aws.auth#sigv4",
15
+ signingProperties: {
16
+ name: "sagemaker-geospatial",
17
+ region: authParameters.region,
18
+ },
19
+ propertiesExtractor: (config, context) => ({
20
+ signingProperties: {
21
+ config,
22
+ context,
23
+ },
24
+ }),
25
+ };
26
+ }
27
+ export const defaultSageMakerGeospatialHttpAuthSchemeProvider = (authParameters) => {
28
+ const options = [];
29
+ switch (authParameters.operation) {
30
+ default: {
31
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
32
+ }
33
+ }
34
+ return options;
35
+ };
36
+ export const resolveHttpAuthSchemeConfig = (config) => {
37
+ const config_0 = resolveAwsSdkSigV4Config(config);
38
+ return {
39
+ ...config_0,
40
+ };
41
+ };
@@ -1,8 +1,10 @@
1
+ import { AwsSdkSigV4Signer } from "@aws-sdk/core";
1
2
  import { NoOpLogger } from "@smithy/smithy-client";
2
3
  import { parseUrl } from "@smithy/url-parser";
3
4
  import { fromBase64, toBase64 } from "@smithy/util-base64";
4
5
  import { sdkStreamMixin } from "@smithy/util-stream";
5
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
+ import { defaultSageMakerGeospatialHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
6
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
7
9
  export const getRuntimeConfig = (config) => {
8
10
  return {
@@ -12,6 +14,14 @@ export const getRuntimeConfig = (config) => {
12
14
  disableHostPrefix: config?.disableHostPrefix ?? false,
13
15
  endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
14
16
  extensions: config?.extensions ?? [],
17
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSageMakerGeospatialHttpAuthSchemeProvider,
18
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
19
+ {
20
+ schemeId: "aws.auth#sigv4",
21
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
22
+ signer: new AwsSdkSigV4Signer(),
23
+ },
24
+ ],
15
25
  logger: config?.logger ?? new NoOpLogger(),
16
26
  sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
17
27
  serviceId: config?.serviceId ?? "SageMaker Geospatial",
@@ -1,12 +1,14 @@
1
1
  import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
2
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
+ import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
4
5
  const asPartial = (t) => t;
5
6
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
6
7
  const extensionConfiguration = {
7
8
  ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
8
9
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
9
10
  ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
+ ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
10
12
  };
11
13
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
12
14
  return {
@@ -14,5 +16,6 @@ export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
14
16
  ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
15
17
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
16
18
  ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
+ ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
17
20
  };
18
21
  };
@@ -1,13 +1,12 @@
1
1
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
3
2
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
4
- import { Credentials as __Credentials } from "@aws-sdk/types";
5
3
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
6
4
  import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
7
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
8
6
  import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
9
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
10
- import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
11
10
  import { DeleteEarthObservationJobCommandInput, DeleteEarthObservationJobCommandOutput } from "./commands/DeleteEarthObservationJobCommand";
12
11
  import { DeleteVectorEnrichmentJobCommandInput, DeleteVectorEnrichmentJobCommandOutput } from "./commands/DeleteVectorEnrichmentJobCommand";
13
12
  import { ExportEarthObservationJobCommandInput, ExportEarthObservationJobCommandOutput } from "./commands/ExportEarthObservationJobCommand";
@@ -110,20 +109,21 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
110
109
  * Enables FIPS compatible endpoints.
111
110
  */
112
111
  useFipsEndpoint?: boolean | __Provider<boolean>;
112
+ /**
113
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
114
+ * @internal
115
+ */
116
+ defaultUserAgentProvider?: Provider<__UserAgent>;
113
117
  /**
114
118
  * The AWS region to which this client will send requests
115
119
  */
116
120
  region?: string | __Provider<string>;
117
121
  /**
118
122
  * Default credentials provider; Not available in browser runtime.
123
+ * @deprecated
119
124
  * @internal
120
125
  */
121
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
122
- /**
123
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
124
- * @internal
125
- */
126
- defaultUserAgentProvider?: Provider<__UserAgent>;
126
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
127
127
  /**
128
128
  * Value for how many times a request will be made at most in case of retry.
129
129
  */
@@ -155,7 +155,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
155
155
  /**
156
156
  * @public
157
157
  */
158
- export type SageMakerGeospatialClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
158
+ export type SageMakerGeospatialClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
159
159
  /**
160
160
  * @public
161
161
  *
@@ -166,7 +166,7 @@ export interface SageMakerGeospatialClientConfig extends SageMakerGeospatialClie
166
166
  /**
167
167
  * @public
168
168
  */
169
- export type SageMakerGeospatialClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
169
+ export type SageMakerGeospatialClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
170
170
  /**
171
171
  * @public
172
172
  *
@@ -190,4 +190,6 @@ export declare class SageMakerGeospatialClient extends __Client<__HttpHandlerOpt
190
190
  * Otherwise, sockets might stay open for quite a long time before the server terminates them.
191
191
  */
192
192
  destroy(): void;
193
+ private getDefaultHttpAuthSchemeParametersProvider;
194
+ private getIdentityProviderConfigProvider;
193
195
  }
@@ -0,0 +1,29 @@
1
+ import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
+ import { SageMakerGeospatialHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: SageMakerGeospatialHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): SageMakerGeospatialHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: SageMakerGeospatialHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,61 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
3
+ import { SageMakerGeospatialClientResolvedConfig } from "../SageMakerGeospatialClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface SageMakerGeospatialHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface SageMakerGeospatialHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<SageMakerGeospatialClientResolvedConfig, HandlerExecutionContext, SageMakerGeospatialHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultSageMakerGeospatialHttpAuthSchemeParametersProvider: (config: SageMakerGeospatialClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<SageMakerGeospatialHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface SageMakerGeospatialHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SageMakerGeospatialHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultSageMakerGeospatialHttpAuthSchemeProvider: SageMakerGeospatialHttpAuthSchemeProvider;
28
+ /**
29
+ * @internal
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
34
+ * @internal
35
+ */
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ /**
38
+ * experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
39
+ * @internal
40
+ */
41
+ httpAuthSchemeProvider?: SageMakerGeospatialHttpAuthSchemeProvider;
42
+ }
43
+ /**
44
+ * @internal
45
+ */
46
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
47
+ /**
48
+ * experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
49
+ * @internal
50
+ */
51
+ readonly httpAuthSchemes: HttpAuthScheme[];
52
+ /**
53
+ * experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
54
+ * @internal
55
+ */
56
+ readonly httpAuthSchemeProvider: SageMakerGeospatialHttpAuthSchemeProvider;
57
+ }
58
+ /**
59
+ * @internal
60
+ */
61
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -1,8 +1,9 @@
1
1
  import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
4
5
  /**
5
6
  * @internal
6
7
  */
7
- export interface SageMakerGeospatialExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
8
+ export interface SageMakerGeospatialExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
8
9
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SageMakerGeospatialClientConfig)
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -37,11 +37,13 @@ export declare const getRuntimeConfig: (config: SageMakerGeospatialClientConfig)
37
37
  }) => import("@smithy/types").EndpointV2;
38
38
  tls?: boolean | undefined;
39
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
40
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
40
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
41
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
42
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerGeospatialHttpAuthSchemeProvider;
43
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
41
44
  signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
42
45
  signingEscapePath?: boolean | undefined;
43
46
  systemClockOffset?: number | undefined;
44
47
  signingRegion?: string | undefined;
45
48
  signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
46
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
47
49
  };
@@ -37,11 +37,13 @@ export declare const getRuntimeConfig: (config: SageMakerGeospatialClientConfig)
37
37
  }) => import("@smithy/types").EndpointV2;
38
38
  tls?: boolean | undefined;
39
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
40
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
40
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
41
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
42
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerGeospatialHttpAuthSchemeProvider;
43
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
41
44
  signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
42
45
  signingEscapePath?: boolean | undefined;
43
46
  systemClockOffset?: number | undefined;
44
47
  signingRegion?: string | undefined;
45
48
  signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
46
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
47
49
  };
@@ -21,9 +21,9 @@ export declare const getRuntimeConfig: (config: SageMakerGeospatialClientConfig)
21
21
  serviceId: string;
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
- region: string | import("@smithy/types").Provider<any>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
26
24
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
25
+ region: string | import("@smithy/types").Provider<any>;
26
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
27
27
  maxAttempts: number | import("@smithy/types").Provider<number>;
28
28
  retryMode: string | import("@smithy/types").Provider<string>;
29
29
  logger: import("@smithy/types").Logger;
@@ -36,11 +36,13 @@ export declare const getRuntimeConfig: (config: SageMakerGeospatialClientConfig)
36
36
  }) => import("@smithy/types").EndpointV2;
37
37
  tls?: boolean | undefined;
38
38
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
39
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
39
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
40
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerGeospatialHttpAuthSchemeProvider;
42
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
40
43
  signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
41
44
  signingEscapePath?: boolean | undefined;
42
45
  systemClockOffset?: number | undefined;
43
46
  signingRegion?: string | undefined;
44
47
  signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
45
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
46
48
  };
@@ -11,6 +11,8 @@ export declare const getRuntimeConfig: (config: SageMakerGeospatialClientConfig)
11
11
  logger?: import("@smithy/types").Logger | undefined;
12
12
  }) => import("@smithy/types").EndpointV2;
13
13
  extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerGeospatialHttpAuthSchemeProvider;
15
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
14
16
  logger: import("@smithy/types").Logger;
15
17
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
16
18
  serviceId: string;
@@ -2,15 +2,10 @@ import {
2
2
  HostHeaderInputConfig,
3
3
  HostHeaderResolvedConfig,
4
4
  } from "@aws-sdk/middleware-host-header";
5
- import {
6
- AwsAuthInputConfig,
7
- AwsAuthResolvedConfig,
8
- } from "@aws-sdk/middleware-signing";
9
5
  import {
10
6
  UserAgentInputConfig,
11
7
  UserAgentResolvedConfig,
12
8
  } from "@aws-sdk/middleware-user-agent";
13
- import { Credentials as __Credentials } from "@aws-sdk/types";
14
9
  import {
15
10
  RegionInputConfig,
16
11
  RegionResolvedConfig,
@@ -31,6 +26,7 @@ import {
31
26
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
32
27
  } from "@smithy/smithy-client";
33
28
  import {
29
+ AwsCredentialIdentityProvider,
34
30
  BodyLengthCalculator as __BodyLengthCalculator,
35
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
36
32
  ChecksumConstructor as __ChecksumConstructor,
@@ -46,6 +42,10 @@ import {
46
42
  UrlParser as __UrlParser,
47
43
  UserAgent as __UserAgent,
48
44
  } from "@smithy/types";
45
+ import {
46
+ HttpAuthSchemeInputConfig,
47
+ HttpAuthSchemeResolvedConfig,
48
+ } from "./auth/httpAuthSchemeProvider";
49
49
  import {
50
50
  DeleteEarthObservationJobCommandInput,
51
51
  DeleteEarthObservationJobCommandOutput,
@@ -185,9 +185,9 @@ export interface ClientDefaults
185
185
  serviceId?: string;
186
186
  useDualstackEndpoint?: boolean | __Provider<boolean>;
187
187
  useFipsEndpoint?: boolean | __Provider<boolean>;
188
- region?: string | __Provider<string>;
189
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
190
188
  defaultUserAgentProvider?: Provider<__UserAgent>;
189
+ region?: string | __Provider<string>;
190
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
191
191
  maxAttempts?: number | __Provider<number>;
192
192
  retryMode?: string | __Provider<string>;
193
193
  logger?: __Logger;
@@ -203,8 +203,8 @@ export type SageMakerGeospatialClientConfigType = Partial<
203
203
  EndpointInputConfig<EndpointParameters> &
204
204
  RetryInputConfig &
205
205
  HostHeaderInputConfig &
206
- AwsAuthInputConfig &
207
206
  UserAgentInputConfig &
207
+ HttpAuthSchemeInputConfig &
208
208
  ClientInputEndpointParameters;
209
209
  export interface SageMakerGeospatialClientConfig
210
210
  extends SageMakerGeospatialClientConfigType {}
@@ -216,8 +216,8 @@ export type SageMakerGeospatialClientResolvedConfigType =
216
216
  EndpointResolvedConfig<EndpointParameters> &
217
217
  RetryResolvedConfig &
218
218
  HostHeaderResolvedConfig &
219
- AwsAuthResolvedConfig &
220
219
  UserAgentResolvedConfig &
220
+ HttpAuthSchemeResolvedConfig &
221
221
  ClientResolvedEndpointParameters;
222
222
  export interface SageMakerGeospatialClientResolvedConfig
223
223
  extends SageMakerGeospatialClientResolvedConfigType {}
@@ -234,4 +234,6 @@ export declare class SageMakerGeospatialClient extends __Client<
234
234
  ]: __CheckOptionalClientConfig<SageMakerGeospatialClientConfig>
235
235
  );
236
236
  destroy(): void;
237
+ private getDefaultHttpAuthSchemeParametersProvider;
238
+ private getIdentityProviderConfigProvider;
237
239
  }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { SageMakerGeospatialHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: SageMakerGeospatialHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): SageMakerGeospatialHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: SageMakerGeospatialHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,44 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ } from "@smithy/types";
13
+ import { SageMakerGeospatialClientResolvedConfig } from "../SageMakerGeospatialClient";
14
+ export interface SageMakerGeospatialHttpAuthSchemeParameters
15
+ extends HttpAuthSchemeParameters {
16
+ region?: string;
17
+ }
18
+ export interface SageMakerGeospatialHttpAuthSchemeParametersProvider
19
+ extends HttpAuthSchemeParametersProvider<
20
+ SageMakerGeospatialClientResolvedConfig,
21
+ HandlerExecutionContext,
22
+ SageMakerGeospatialHttpAuthSchemeParameters,
23
+ object
24
+ > {}
25
+ export declare const defaultSageMakerGeospatialHttpAuthSchemeParametersProvider: (
26
+ config: SageMakerGeospatialClientResolvedConfig,
27
+ context: HandlerExecutionContext,
28
+ input: object
29
+ ) => Promise<SageMakerGeospatialHttpAuthSchemeParameters>;
30
+ export interface SageMakerGeospatialHttpAuthSchemeProvider
31
+ extends HttpAuthSchemeProvider<SageMakerGeospatialHttpAuthSchemeParameters> {}
32
+ export declare const defaultSageMakerGeospatialHttpAuthSchemeProvider: SageMakerGeospatialHttpAuthSchemeProvider;
33
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
34
+ httpAuthSchemes?: HttpAuthScheme[];
35
+ httpAuthSchemeProvider?: SageMakerGeospatialHttpAuthSchemeProvider;
36
+ }
37
+ export interface HttpAuthSchemeResolvedConfig
38
+ extends AwsSdkSigV4AuthResolvedConfig {
39
+ readonly httpAuthSchemes: HttpAuthScheme[];
40
+ readonly httpAuthSchemeProvider: SageMakerGeospatialHttpAuthSchemeProvider;
41
+ }
42
+ export declare const resolveHttpAuthSchemeConfig: <T>(
43
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
44
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -1,7 +1,9 @@
1
1
  import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
4
5
  export interface SageMakerGeospatialExtensionConfiguration
5
6
  extends HttpHandlerExtensionConfiguration,
6
7
  DefaultExtensionConfiguration,
7
- AwsRegionExtensionConfiguration {}
8
+ AwsRegionExtensionConfiguration,
9
+ HttpAuthExtensionConfiguration {}
@@ -10,7 +10,7 @@ export declare const getRuntimeConfig: (
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
11
  credentialDefaultProvider: (
12
12
  input: any
13
- ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
13
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
14
14
  defaultUserAgentProvider: import("@smithy/types").Provider<
15
15
  import("@smithy/types").UserAgent
16
16
  >;
@@ -75,11 +75,12 @@ export declare const getRuntimeConfig: (
75
75
  | import("@smithy/types").RetryStrategy
76
76
  | import("@smithy/types").RetryStrategyV2
77
77
  | undefined;
78
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
79
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
80
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerGeospatialHttpAuthSchemeProvider;
78
81
  credentials?:
79
82
  | import("@smithy/types").AwsCredentialIdentity
80
- | import("@smithy/types").Provider<
81
- import("@smithy/types").AwsCredentialIdentity
82
- >
83
+ | import("@smithy/types").AwsCredentialIdentityProvider
83
84
  | undefined;
84
85
  signer?:
85
86
  | import("@smithy/types").RequestSigner
@@ -96,5 +97,4 @@ export declare const getRuntimeConfig: (
96
97
  import("@smithy/signature-v4").SignatureV4CryptoInit
97
98
  ) => import("@smithy/types").RequestSigner)
98
99
  | undefined;
99
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
100
100
  };
@@ -79,11 +79,12 @@ export declare const getRuntimeConfig: (
79
79
  | import("@smithy/types").RetryStrategy
80
80
  | import("@smithy/types").RetryStrategyV2
81
81
  | undefined;
82
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
83
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
84
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerGeospatialHttpAuthSchemeProvider;
82
85
  credentials?:
83
86
  | import("@smithy/types").AwsCredentialIdentity
84
- | import("@smithy/types").Provider<
85
- import("@smithy/types").AwsCredentialIdentity
86
- >
87
+ | import("@smithy/types").AwsCredentialIdentityProvider
87
88
  | undefined;
88
89
  signer?:
89
90
  | import("@smithy/types").RequestSigner
@@ -100,5 +101,4 @@ export declare const getRuntimeConfig: (
100
101
  import("@smithy/signature-v4").SignatureV4CryptoInit
101
102
  ) => import("@smithy/types").RequestSigner)
102
103
  | undefined;
103
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
104
104
  };
@@ -31,13 +31,13 @@ export declare const getRuntimeConfig: (
31
31
  serviceId: string;
32
32
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
33
33
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
34
- region: string | import("@smithy/types").Provider<any>;
35
- credentialDefaultProvider: (
36
- input: any
37
- ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
38
34
  defaultUserAgentProvider: import("@smithy/types").Provider<
39
35
  import("@smithy/types").UserAgent
40
36
  >;
37
+ region: string | import("@smithy/types").Provider<any>;
38
+ credentialDefaultProvider: (
39
+ input: any
40
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
41
41
  maxAttempts: number | import("@smithy/types").Provider<number>;
42
42
  retryMode: string | import("@smithy/types").Provider<string>;
43
43
  logger: import("@smithy/types").Logger;
@@ -66,11 +66,12 @@ export declare const getRuntimeConfig: (
66
66
  | import("@smithy/types").RetryStrategy
67
67
  | import("@smithy/types").RetryStrategyV2
68
68
  | undefined;
69
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
70
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
71
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerGeospatialHttpAuthSchemeProvider;
69
72
  credentials?:
70
73
  | import("@smithy/types").AwsCredentialIdentity
71
- | import("@smithy/types").Provider<
72
- import("@smithy/types").AwsCredentialIdentity
73
- >
74
+ | import("@smithy/types").AwsCredentialIdentityProvider
74
75
  | undefined;
75
76
  signer?:
76
77
  | import("@smithy/types").RequestSigner
@@ -87,5 +88,4 @@ export declare const getRuntimeConfig: (
87
88
  import("@smithy/signature-v4").SignatureV4CryptoInit
88
89
  ) => import("@smithy/types").RequestSigner)
89
90
  | undefined;
90
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
91
91
  };
@@ -13,6 +13,8 @@ export declare const getRuntimeConfig: (
13
13
  }
14
14
  ) => import("@smithy/types").EndpointV2;
15
15
  extensions: import("./runtimeExtensions").RuntimeExtension[];
16
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerGeospatialHttpAuthSchemeProvider;
17
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
18
  logger: import("@smithy/types").Logger;
17
19
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
18
20
  serviceId: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker-geospatial",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Geospatial Client for Node.js, Browser and React Native",
4
- "version": "3.509.0",
4
+ "version": "3.513.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sagemaker-geospatial",
@@ -20,21 +20,20 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.507.0",
24
- "@aws-sdk/core": "3.496.0",
25
- "@aws-sdk/credential-provider-node": "3.509.0",
26
- "@aws-sdk/middleware-host-header": "3.502.0",
27
- "@aws-sdk/middleware-logger": "3.502.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.502.0",
29
- "@aws-sdk/middleware-signing": "3.502.0",
30
- "@aws-sdk/middleware-user-agent": "3.502.0",
31
- "@aws-sdk/region-config-resolver": "3.502.0",
32
- "@aws-sdk/types": "3.502.0",
33
- "@aws-sdk/util-endpoints": "3.502.0",
34
- "@aws-sdk/util-user-agent-browser": "3.502.0",
35
- "@aws-sdk/util-user-agent-node": "3.502.0",
23
+ "@aws-sdk/client-sts": "3.513.0",
24
+ "@aws-sdk/core": "3.513.0",
25
+ "@aws-sdk/credential-provider-node": "3.513.0",
26
+ "@aws-sdk/middleware-host-header": "3.511.0",
27
+ "@aws-sdk/middleware-logger": "3.511.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.511.0",
29
+ "@aws-sdk/middleware-user-agent": "3.511.0",
30
+ "@aws-sdk/region-config-resolver": "3.511.0",
31
+ "@aws-sdk/types": "3.511.0",
32
+ "@aws-sdk/util-endpoints": "3.511.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.511.0",
34
+ "@aws-sdk/util-user-agent-node": "3.511.0",
36
35
  "@smithy/config-resolver": "^2.1.1",
37
- "@smithy/core": "^1.3.1",
36
+ "@smithy/core": "^1.3.2",
38
37
  "@smithy/fetch-http-handler": "^2.4.1",
39
38
  "@smithy/hash-node": "^2.1.1",
40
39
  "@smithy/invalid-dependency": "^2.1.1",
@@ -53,8 +52,9 @@
53
52
  "@smithy/util-body-length-browser": "^2.1.1",
54
53
  "@smithy/util-body-length-node": "^2.2.1",
55
54
  "@smithy/util-defaults-mode-browser": "^2.1.1",
56
- "@smithy/util-defaults-mode-node": "^2.1.1",
55
+ "@smithy/util-defaults-mode-node": "^2.2.0",
57
56
  "@smithy/util-endpoints": "^1.1.1",
57
+ "@smithy/util-middleware": "^2.1.1",
58
58
  "@smithy/util-retry": "^2.1.1",
59
59
  "@smithy/util-stream": "^2.1.1",
60
60
  "@smithy/util-utf8": "^2.1.1",