@aws-sdk/client-geo-routes 3.928.0 → 3.930.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.
Files changed (29) hide show
  1. package/dist-cjs/index.js +3359 -3145
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/GeoRoutesClient.js +2 -0
  4. package/dist-es/commands/CalculateIsolinesCommand.js +3 -10
  5. package/dist-es/commands/CalculateRouteMatrixCommand.js +3 -10
  6. package/dist-es/commands/CalculateRoutesCommand.js +3 -10
  7. package/dist-es/commands/OptimizeWaypointsCommand.js +3 -10
  8. package/dist-es/commands/SnapToRoadsCommand.js +3 -10
  9. package/dist-es/models/models_0.js +0 -1319
  10. package/dist-es/runtimeConfig.shared.js +2 -0
  11. package/dist-es/schemas/schemas_0.js +3259 -0
  12. package/dist-types/GeoRoutesClient.d.ts +10 -1
  13. package/dist-types/models/models_0.d.ts +0 -732
  14. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  15. package/dist-types/runtimeConfig.d.ts +1 -0
  16. package/dist-types/runtimeConfig.native.d.ts +1 -0
  17. package/dist-types/runtimeConfig.shared.d.ts +2 -5
  18. package/dist-types/schemas/schemas_0.d.ts +345 -0
  19. package/dist-types/ts3.4/GeoRoutesClient.d.ts +4 -0
  20. package/dist-types/ts3.4/models/models_0.d.ts +0 -529
  21. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  22. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  23. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  24. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  25. package/dist-types/ts3.4/schemas/schemas_0.d.ts +351 -0
  26. package/package.json +33 -33
  27. package/dist-es/protocols/Aws_restJson1.js +0 -1518
  28. package/dist-types/protocols/Aws_restJson1.d.ts +0 -47
  29. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -65
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
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, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CalculateIsolinesCommandInput, CalculateIsolinesCommandOutput } from "./commands/CalculateIsolinesCommand";
11
11
  import { CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput } from "./commands/CalculateRouteMatrixCommand";
@@ -146,6 +146,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
146
146
  * Optional extensions
147
147
  */
148
148
  extensions?: RuntimeExtension[];
149
+ /**
150
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
151
+ * may be overridden. A default will always be set by the client.
152
+ * Available options depend on the service's supported protocols and will not be validated by
153
+ * the client.
154
+ * @alpha
155
+ *
156
+ */
157
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
149
158
  /**
150
159
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
151
160
  */