@aws-sdk/client-appsync 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 (94) hide show
  1. package/dist-cjs/index.js +985 -677
  2. package/dist-cjs/runtimeConfig.shared.js +7 -1
  3. package/dist-es/commands/AssociateApiCommand.js +2 -2
  4. package/dist-es/commands/AssociateMergedGraphqlApiCommand.js +2 -2
  5. package/dist-es/commands/AssociateSourceGraphqlApiCommand.js +2 -2
  6. package/dist-es/commands/CreateApiCacheCommand.js +2 -2
  7. package/dist-es/commands/CreateApiCommand.js +2 -2
  8. package/dist-es/commands/CreateApiKeyCommand.js +2 -2
  9. package/dist-es/commands/CreateChannelNamespaceCommand.js +2 -2
  10. package/dist-es/commands/CreateDataSourceCommand.js +2 -2
  11. package/dist-es/commands/CreateDomainNameCommand.js +2 -2
  12. package/dist-es/commands/CreateFunctionCommand.js +2 -2
  13. package/dist-es/commands/CreateGraphqlApiCommand.js +2 -2
  14. package/dist-es/commands/CreateResolverCommand.js +2 -2
  15. package/dist-es/commands/CreateTypeCommand.js +2 -2
  16. package/dist-es/commands/DeleteApiCacheCommand.js +2 -2
  17. package/dist-es/commands/DeleteApiCommand.js +2 -2
  18. package/dist-es/commands/DeleteApiKeyCommand.js +2 -2
  19. package/dist-es/commands/DeleteChannelNamespaceCommand.js +2 -2
  20. package/dist-es/commands/DeleteDataSourceCommand.js +2 -2
  21. package/dist-es/commands/DeleteDomainNameCommand.js +2 -2
  22. package/dist-es/commands/DeleteFunctionCommand.js +2 -2
  23. package/dist-es/commands/DeleteGraphqlApiCommand.js +2 -2
  24. package/dist-es/commands/DeleteResolverCommand.js +2 -2
  25. package/dist-es/commands/DeleteTypeCommand.js +2 -2
  26. package/dist-es/commands/DisassociateApiCommand.js +2 -2
  27. package/dist-es/commands/DisassociateMergedGraphqlApiCommand.js +2 -2
  28. package/dist-es/commands/DisassociateSourceGraphqlApiCommand.js +2 -2
  29. package/dist-es/commands/EvaluateCodeCommand.js +2 -2
  30. package/dist-es/commands/EvaluateMappingTemplateCommand.js +2 -2
  31. package/dist-es/commands/FlushApiCacheCommand.js +2 -2
  32. package/dist-es/commands/GetApiAssociationCommand.js +2 -2
  33. package/dist-es/commands/GetApiCacheCommand.js +2 -2
  34. package/dist-es/commands/GetApiCommand.js +2 -2
  35. package/dist-es/commands/GetChannelNamespaceCommand.js +2 -2
  36. package/dist-es/commands/GetDataSourceCommand.js +2 -2
  37. package/dist-es/commands/GetDataSourceIntrospectionCommand.js +2 -2
  38. package/dist-es/commands/GetDomainNameCommand.js +2 -2
  39. package/dist-es/commands/GetFunctionCommand.js +2 -2
  40. package/dist-es/commands/GetGraphqlApiCommand.js +2 -2
  41. package/dist-es/commands/GetGraphqlApiEnvironmentVariablesCommand.js +2 -2
  42. package/dist-es/commands/GetIntrospectionSchemaCommand.js +2 -2
  43. package/dist-es/commands/GetResolverCommand.js +2 -2
  44. package/dist-es/commands/GetSchemaCreationStatusCommand.js +2 -2
  45. package/dist-es/commands/GetSourceApiAssociationCommand.js +2 -2
  46. package/dist-es/commands/GetTypeCommand.js +2 -2
  47. package/dist-es/commands/ListApiKeysCommand.js +2 -2
  48. package/dist-es/commands/ListApisCommand.js +2 -2
  49. package/dist-es/commands/ListChannelNamespacesCommand.js +2 -2
  50. package/dist-es/commands/ListDataSourcesCommand.js +2 -2
  51. package/dist-es/commands/ListDomainNamesCommand.js +2 -2
  52. package/dist-es/commands/ListFunctionsCommand.js +2 -2
  53. package/dist-es/commands/ListGraphqlApisCommand.js +2 -2
  54. package/dist-es/commands/ListResolversByFunctionCommand.js +2 -2
  55. package/dist-es/commands/ListResolversCommand.js +2 -2
  56. package/dist-es/commands/ListSourceApiAssociationsCommand.js +2 -2
  57. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  58. package/dist-es/commands/ListTypesByAssociationCommand.js +2 -2
  59. package/dist-es/commands/ListTypesCommand.js +2 -2
  60. package/dist-es/commands/PutGraphqlApiEnvironmentVariablesCommand.js +2 -2
  61. package/dist-es/commands/StartDataSourceIntrospectionCommand.js +2 -2
  62. package/dist-es/commands/StartSchemaCreationCommand.js +2 -2
  63. package/dist-es/commands/StartSchemaMergeCommand.js +2 -2
  64. package/dist-es/commands/TagResourceCommand.js +2 -2
  65. package/dist-es/commands/UntagResourceCommand.js +2 -2
  66. package/dist-es/commands/UpdateApiCacheCommand.js +2 -2
  67. package/dist-es/commands/UpdateApiCommand.js +2 -2
  68. package/dist-es/commands/UpdateApiKeyCommand.js +2 -2
  69. package/dist-es/commands/UpdateChannelNamespaceCommand.js +2 -2
  70. package/dist-es/commands/UpdateDataSourceCommand.js +2 -2
  71. package/dist-es/commands/UpdateDomainNameCommand.js +2 -2
  72. package/dist-es/commands/UpdateFunctionCommand.js +2 -2
  73. package/dist-es/commands/UpdateGraphqlApiCommand.js +2 -2
  74. package/dist-es/commands/UpdateResolverCommand.js +2 -2
  75. package/dist-es/commands/UpdateSourceApiAssociationCommand.js +2 -2
  76. package/dist-es/commands/UpdateTypeCommand.js +2 -2
  77. package/dist-es/index.js +1 -0
  78. package/dist-es/runtimeConfig.shared.js +7 -1
  79. package/dist-es/schemas/schemas_0.js +586 -571
  80. package/dist-types/AppSyncClient.d.ts +1 -10
  81. package/dist-types/index.d.ts +1 -0
  82. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  83. package/dist-types/runtimeConfig.d.ts +6 -2
  84. package/dist-types/runtimeConfig.native.d.ts +6 -2
  85. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  86. package/dist-types/schemas/schemas_0.d.ts +294 -320
  87. package/dist-types/ts3.4/AppSyncClient.d.ts +0 -4
  88. package/dist-types/ts3.4/index.d.ts +1 -0
  89. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  90. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  91. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  92. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  93. package/dist-types/ts3.4/schemas/schemas_0.d.ts +293 -320
  94. package/package.json +35 -35
