@aws-sdk/client-amplifybackend 3.952.0 → 3.954.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 (51) hide show
  1. package/dist-cjs/index.js +430 -298
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/CloneBackendCommand.js +2 -2
  4. package/dist-es/commands/CreateBackendAPICommand.js +2 -2
  5. package/dist-es/commands/CreateBackendAuthCommand.js +2 -2
  6. package/dist-es/commands/CreateBackendCommand.js +2 -2
  7. package/dist-es/commands/CreateBackendConfigCommand.js +2 -2
  8. package/dist-es/commands/CreateBackendStorageCommand.js +2 -2
  9. package/dist-es/commands/CreateTokenCommand.js +2 -2
  10. package/dist-es/commands/DeleteBackendAPICommand.js +2 -2
  11. package/dist-es/commands/DeleteBackendAuthCommand.js +2 -2
  12. package/dist-es/commands/DeleteBackendCommand.js +2 -2
  13. package/dist-es/commands/DeleteBackendStorageCommand.js +2 -2
  14. package/dist-es/commands/DeleteTokenCommand.js +2 -2
  15. package/dist-es/commands/GenerateBackendAPIModelsCommand.js +2 -2
  16. package/dist-es/commands/GetBackendAPICommand.js +2 -2
  17. package/dist-es/commands/GetBackendAPIModelsCommand.js +2 -2
  18. package/dist-es/commands/GetBackendAuthCommand.js +2 -2
  19. package/dist-es/commands/GetBackendCommand.js +2 -2
  20. package/dist-es/commands/GetBackendJobCommand.js +2 -2
  21. package/dist-es/commands/GetBackendStorageCommand.js +2 -2
  22. package/dist-es/commands/GetTokenCommand.js +2 -2
  23. package/dist-es/commands/ImportBackendAuthCommand.js +2 -2
  24. package/dist-es/commands/ImportBackendStorageCommand.js +2 -2
  25. package/dist-es/commands/ListBackendJobsCommand.js +2 -2
  26. package/dist-es/commands/ListS3BucketsCommand.js +2 -2
  27. package/dist-es/commands/RemoveAllBackendsCommand.js +2 -2
  28. package/dist-es/commands/RemoveBackendConfigCommand.js +2 -2
  29. package/dist-es/commands/UpdateBackendAPICommand.js +2 -2
  30. package/dist-es/commands/UpdateBackendAuthCommand.js +2 -2
  31. package/dist-es/commands/UpdateBackendConfigCommand.js +2 -2
  32. package/dist-es/commands/UpdateBackendJobCommand.js +2 -2
  33. package/dist-es/commands/UpdateBackendStorageCommand.js +2 -2
  34. package/dist-es/index.js +1 -0
  35. package/dist-es/runtimeConfig.shared.js +6 -1
  36. package/dist-es/schemas/schemas_0.js +261 -261
  37. package/dist-types/AmplifyBackendClient.d.ts +1 -10
  38. package/dist-types/index.d.ts +1 -0
  39. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  40. package/dist-types/runtimeConfig.d.ts +6 -2
  41. package/dist-types/runtimeConfig.native.d.ts +6 -2
  42. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  43. package/dist-types/schemas/schemas_0.d.ts +133 -143
  44. package/dist-types/ts3.4/AmplifyBackendClient.d.ts +0 -4
  45. package/dist-types/ts3.4/index.d.ts +1 -0
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  49. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  50. package/dist-types/ts3.4/schemas/schemas_0.d.ts +132 -143
  51. package/package.json +34 -34
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.amplifybackend" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.amplifybackend",
32
+ version: "2020-08-11",
33
+ serviceTarget: "AmplifyBackend",
34
+ },
30
35
  serviceId: config?.serviceId ?? "AmplifyBackend",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
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 { CloneBackend } from "../schemas/schemas_0";
4
+ import { CloneBackend$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CloneBackendCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CloneBackendCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "CloneBackend", {})
13
13
  .n("AmplifyBackendClient", "CloneBackendCommand")
14
- .sc(CloneBackend)
14
+ .sc(CloneBackend$)
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 { CreateBackendAPI } from "../schemas/schemas_0";
4
+ import { CreateBackendAPI$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateBackendAPICommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateBackendAPICommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "CreateBackendAPI", {})
13
13
  .n("AmplifyBackendClient", "CreateBackendAPICommand")
14
- .sc(CreateBackendAPI)
14
+ .sc(CreateBackendAPI$)
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 { CreateBackendAuth } from "../schemas/schemas_0";
4
+ import { CreateBackendAuth$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateBackendAuthCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateBackendAuthCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "CreateBackendAuth", {})
13
13
  .n("AmplifyBackendClient", "CreateBackendAuthCommand")
14
- .sc(CreateBackendAuth)
14
+ .sc(CreateBackendAuth$)
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 { CreateBackend } from "../schemas/schemas_0";
4
+ import { CreateBackend$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateBackendCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateBackendCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "CreateBackend", {})
13
13
  .n("AmplifyBackendClient", "CreateBackendCommand")
