@aws-sdk/client-snowball 3.952.0 → 3.953.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 (47) hide show
  1. package/dist-cjs/index.js +429 -290
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/CancelClusterCommand.js +2 -2
  4. package/dist-es/commands/CancelJobCommand.js +2 -2
  5. package/dist-es/commands/CreateAddressCommand.js +2 -2
  6. package/dist-es/commands/CreateClusterCommand.js +2 -2
  7. package/dist-es/commands/CreateJobCommand.js +2 -2
  8. package/dist-es/commands/CreateLongTermPricingCommand.js +2 -2
  9. package/dist-es/commands/CreateReturnShippingLabelCommand.js +2 -2
  10. package/dist-es/commands/DescribeAddressCommand.js +2 -2
  11. package/dist-es/commands/DescribeAddressesCommand.js +2 -2
  12. package/dist-es/commands/DescribeClusterCommand.js +2 -2
  13. package/dist-es/commands/DescribeJobCommand.js +2 -2
  14. package/dist-es/commands/DescribeReturnShippingLabelCommand.js +2 -2
  15. package/dist-es/commands/GetJobManifestCommand.js +2 -2
  16. package/dist-es/commands/GetJobUnlockCodeCommand.js +2 -2
  17. package/dist-es/commands/GetSnowballUsageCommand.js +2 -2
  18. package/dist-es/commands/GetSoftwareUpdatesCommand.js +2 -2
  19. package/dist-es/commands/ListClusterJobsCommand.js +2 -2
  20. package/dist-es/commands/ListClustersCommand.js +2 -2
  21. package/dist-es/commands/ListCompatibleImagesCommand.js +2 -2
  22. package/dist-es/commands/ListJobsCommand.js +2 -2
  23. package/dist-es/commands/ListLongTermPricingCommand.js +2 -2
  24. package/dist-es/commands/ListPickupLocationsCommand.js +2 -2
  25. package/dist-es/commands/ListServiceVersionsCommand.js +2 -2
  26. package/dist-es/commands/UpdateClusterCommand.js +2 -2
  27. package/dist-es/commands/UpdateJobCommand.js +2 -2
  28. package/dist-es/commands/UpdateJobShipmentStateCommand.js +2 -2
  29. package/dist-es/commands/UpdateLongTermPricingCommand.js +2 -2
  30. package/dist-es/index.js +1 -0
  31. package/dist-es/runtimeConfig.shared.js +6 -6
  32. package/dist-es/schemas/schemas_0.js +249 -235
  33. package/dist-types/SnowballClient.d.ts +1 -10
  34. package/dist-types/index.d.ts +1 -0
  35. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  36. package/dist-types/runtimeConfig.d.ts +6 -2
  37. package/dist-types/runtimeConfig.native.d.ts +6 -2
  38. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  39. package/dist-types/schemas/schemas_0.d.ts +126 -144
  40. package/dist-types/ts3.4/SnowballClient.d.ts +0 -4
  41. package/dist-types/ts3.4/index.d.ts +1 -0
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  44. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  45. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  46. package/dist-types/ts3.4/schemas/schemas_0.d.ts +125 -145
  47. package/package.json +34 -34
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_1Protocol({
31
- defaultNamespace: "com.amazonaws.snowball",
32
- serviceTarget: "AWSIESnowballJobManagementService",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.snowball",
32
+ version: "2016-06-30",
33
+ serviceTarget: "AWSIESnowballJobManagementService",
34
+ },
35
35
  serviceId: config?.serviceId ?? "Snowball",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CancelCluster } from "../schemas/schemas_0";
4
+ import { CancelCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CancelClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CancelClusterCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "CancelCluster", {})
13
13
  .n("SnowballClient", "CancelClusterCommand")
14
- .sc(CancelCluster)
14
+ .sc(CancelCluster$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CancelJob } from "../schemas/schemas_0";
4
+ import { CancelJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CancelJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CancelJobCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "CancelJob", {})
13
13
  .n("SnowballClient", "CancelJobCommand")
14
- .sc(CancelJob)
14
+ .sc(CancelJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateAddress } from "../schemas/schemas_0";
4
+ import { CreateAddress$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateAddressCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateAddressCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "CreateAddress", {})
13
13
  .n("SnowballClient", "CreateAddressCommand")