@@ -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 { UpdateResolver } from "../schemas/schemas_0";
4
+ import { UpdateResolver$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateResolverCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateResolverCommand extends $Command
11
11
  })
12
12
  .s("AWSDeepdishControlPlaneService", "UpdateResolver", {})
13
13
  .n("AppSyncClient", "UpdateResolverCommand")
14
- .sc(UpdateResolver)
14
+ .sc(UpdateResolver$)
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 { UpdateSourceApiAssociation } from "../schemas/schemas_0";
4
+ import { UpdateSourceApiAssociation$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateSourceApiAssociationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateSourceApiAssociationCommand extends $Command
11
11
  })
12
12
  .s("AWSDeepdishControlPlaneService", "UpdateSourceApiAssociation", {})
13
13
  .n("AppSyncClient", "UpdateSourceApiAssociationCommand")
14
- .sc(UpdateSourceApiAssociation)
14
+ .sc(UpdateSourceApiAssociation$)
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 { UpdateType } from "../schemas/schemas_0";
4
+ import { UpdateType$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateTypeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateTypeCommand extends $Command
11
11
  })
12
12
  .s("AWSDeepdishControlPlaneService", "UpdateType", {})
13
13
  .n("AppSyncClient", "UpdateTypeCommand")
14
- .sc(UpdateType)
14
+ .sc(UpdateType$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./AppSyncClient";
2
2
  export * from "./AppSync";
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.appsync" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.appsync",
29
+ xmlNamespace: "http://appsync.amazonaws.com",
30
+ version: "2017-07-25",
31
+ serviceTarget: "AWSDeepdishControlPlaneService",
32
+ },
27
33
  serviceId: config?.serviceId ?? "AppSync",
28
34
  urlParser: config?.urlParser ?? parseUrl,
29
35
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,