@aws-sdk/client-amplify 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 (57) hide show
  1. package/dist-cjs/index.js +480 -313
  2. package/dist-cjs/runtimeConfig.shared.js +7 -1
  3. package/dist-es/commands/CreateAppCommand.js +2 -2
  4. package/dist-es/commands/CreateBackendEnvironmentCommand.js +2 -2
  5. package/dist-es/commands/CreateBranchCommand.js +2 -2
  6. package/dist-es/commands/CreateDeploymentCommand.js +2 -2
  7. package/dist-es/commands/CreateDomainAssociationCommand.js +2 -2
  8. package/dist-es/commands/CreateWebhookCommand.js +2 -2
  9. package/dist-es/commands/DeleteAppCommand.js +2 -2
  10. package/dist-es/commands/DeleteBackendEnvironmentCommand.js +2 -2
  11. package/dist-es/commands/DeleteBranchCommand.js +2 -2
  12. package/dist-es/commands/DeleteDomainAssociationCommand.js +2 -2
  13. package/dist-es/commands/DeleteJobCommand.js +2 -2
  14. package/dist-es/commands/DeleteWebhookCommand.js +2 -2
  15. package/dist-es/commands/GenerateAccessLogsCommand.js +2 -2
  16. package/dist-es/commands/GetAppCommand.js +2 -2
  17. package/dist-es/commands/GetArtifactUrlCommand.js +2 -2
  18. package/dist-es/commands/GetBackendEnvironmentCommand.js +2 -2
  19. package/dist-es/commands/GetBranchCommand.js +2 -2
  20. package/dist-es/commands/GetDomainAssociationCommand.js +2 -2
  21. package/dist-es/commands/GetJobCommand.js +2 -2
  22. package/dist-es/commands/GetWebhookCommand.js +2 -2
  23. package/dist-es/commands/ListAppsCommand.js +2 -2
  24. package/dist-es/commands/ListArtifactsCommand.js +2 -2
  25. package/dist-es/commands/ListBackendEnvironmentsCommand.js +2 -2
  26. package/dist-es/commands/ListBranchesCommand.js +2 -2
  27. package/dist-es/commands/ListDomainAssociationsCommand.js +2 -2
  28. package/dist-es/commands/ListJobsCommand.js +2 -2
  29. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  30. package/dist-es/commands/ListWebhooksCommand.js +2 -2
  31. package/dist-es/commands/StartDeploymentCommand.js +2 -2
  32. package/dist-es/commands/StartJobCommand.js +2 -2
  33. package/dist-es/commands/StopJobCommand.js +2 -2
  34. package/dist-es/commands/TagResourceCommand.js +2 -2
  35. package/dist-es/commands/UntagResourceCommand.js +2 -2
  36. package/dist-es/commands/UpdateAppCommand.js +2 -2
  37. package/dist-es/commands/UpdateBranchCommand.js +2 -2
  38. package/dist-es/commands/UpdateDomainAssociationCommand.js +2 -2
  39. package/dist-es/commands/UpdateWebhookCommand.js +2 -2
  40. package/dist-es/index.js +1 -0
  41. package/dist-es/runtimeConfig.shared.js +7 -1
  42. package/dist-es/schemas/schemas_0.js +296 -268
  43. package/dist-types/AmplifyClient.d.ts +1 -10
  44. package/dist-types/index.d.ts +1 -0
  45. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  46. package/dist-types/runtimeConfig.d.ts +6 -2
  47. package/dist-types/runtimeConfig.native.d.ts +6 -2
  48. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  49. package/dist-types/schemas/schemas_0.d.ts +140 -165
  50. package/dist-types/ts3.4/AmplifyClient.d.ts +0 -4
  51. package/dist-types/ts3.4/index.d.ts +1 -0
  52. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  53. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  54. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  55. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  56. package/dist-types/ts3.4/schemas/schemas_0.d.ts +139 -166
  57. package/package.json +34 -34
@@ -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 { UpdateDomainAssociation } from "../schemas/schemas_0";
4
+ import { UpdateDomainAssociation$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateDomainAssociationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateDomainAssociationCommand extends $Command
11
11
  })
12
12
  .s("Amplify", "UpdateDomainAssociation", {})
13
13
  .n("AmplifyClient", "UpdateDomainAssociationCommand")
14
- .sc(UpdateDomainAssociation)
14
+ .sc(UpdateDomainAssociation$)
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 { UpdateWebhook } from "../schemas/schemas_0";
4
+ import { UpdateWebhook$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateWebhookCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateWebhookCommand extends $Command
11
11
  })
12
12
  .s("Amplify", "UpdateWebhook", {})
13
13
  .n("AmplifyClient", "UpdateWebhookCommand")
14
- .sc(UpdateWebhook)
14
+ .sc(UpdateWebhook$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./AmplifyClient";
2
2
  export * from "./Amplify";
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,7 +23,13 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.amplify" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.amplify",
29
+ xmlNamespace: "http://amplify.amazonaws.com",
30
+ version: "2017-07-25",
31
+ serviceTarget: "Amplify",
32
+ },
27
33
  serviceId: config?.serviceId ?? "Amplify",
28
34
  urlParser: config?.urlParser ?? parseUrl,
29
35
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,