14
- .sc(CreateAddress)
14
+ .sc(CreateAddress$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateCluster } from "../schemas/schemas_0";
4
+ import { CreateCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateClusterCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "CreateCluster", {})
13
13
  .n("SnowballClient", "CreateClusterCommand")
14
- .sc(CreateCluster)
14
+ .sc(CreateCluster$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateJob } from "../schemas/schemas_0";
4
+ import { CreateJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateJobCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "CreateJob", {})
13
13
  .n("SnowballClient", "CreateJobCommand")
14
- .sc(CreateJob)
14
+ .sc(CreateJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateLongTermPricing } from "../schemas/schemas_0";
4
+ import { CreateLongTermPricing$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateLongTermPricingCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateLongTermPricingCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "CreateLongTermPricing", {})
13
13
  .n("SnowballClient", "CreateLongTermPricingCommand")
14
- .sc(CreateLongTermPricing)
14
+ .sc(CreateLongTermPricing$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateReturnShippingLabel } from "../schemas/schemas_0";
4
+ import { CreateReturnShippingLabel$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateReturnShippingLabelCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateReturnShippingLabelCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "CreateReturnShippingLabel", {})
13
13
  .n("SnowballClient", "CreateReturnShippingLabelCommand")
14
- .sc(CreateReturnShippingLabel)
14
+ .sc(CreateReturnShippingLabel$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeAddress } from "../schemas/schemas_0";
4
+ import { DescribeAddress$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeAddressCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeAddressCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "DescribeAddress", {})
13
13
  .n("SnowballClient", "DescribeAddressCommand")
14
- .sc(DescribeAddress)
14
+ .sc(DescribeAddress$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeAddresses } from "../schemas/schemas_0";
4
+ import { DescribeAddresses$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeAddressesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeAddressesCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "DescribeAddresses", {})
13
13
  .n("SnowballClient", "DescribeAddressesCommand")
14
- .sc(DescribeAddresses)
14
+ .sc(DescribeAddresses$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeCluster } from "../schemas/schemas_0";
4
+ import { DescribeCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeClusterCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "DescribeCluster", {})
13
13
  .n("SnowballClient", "DescribeClusterCommand")
14
- .sc(DescribeCluster)
14
+ .sc(DescribeCluster$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeJob } from "../schemas/schemas_0";
4
+ import { DescribeJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeJobCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "DescribeJob", {})
13
13
  .n("SnowballClient", "DescribeJobCommand")
14
- .sc(DescribeJob)
14
+ .sc(DescribeJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeReturnShippingLabel } from "../schemas/schemas_0";
4
+ import { DescribeReturnShippingLabel$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeReturnShippingLabelCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeReturnShippingLabelCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "DescribeReturnShippingLabel", {})
13
13
  .n("SnowballClient", "DescribeReturnShippingLabelCommand")
14
- .sc(DescribeReturnShippingLabel)
14
+ .sc(DescribeReturnShippingLabel$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetJobManifest } from "../schemas/schemas_0";
4
+ import { GetJobManifest$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetJobManifestCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetJobManifestCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "GetJobManifest", {})
13
13
  .n("SnowballClient", "GetJobManifestCommand")
14
- .sc(GetJobManifest)
14
+ .sc(GetJobManifest$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetJobUnlockCode } from "../schemas/schemas_0";
4
+ import { GetJobUnlockCode$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetJobUnlockCodeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetJobUnlockCodeCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "GetJobUnlockCode", {})
13
13
  .n("SnowballClient", "GetJobUnlockCodeCommand")
14
- .sc(GetJobUnlockCode)
14
+ .sc(GetJobUnlockCode$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSnowballUsage } from "../schemas/schemas_0";
4
+ import { GetSnowballUsage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSnowballUsageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSnowballUsageCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "GetSnowballUsage", {})
13
13
  .n("SnowballClient", "GetSnowballUsageCommand")
14
- .sc(GetSnowballUsage)
14
+ .sc(GetSnowballUsage$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSoftwareUpdates } from "../schemas/schemas_0";
4
+ import { GetSoftwareUpdates$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSoftwareUpdatesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSoftwareUpdatesCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "GetSoftwareUpdates", {})
13
13
  .n("SnowballClient", "GetSoftwareUpdatesCommand")