14
- .sc(CreateBackend)
14
+ .sc(CreateBackend$)
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 { CreateBackendConfig } from "../schemas/schemas_0";
4
+ import { CreateBackendConfig$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateBackendConfigCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateBackendConfigCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "CreateBackendConfig", {})
13
13
  .n("AmplifyBackendClient", "CreateBackendConfigCommand")
14
- .sc(CreateBackendConfig)
14
+ .sc(CreateBackendConfig$)
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 { CreateBackendStorage } from "../schemas/schemas_0";
4
+ import { CreateBackendStorage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateBackendStorageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateBackendStorageCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "CreateBackendStorage", {})
13
13
  .n("AmplifyBackendClient", "CreateBackendStorageCommand")
14
- .sc(CreateBackendStorage)
14
+ .sc(CreateBackendStorage$)
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 { CreateToken } from "../schemas/schemas_0";
4
+ import { CreateToken$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateTokenCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateTokenCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "CreateToken", {})
13
13
  .n("AmplifyBackendClient", "CreateTokenCommand")
14
- .sc(CreateToken)
14
+ .sc(CreateToken$)
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 { DeleteBackendAPI } from "../schemas/schemas_0";
4
+ import { DeleteBackendAPI$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteBackendAPICommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteBackendAPICommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "DeleteBackendAPI", {})
13
13
  .n("AmplifyBackendClient", "DeleteBackendAPICommand")
14
- .sc(DeleteBackendAPI)
14
+ .sc(DeleteBackendAPI$)
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 { DeleteBackendAuth } from "../schemas/schemas_0";
4
+ import { DeleteBackendAuth$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteBackendAuthCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteBackendAuthCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "DeleteBackendAuth", {})
13
13
  .n("AmplifyBackendClient", "DeleteBackendAuthCommand")
14
- .sc(DeleteBackendAuth)
14
+ .sc(DeleteBackendAuth$)
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 { DeleteBackend } from "../schemas/schemas_0";
4
+ import { DeleteBackend$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteBackendCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteBackendCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "DeleteBackend", {})
13
13
  .n("AmplifyBackendClient", "DeleteBackendCommand")
14
- .sc(DeleteBackend)
14
+ .sc(DeleteBackend$)
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 { DeleteBackendStorage } from "../schemas/schemas_0";
4
+ import { DeleteBackendStorage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteBackendStorageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteBackendStorageCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "DeleteBackendStorage", {})
13
13
  .n("AmplifyBackendClient", "DeleteBackendStorageCommand")
14
- .sc(DeleteBackendStorage)
14
+ .sc(DeleteBackendStorage$)
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 { DeleteToken } from "../schemas/schemas_0";
4
+ import { DeleteToken$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteTokenCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteTokenCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "DeleteToken", {})
13
13
  .n("AmplifyBackendClient", "DeleteTokenCommand")
14
- .sc(DeleteToken)
14
+ .sc(DeleteToken$)
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 { GenerateBackendAPIModels } from "../schemas/schemas_0";
4
+ import { GenerateBackendAPIModels$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GenerateBackendAPIModelsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GenerateBackendAPIModelsCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "GenerateBackendAPIModels", {})
13
13
  .n("AmplifyBackendClient", "GenerateBackendAPIModelsCommand")
14
- .sc(GenerateBackendAPIModels)
14
+ .sc(GenerateBackendAPIModels$)
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 { GetBackendAPI } from "../schemas/schemas_0";
4
+ import { GetBackendAPI$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetBackendAPICommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetBackendAPICommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "GetBackendAPI", {})
13
13
  .n("AmplifyBackendClient", "GetBackendAPICommand")
14
- .sc(GetBackendAPI)
14
+ .sc(GetBackendAPI$)
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 { GetBackendAPIModels } from "../schemas/schemas_0";
4
+ import { GetBackendAPIModels$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetBackendAPIModelsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetBackendAPIModelsCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "GetBackendAPIModels", {})
13
13
  .n("AmplifyBackendClient", "GetBackendAPIModelsCommand")
14
- .sc(GetBackendAPIModels)
14
+ .sc(GetBackendAPIModels$)
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 { GetBackendAuth } from "../schemas/schemas_0";
4
+ import { GetBackendAuth$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetBackendAuthCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetBackendAuthCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "GetBackendAuth", {})
13
13
  .n("AmplifyBackendClient", "GetBackendAuthCommand")
14
- .sc(GetBackendAuth)
14
+ .sc(GetBackendAuth$)
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 { GetBackend } from "../schemas/schemas_0";
4
+ import { GetBackend$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetBackendCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetBackendCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "GetBackend", {})
13
13
  .n("AmplifyBackendClient", "GetBackendCommand")
14
- .sc(GetBackend)
14
+ .sc(GetBackend$)
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 { GetBackendJob } from "../schemas/schemas_0";
4
+ import { GetBackendJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetBackendJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetBackendJobCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "GetBackendJob", {})
13
13
  .n("AmplifyBackendClient", "GetBackendJobCommand")
14
- .sc(GetBackendJob)
14
+ .sc(GetBackendJob$)
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 { GetBackendStorage } from "../schemas/schemas_0";
4
+ import { GetBackendStorage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetBackendStorageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetBackendStorageCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "GetBackendStorage", {})
13
13
  .n("AmplifyBackendClient", "GetBackendStorageCommand")