14
- .sc(GetSoftwareUpdates)
14
+ .sc(GetSoftwareUpdates$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListClusterJobs } from "../schemas/schemas_0";
4
+ import { ListClusterJobs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListClusterJobsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListClusterJobsCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "ListClusterJobs", {})
13
13
  .n("SnowballClient", "ListClusterJobsCommand")
14
- .sc(ListClusterJobs)
14
+ .sc(ListClusterJobs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListClusters } from "../schemas/schemas_0";
4
+ import { ListClusters$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListClustersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListClustersCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "ListClusters", {})
13
13
  .n("SnowballClient", "ListClustersCommand")
14
- .sc(ListClusters)
14
+ .sc(ListClusters$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListCompatibleImages } from "../schemas/schemas_0";
4
+ import { ListCompatibleImages$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListCompatibleImagesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListCompatibleImagesCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "ListCompatibleImages", {})
13
13
  .n("SnowballClient", "ListCompatibleImagesCommand")
14
- .sc(ListCompatibleImages)
14
+ .sc(ListCompatibleImages$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListJobs } from "../schemas/schemas_0";
4
+ import { ListJobs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListJobsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListJobsCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "ListJobs", {})
13
13
  .n("SnowballClient", "ListJobsCommand")
14
- .sc(ListJobs)
14
+ .sc(ListJobs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListLongTermPricing } from "../schemas/schemas_0";
4
+ import { ListLongTermPricing$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListLongTermPricingCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListLongTermPricingCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "ListLongTermPricing", {})
13
13
  .n("SnowballClient", "ListLongTermPricingCommand")
14
- .sc(ListLongTermPricing)
14
+ .sc(ListLongTermPricing$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListPickupLocations } from "../schemas/schemas_0";
4
+ import { ListPickupLocations$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPickupLocationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPickupLocationsCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "ListPickupLocations", {})
13
13
  .n("SnowballClient", "ListPickupLocationsCommand")
14
- .sc(ListPickupLocations)
14
+ .sc(ListPickupLocations$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListServiceVersions } from "../schemas/schemas_0";
4
+ import { ListServiceVersions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListServiceVersionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListServiceVersionsCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "ListServiceVersions", {})
13
13
  .n("SnowballClient", "ListServiceVersionsCommand")
14
- .sc(ListServiceVersions)
14
+ .sc(ListServiceVersions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateCluster } from "../schemas/schemas_0";
4
+ import { UpdateCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateClusterCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "UpdateCluster", {})
13
13
  .n("SnowballClient", "UpdateClusterCommand")
14
- .sc(UpdateCluster)
14
+ .sc(UpdateCluster$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateJob } from "../schemas/schemas_0";
4
+ import { UpdateJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateJobCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "UpdateJob", {})
13
13
  .n("SnowballClient", "UpdateJobCommand")
14
- .sc(UpdateJob)
14
+ .sc(UpdateJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateJobShipmentState } from "../schemas/schemas_0";
4
+ import { UpdateJobShipmentState$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateJobShipmentStateCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateJobShipmentStateCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "UpdateJobShipmentState", {})
13
13
  .n("SnowballClient", "UpdateJobShipmentStateCommand")
14
- .sc(UpdateJobShipmentState)
14
+ .sc(UpdateJobShipmentState$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateLongTermPricing } from "../schemas/schemas_0";
4
+ import { UpdateLongTermPricing$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLongTermPricingCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLongTermPricingCommand extends $Command
11
11
  })
12
12
  .s("AWSIESnowballJobManagementService", "UpdateLongTermPricing", {})
13
13
  .n("SnowballClient", "UpdateLongTermPricingCommand")
14
- .sc(UpdateLongTermPricing)
14
+ .sc(UpdateLongTermPricing$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./SnowballClient";
2
2
  export * from "./Snowball";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_1Protocol({
28
- defaultNamespace: "com.amazonaws.snowball",
29
- serviceTarget: "AWSIESnowballJobManagementService",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.snowball",
29
+ version: "2016-06-30",
30
+ serviceTarget: "AWSIESnowballJobManagementService",
31
+ },
32
32
  serviceId: config?.serviceId ?? "Snowball",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,