14
- .sc(GetBackendStorage)
14
+ .sc(GetBackendStorage$)
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 { GetToken } from "../schemas/schemas_0";
4
+ import { GetToken$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetTokenCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetTokenCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "GetToken", {})
13
13
  .n("AmplifyBackendClient", "GetTokenCommand")
14
- .sc(GetToken)
14
+ .sc(GetToken$)
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 { ImportBackendAuth } from "../schemas/schemas_0";
4
+ import { ImportBackendAuth$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ImportBackendAuthCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ImportBackendAuthCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "ImportBackendAuth", {})
13
13
  .n("AmplifyBackendClient", "ImportBackendAuthCommand")
14
- .sc(ImportBackendAuth)
14
+ .sc(ImportBackendAuth$)
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 { ImportBackendStorage } from "../schemas/schemas_0";
4
+ import { ImportBackendStorage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ImportBackendStorageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ImportBackendStorageCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "ImportBackendStorage", {})
13
13
  .n("AmplifyBackendClient", "ImportBackendStorageCommand")
14
- .sc(ImportBackendStorage)
14
+ .sc(ImportBackendStorage$)
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 { ListBackendJobs } from "../schemas/schemas_0";
4
+ import { ListBackendJobs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListBackendJobsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListBackendJobsCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "ListBackendJobs", {})
13
13
  .n("AmplifyBackendClient", "ListBackendJobsCommand")
14
- .sc(ListBackendJobs)
14
+ .sc(ListBackendJobs$)
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 { ListS3Buckets } from "../schemas/schemas_0";
4
+ import { ListS3Buckets$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListS3BucketsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListS3BucketsCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "ListS3Buckets", {})
13
13
  .n("AmplifyBackendClient", "ListS3BucketsCommand")
14
- .sc(ListS3Buckets)
14
+ .sc(ListS3Buckets$)
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 { RemoveAllBackends } from "../schemas/schemas_0";
4
+ import { RemoveAllBackends$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RemoveAllBackendsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RemoveAllBackendsCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "RemoveAllBackends", {})
13
13
  .n("AmplifyBackendClient", "RemoveAllBackendsCommand")
14
- .sc(RemoveAllBackends)
14
+ .sc(RemoveAllBackends$)
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 { RemoveBackendConfig } from "../schemas/schemas_0";
4
+ import { RemoveBackendConfig$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RemoveBackendConfigCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RemoveBackendConfigCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "RemoveBackendConfig", {})
13
13
  .n("AmplifyBackendClient", "RemoveBackendConfigCommand")
14
- .sc(RemoveBackendConfig)
14
+ .sc(RemoveBackendConfig$)
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 { UpdateBackendAPI } from "../schemas/schemas_0";
4
+ import { UpdateBackendAPI$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateBackendAPICommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateBackendAPICommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "UpdateBackendAPI", {})
13
13
  .n("AmplifyBackendClient", "UpdateBackendAPICommand")
14
- .sc(UpdateBackendAPI)
14
+ .sc(UpdateBackendAPI$)
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 { UpdateBackendAuth } from "../schemas/schemas_0";
4
+ import { UpdateBackendAuth$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateBackendAuthCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateBackendAuthCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "UpdateBackendAuth", {})
13
13
  .n("AmplifyBackendClient", "UpdateBackendAuthCommand")
14
- .sc(UpdateBackendAuth)
14
+ .sc(UpdateBackendAuth$)
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 { UpdateBackendConfig } from "../schemas/schemas_0";
4
+ import { UpdateBackendConfig$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateBackendConfigCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateBackendConfigCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "UpdateBackendConfig", {})
13
13
  .n("AmplifyBackendClient", "UpdateBackendConfigCommand")
14
- .sc(UpdateBackendConfig)
14
+ .sc(UpdateBackendConfig$)
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 { UpdateBackendJob } from "../schemas/schemas_0";
4
+ import { UpdateBackendJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateBackendJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateBackendJobCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "UpdateBackendJob", {})
13
13
  .n("AmplifyBackendClient", "UpdateBackendJobCommand")
14
- .sc(UpdateBackendJob)
14
+ .sc(UpdateBackendJob$)
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 { UpdateBackendStorage } from "../schemas/schemas_0";
4
+ import { UpdateBackendStorage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateBackendStorageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateBackendStorageCommand extends $Command
11
11
  })
12
12
  .s("AmplifyBackend", "UpdateBackendStorage", {})
13
13
  .n("AmplifyBackendClient", "UpdateBackendStorageCommand")
14
- .sc(UpdateBackendStorage)
14
+ .sc(UpdateBackendStorage$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./AmplifyBackendClient";
2
2
  export * from "./AmplifyBackend";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { AmplifyBackendServiceException } from "./models/AmplifyBackendServiceException";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.amplifybackend" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.amplifybackend",
29
+ version: "2020-08-11",
30
+ serviceTarget: "AmplifyBackend",
31
+ },
27
32
  serviceId: config?.serviceId ?? "AmplifyBackend",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,