@aws-sdk/client-appsync 3.682.0 → 3.683.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 (121) hide show
  1. package/README.md +90 -10
  2. package/dist-cjs/index.js +572 -0
  3. package/dist-es/AppSync.js +20 -0
  4. package/dist-es/commands/CreateApiCommand.js +22 -0
  5. package/dist-es/commands/CreateChannelNamespaceCommand.js +22 -0
  6. package/dist-es/commands/DeleteApiCommand.js +22 -0
  7. package/dist-es/commands/DeleteChannelNamespaceCommand.js +22 -0
  8. package/dist-es/commands/GetApiCommand.js +22 -0
  9. package/dist-es/commands/GetChannelNamespaceCommand.js +22 -0
  10. package/dist-es/commands/ListApisCommand.js +22 -0
  11. package/dist-es/commands/ListChannelNamespacesCommand.js +22 -0
  12. package/dist-es/commands/UpdateApiCommand.js +22 -0
  13. package/dist-es/commands/UpdateChannelNamespaceCommand.js +22 -0
  14. package/dist-es/commands/index.js +10 -0
  15. package/dist-es/models/models_0.js +31 -0
  16. package/dist-es/pagination/ListApisPaginator.js +4 -0
  17. package/dist-es/pagination/ListChannelNamespacesPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +2 -0
  19. package/dist-es/protocols/Aws_restJson1.js +341 -2
  20. package/dist-types/AppSync.d.ts +73 -2
  21. package/dist-types/AppSyncClient.d.ts +14 -4
  22. package/dist-types/commands/AssociateApiCommand.d.ts +4 -3
  23. package/dist-types/commands/AssociateMergedGraphqlApiCommand.d.ts +8 -6
  24. package/dist-types/commands/AssociateSourceGraphqlApiCommand.d.ts +8 -6
  25. package/dist-types/commands/CreateApiCacheCommand.d.ts +6 -5
  26. package/dist-types/commands/CreateApiCommand.d.ts +192 -0
  27. package/dist-types/commands/CreateApiKeyCommand.d.ts +4 -3
  28. package/dist-types/commands/CreateChannelNamespaceCommand.d.ts +133 -0
  29. package/dist-types/commands/CreateDataSourceCommand.d.ts +6 -5
  30. package/dist-types/commands/CreateDomainNameCommand.d.ts +2 -2
  31. package/dist-types/commands/CreateFunctionCommand.d.ts +8 -6
  32. package/dist-types/commands/CreateGraphqlApiCommand.d.ts +5 -5
  33. package/dist-types/commands/CreateResolverCommand.d.ts +8 -7
  34. package/dist-types/commands/CreateTypeCommand.d.ts +6 -5
  35. package/dist-types/commands/DeleteApiCacheCommand.d.ts +6 -5
  36. package/dist-types/commands/DeleteApiCommand.d.ts +90 -0
  37. package/dist-types/commands/DeleteApiKeyCommand.d.ts +4 -3
  38. package/dist-types/commands/DeleteChannelNamespaceCommand.d.ts +91 -0
  39. package/dist-types/commands/DeleteDataSourceCommand.d.ts +6 -5
  40. package/dist-types/commands/DeleteDomainNameCommand.d.ts +6 -5
  41. package/dist-types/commands/DeleteFunctionCommand.d.ts +6 -5
  42. package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +6 -5
  43. package/dist-types/commands/DeleteResolverCommand.d.ts +6 -5
  44. package/dist-types/commands/DeleteTypeCommand.d.ts +6 -5
  45. package/dist-types/commands/DisassociateApiCommand.d.ts +6 -5
  46. package/dist-types/commands/DisassociateMergedGraphqlApiCommand.d.ts +8 -7
  47. package/dist-types/commands/DisassociateSourceGraphqlApiCommand.d.ts +8 -7
  48. package/dist-types/commands/EvaluateCodeCommand.d.ts +8 -7
  49. package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +8 -7
  50. package/dist-types/commands/FlushApiCacheCommand.d.ts +6 -5
  51. package/dist-types/commands/GetApiAssociationCommand.d.ts +4 -3
  52. package/dist-types/commands/GetApiCacheCommand.d.ts +6 -5
  53. package/dist-types/commands/GetApiCommand.d.ts +144 -0
  54. package/dist-types/commands/GetChannelNamespaceCommand.d.ts +109 -0
  55. package/dist-types/commands/GetDataSourceCommand.d.ts +6 -5
  56. package/dist-types/commands/GetDataSourceIntrospectionCommand.d.ts +7 -6
  57. package/dist-types/commands/GetDomainNameCommand.d.ts +4 -3
  58. package/dist-types/commands/GetFunctionCommand.d.ts +4 -3
  59. package/dist-types/commands/GetGraphqlApiCommand.d.ts +4 -3
  60. package/dist-types/commands/GetGraphqlApiEnvironmentVariablesCommand.d.ts +6 -4
  61. package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +2 -1
  62. package/dist-types/commands/GetResolverCommand.d.ts +4 -3
  63. package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +4 -3
  64. package/dist-types/commands/GetSourceApiAssociationCommand.d.ts +4 -3
  65. package/dist-types/commands/GetTypeCommand.d.ts +6 -5
  66. package/dist-types/commands/ListApiKeysCommand.d.ts +8 -6
  67. package/dist-types/commands/ListApisCommand.d.ts +144 -0
  68. package/dist-types/commands/ListChannelNamespacesCommand.d.ts +114 -0
  69. package/dist-types/commands/ListDataSourcesCommand.d.ts +4 -3
  70. package/dist-types/commands/ListDomainNamesCommand.d.ts +2 -2
  71. package/dist-types/commands/ListFunctionsCommand.d.ts +4 -3
  72. package/dist-types/commands/ListGraphqlApisCommand.d.ts +2 -2
  73. package/dist-types/commands/ListResolversByFunctionCommand.d.ts +4 -3
  74. package/dist-types/commands/ListResolversCommand.d.ts +4 -3
  75. package/dist-types/commands/ListSourceApiAssociationsCommand.d.ts +4 -3
  76. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -3
  77. package/dist-types/commands/ListTypesByAssociationCommand.d.ts +6 -5
  78. package/dist-types/commands/ListTypesCommand.d.ts +6 -5
  79. package/dist-types/commands/PutGraphqlApiEnvironmentVariablesCommand.d.ts +21 -17
  80. package/dist-types/commands/StartDataSourceIntrospectionCommand.d.ts +6 -5
  81. package/dist-types/commands/StartSchemaCreationCommand.d.ts +8 -7
  82. package/dist-types/commands/StartSchemaMergeCommand.d.ts +8 -6
  83. package/dist-types/commands/TagResourceCommand.d.ts +4 -3
  84. package/dist-types/commands/UntagResourceCommand.d.ts +4 -3
  85. package/dist-types/commands/UpdateApiCacheCommand.d.ts +6 -5
  86. package/dist-types/commands/UpdateApiCommand.d.ts +192 -0
  87. package/dist-types/commands/UpdateApiKeyCommand.d.ts +4 -3
  88. package/dist-types/commands/UpdateChannelNamespaceCommand.d.ts +124 -0
  89. package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -5
  90. package/dist-types/commands/UpdateDomainNameCommand.d.ts +6 -5
  91. package/dist-types/commands/UpdateFunctionCommand.d.ts +6 -5
  92. package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +7 -6
  93. package/dist-types/commands/UpdateResolverCommand.d.ts +6 -5
  94. package/dist-types/commands/UpdateSourceApiAssociationCommand.d.ts +6 -5
  95. package/dist-types/commands/UpdateTypeCommand.d.ts +6 -5
  96. package/dist-types/commands/index.d.ts +10 -0
  97. package/dist-types/index.d.ts +2 -2
  98. package/dist-types/models/models_0.d.ts +1305 -629
  99. package/dist-types/pagination/ListApisPaginator.d.ts +7 -0
  100. package/dist-types/pagination/ListChannelNamespacesPaginator.d.ts +7 -0
  101. package/dist-types/pagination/index.d.ts +2 -0
  102. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  103. package/dist-types/ts3.4/AppSync.d.ts +171 -0
  104. package/dist-types/ts3.4/AppSyncClient.d.ts +60 -0
  105. package/dist-types/ts3.4/commands/CreateApiCommand.d.ts +47 -0
  106. package/dist-types/ts3.4/commands/CreateChannelNamespaceCommand.d.ts +51 -0
  107. package/dist-types/ts3.4/commands/DeleteApiCommand.d.ts +47 -0
  108. package/dist-types/ts3.4/commands/DeleteChannelNamespaceCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/GetApiCommand.d.ts +41 -0
  110. package/dist-types/ts3.4/commands/GetChannelNamespaceCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/ListApisCommand.d.ts +47 -0
  112. package/dist-types/ts3.4/commands/ListChannelNamespacesCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/UpdateApiCommand.d.ts +47 -0
  114. package/dist-types/ts3.4/commands/UpdateChannelNamespaceCommand.d.ts +51 -0
  115. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  116. package/dist-types/ts3.4/models/models_0.d.ts +148 -2
  117. package/dist-types/ts3.4/pagination/ListApisPaginator.d.ts +11 -0
  118. package/dist-types/ts3.4/pagination/ListChannelNamespacesPaginator.d.ts +11 -0
  119. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  120. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  121. package/package.json +1 -1
package/dist-cjs/index.js CHANGED
@@ -42,9 +42,12 @@ __export(src_exports, {
42
42
  CacheHealthMetricsConfig: () => CacheHealthMetricsConfig,
43
43
  ConcurrentModificationException: () => ConcurrentModificationException,
44
44
  ConflictDetectionType: () => ConflictDetectionType,
45
+ ConflictException: () => ConflictException,
45
46
  ConflictHandlerType: () => ConflictHandlerType,
46
47
  CreateApiCacheCommand: () => CreateApiCacheCommand,
48
+ CreateApiCommand: () => CreateApiCommand,
47
49
  CreateApiKeyCommand: () => CreateApiKeyCommand,
50
+ CreateChannelNamespaceCommand: () => CreateChannelNamespaceCommand,
48
51
  CreateDataSourceCommand: () => CreateDataSourceCommand,
49
52
  CreateDomainNameCommand: () => CreateDomainNameCommand,
50
53
  CreateFunctionCommand: () => CreateFunctionCommand,
@@ -57,7 +60,9 @@ __export(src_exports, {
57
60
  DataSourceType: () => DataSourceType,
58
61
  DefaultAction: () => DefaultAction,
59
62
  DeleteApiCacheCommand: () => DeleteApiCacheCommand,
63
+ DeleteApiCommand: () => DeleteApiCommand,
60
64
  DeleteApiKeyCommand: () => DeleteApiKeyCommand,
65
+ DeleteChannelNamespaceCommand: () => DeleteChannelNamespaceCommand,
61
66
  DeleteDataSourceCommand: () => DeleteDataSourceCommand,
62
67
  DeleteDomainNameCommand: () => DeleteDomainNameCommand,
63
68
  DeleteFunctionCommand: () => DeleteFunctionCommand,
@@ -69,10 +74,13 @@ __export(src_exports, {
69
74
  DisassociateSourceGraphqlApiCommand: () => DisassociateSourceGraphqlApiCommand,
70
75
  EvaluateCodeCommand: () => EvaluateCodeCommand,
71
76
  EvaluateMappingTemplateCommand: () => EvaluateMappingTemplateCommand,
77
+ EventLogLevel: () => EventLogLevel,
72
78
  FieldLogLevel: () => FieldLogLevel,
73
79
  FlushApiCacheCommand: () => FlushApiCacheCommand,
74
80
  GetApiAssociationCommand: () => GetApiAssociationCommand,
75
81
  GetApiCacheCommand: () => GetApiCacheCommand,
82
+ GetApiCommand: () => GetApiCommand,
83
+ GetChannelNamespaceCommand: () => GetChannelNamespaceCommand,
76
84
  GetDataSourceCommand: () => GetDataSourceCommand,
77
85
  GetDataSourceIntrospectionCommand: () => GetDataSourceIntrospectionCommand,
78
86
  GetDomainNameCommand: () => GetDomainNameCommand,
@@ -91,6 +99,8 @@ __export(src_exports, {
91
99
  InternalFailureException: () => InternalFailureException,
92
100
  LimitExceededException: () => LimitExceededException,
93
101
  ListApiKeysCommand: () => ListApiKeysCommand,
102
+ ListApisCommand: () => ListApisCommand,
103
+ ListChannelNamespacesCommand: () => ListChannelNamespacesCommand,
94
104
  ListDataSourcesCommand: () => ListDataSourcesCommand,
95
105
  ListDomainNamesCommand: () => ListDomainNamesCommand,
96
106
  ListFunctionsCommand: () => ListFunctionsCommand,
@@ -113,6 +123,7 @@ __export(src_exports, {
113
123
  ResolverLevelMetricsConfig: () => ResolverLevelMetricsConfig,
114
124
  RuntimeName: () => RuntimeName,
115
125
  SchemaStatus: () => SchemaStatus,
126
+ ServiceQuotaExceededException: () => ServiceQuotaExceededException,
116
127
  SourceApiAssociationStatus: () => SourceApiAssociationStatus,
117
128
  StartDataSourceIntrospectionCommand: () => StartDataSourceIntrospectionCommand,
118
129
  StartSchemaCreationCommand: () => StartSchemaCreationCommand,
@@ -122,7 +133,9 @@ __export(src_exports, {
122
133
  UnauthorizedException: () => UnauthorizedException,
123
134
  UntagResourceCommand: () => UntagResourceCommand,
124
135
  UpdateApiCacheCommand: () => UpdateApiCacheCommand,
136
+ UpdateApiCommand: () => UpdateApiCommand,
125
137
  UpdateApiKeyCommand: () => UpdateApiKeyCommand,
138
+ UpdateChannelNamespaceCommand: () => UpdateChannelNamespaceCommand,
126
139
  UpdateDataSourceCommand: () => UpdateDataSourceCommand,
127
140
  UpdateDomainNameCommand: () => UpdateDomainNameCommand,
128
141
  UpdateFunctionCommand: () => UpdateFunctionCommand,
@@ -132,6 +145,8 @@ __export(src_exports, {
132
145
  UpdateTypeCommand: () => UpdateTypeCommand,
133
146
  __Client: () => import_smithy_client.Client,
134
147
  paginateListApiKeys: () => paginateListApiKeys,
148
+ paginateListApis: () => paginateListApis,
149
+ paginateListChannelNamespaces: () => paginateListChannelNamespaces,
135
150
  paginateListDataSources: () => paginateListDataSources,
136
151
  paginateListDomainNames: () => paginateListDomainNames,
137
152
  paginateListFunctions: () => paginateListFunctions,
@@ -333,6 +348,13 @@ var AuthenticationType = {
333
348
  AWS_LAMBDA: "AWS_LAMBDA",
334
349
  OPENID_CONNECT: "OPENID_CONNECT"
335
350
  };
351
+ var EventLogLevel = {
352
+ ALL: "ALL",
353
+ DEBUG: "DEBUG",
354
+ ERROR: "ERROR",
355
+ INFO: "INFO",
356
+ NONE: "NONE"
357
+ };
336
358
  var AssociationStatus = {
337
359
  Failed: "FAILED",
338
360
  Processing: "PROCESSING",
@@ -548,6 +570,40 @@ var UnauthorizedException = _UnauthorizedException;
548
570
  var AuthorizationType = {
549
571
  AWS_IAM: "AWS_IAM"
550
572
  };
573
+ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends AppSyncServiceException {
574
+ /**
575
+ * @internal
576
+ */
577
+ constructor(opts) {
578
+ super({
579
+ name: "ServiceQuotaExceededException",
580
+ $fault: "client",
581
+ ...opts
582
+ });
583
+ this.name = "ServiceQuotaExceededException";
584
+ this.$fault = "client";
585
+ Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
586
+ }
587
+ };
588
+ __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
589
+ var ServiceQuotaExceededException = _ServiceQuotaExceededException;
590
+ var _ConflictException = class _ConflictException extends AppSyncServiceException {
591
+ /**
592
+ * @internal
593
+ */
594
+ constructor(opts) {
595
+ super({
596
+ name: "ConflictException",
597
+ $fault: "client",
598
+ ...opts
599
+ });
600
+ this.name = "ConflictException";
601
+ this.$fault = "client";
602
+ Object.setPrototypeOf(this, _ConflictException.prototype);
603
+ }
604
+ };
605
+ __name(_ConflictException, "ConflictException");
606
+ var ConflictException = _ConflictException;
551
607
  var DataSourceLevelMetricsConfig = {
552
608
  DISABLED: "DISABLED",
553
609
  ENABLED: "ENABLED"
@@ -714,6 +770,24 @@ var se_AssociateSourceGraphqlApiCommand = /* @__PURE__ */ __name(async (input, c
714
770
  b.m("POST").h(headers).b(body);
715
771
  return b.build();
716
772
  }, "se_AssociateSourceGraphqlApiCommand");
773
+ var se_CreateApiCommand = /* @__PURE__ */ __name(async (input, context) => {
774
+ const b = (0, import_core.requestBuilder)(input, context);
775
+ const headers = {
776
+ "content-type": "application/json"
777
+ };
778
+ b.bp("/v2/apis");
779
+ let body;
780
+ body = JSON.stringify(
781
+ (0, import_smithy_client.take)(input, {
782
+ eventConfig: (_) => (0, import_smithy_client._json)(_),
783
+ name: [],
784
+ ownerContact: [],
785
+ tags: (_) => (0, import_smithy_client._json)(_)
786
+ })
787
+ );
788
+ b.m("POST").h(headers).b(body);
789
+ return b.build();
790
+ }, "se_CreateApiCommand");
717
791
  var se_CreateApiCacheCommand = /* @__PURE__ */ __name(async (input, context) => {
718
792
  const b = (0, import_core.requestBuilder)(input, context);
719
793
  const headers = {
@@ -752,6 +826,26 @@ var se_CreateApiKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
752
826
  b.m("POST").h(headers).b(body);
753
827
  return b.build();
754
828
  }, "se_CreateApiKeyCommand");
829
+ var se_CreateChannelNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
830
+ const b = (0, import_core.requestBuilder)(input, context);
831
+ const headers = {
832
+ "content-type": "application/json"
833
+ };
834
+ b.bp("/v2/apis/{apiId}/channelNamespaces");
835
+ b.p("apiId", () => input.apiId, "{apiId}", false);
836
+ let body;
837
+ body = JSON.stringify(
838
+ (0, import_smithy_client.take)(input, {
839
+ codeHandlers: [],
840
+ name: [],
841
+ publishAuthModes: (_) => (0, import_smithy_client._json)(_),
842
+ subscribeAuthModes: (_) => (0, import_smithy_client._json)(_),
843
+ tags: (_) => (0, import_smithy_client._json)(_)
844
+ })
845
+ );
846
+ b.m("POST").h(headers).b(body);
847
+ return b.build();
848
+ }, "se_CreateChannelNamespaceCommand");
755
849
  var se_CreateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
756
850
  const b = (0, import_core.requestBuilder)(input, context);
757
851
  const headers = {
@@ -897,6 +991,15 @@ var se_CreateTypeCommand = /* @__PURE__ */ __name(async (input, context) => {
897
991
  b.m("POST").h(headers).b(body);
898
992
  return b.build();
899
993
  }, "se_CreateTypeCommand");
994
+ var se_DeleteApiCommand = /* @__PURE__ */ __name(async (input, context) => {
995
+ const b = (0, import_core.requestBuilder)(input, context);
996
+ const headers = {};
997
+ b.bp("/v2/apis/{apiId}");
998
+ b.p("apiId", () => input.apiId, "{apiId}", false);
999
+ let body;
1000
+ b.m("DELETE").h(headers).b(body);
1001
+ return b.build();
1002
+ }, "se_DeleteApiCommand");
900
1003
  var se_DeleteApiCacheCommand = /* @__PURE__ */ __name(async (input, context) => {
901
1004
  const b = (0, import_core.requestBuilder)(input, context);
902
1005
  const headers = {};
@@ -916,6 +1019,16 @@ var se_DeleteApiKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
916
1019
  b.m("DELETE").h(headers).b(body);
917
1020
  return b.build();
918
1021
  }, "se_DeleteApiKeyCommand");
1022
+ var se_DeleteChannelNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
1023
+ const b = (0, import_core.requestBuilder)(input, context);
1024
+ const headers = {};
1025
+ b.bp("/v2/apis/{apiId}/channelNamespaces/{name}");
1026
+ b.p("apiId", () => input.apiId, "{apiId}", false);
1027
+ b.p("name", () => input.name, "{name}", false);
1028
+ let body;
1029
+ b.m("DELETE").h(headers).b(body);
1030
+ return b.build();
1031
+ }, "se_DeleteChannelNamespaceCommand");
919
1032
  var se_DeleteDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
920
1033
  const b = (0, import_core.requestBuilder)(input, context);
921
1034
  const headers = {};
@@ -1047,6 +1160,15 @@ var se_FlushApiCacheCommand = /* @__PURE__ */ __name(async (input, context) => {
1047
1160
  b.m("DELETE").h(headers).b(body);
1048
1161
  return b.build();
1049
1162
  }, "se_FlushApiCacheCommand");
1163
+ var se_GetApiCommand = /* @__PURE__ */ __name(async (input, context) => {
1164
+ const b = (0, import_core.requestBuilder)(input, context);
1165
+ const headers = {};
1166
+ b.bp("/v2/apis/{apiId}");
1167
+ b.p("apiId", () => input.apiId, "{apiId}", false);
1168
+ let body;
1169
+ b.m("GET").h(headers).b(body);
1170
+ return b.build();
1171
+ }, "se_GetApiCommand");
1050
1172
  var se_GetApiAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
1051
1173
  const b = (0, import_core.requestBuilder)(input, context);
1052
1174
  const headers = {};
@@ -1065,6 +1187,16 @@ var se_GetApiCacheCommand = /* @__PURE__ */ __name(async (input, context) => {
1065
1187
  b.m("GET").h(headers).b(body);
1066
1188
  return b.build();
1067
1189
  }, "se_GetApiCacheCommand");
1190
+ var se_GetChannelNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
1191
+ const b = (0, import_core.requestBuilder)(input, context);
1192
+ const headers = {};
1193
+ b.bp("/v2/apis/{apiId}/channelNamespaces/{name}");
1194
+ b.p("apiId", () => input.apiId, "{apiId}", false);
1195
+ b.p("name", () => input.name, "{name}", false);
1196
+ let body;
1197
+ b.m("GET").h(headers).b(body);
1198
+ return b.build();
1199
+ }, "se_GetChannelNamespaceCommand");
1068
1200
  var se_GetDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1069
1201
  const b = (0, import_core.requestBuilder)(input, context);
1070
1202
  const headers = {};
@@ -1195,6 +1327,31 @@ var se_ListApiKeysCommand = /* @__PURE__ */ __name(async (input, context) => {
1195
1327
  b.m("GET").h(headers).q(query).b(body);
1196
1328
  return b.build();
1197
1329
  }, "se_ListApiKeysCommand");
1330
+ var se_ListApisCommand = /* @__PURE__ */ __name(async (input, context) => {
1331
+ const b = (0, import_core.requestBuilder)(input, context);
1332
+ const headers = {};
1333
+ b.bp("/v2/apis");
1334
+ const query = (0, import_smithy_client.map)({
1335
+ [_nT]: [, input[_nT]],
1336
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
1337
+ });
1338
+ let body;
1339
+ b.m("GET").h(headers).q(query).b(body);
1340
+ return b.build();
1341
+ }, "se_ListApisCommand");
1342
+ var se_ListChannelNamespacesCommand = /* @__PURE__ */ __name(async (input, context) => {
1343
+ const b = (0, import_core.requestBuilder)(input, context);
1344
+ const headers = {};
1345
+ b.bp("/v2/apis/{apiId}/channelNamespaces");
1346
+ b.p("apiId", () => input.apiId, "{apiId}", false);
1347
+ const query = (0, import_smithy_client.map)({
1348
+ [_nT]: [, input[_nT]],
1349
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
1350
+ });
1351
+ let body;
1352
+ b.m("GET").h(headers).q(query).b(body);
1353
+ return b.build();
1354
+ }, "se_ListChannelNamespacesCommand");
1198
1355
  var se_ListDataSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
1199
1356
  const b = (0, import_core.requestBuilder)(input, context);
1200
1357
  const headers = {};
@@ -1411,6 +1568,24 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1411
1568
  b.m("DELETE").h(headers).q(query).b(body);
1412
1569
  return b.build();
1413
1570
  }, "se_UntagResourceCommand");
1571
+ var se_UpdateApiCommand = /* @__PURE__ */ __name(async (input, context) => {
1572
+ const b = (0, import_core.requestBuilder)(input, context);
1573
+ const headers = {
1574
+ "content-type": "application/json"
1575
+ };
1576
+ b.bp("/v2/apis/{apiId}");
1577
+ b.p("apiId", () => input.apiId, "{apiId}", false);
1578
+ let body;
1579
+ body = JSON.stringify(
1580
+ (0, import_smithy_client.take)(input, {
1581
+ eventConfig: (_) => (0, import_smithy_client._json)(_),
1582
+ name: [],
1583
+ ownerContact: []
1584
+ })
1585
+ );
1586
+ b.m("POST").h(headers).b(body);
1587
+ return b.build();
1588
+ }, "se_UpdateApiCommand");
1414
1589
  var se_UpdateApiCacheCommand = /* @__PURE__ */ __name(async (input, context) => {
1415
1590
  const b = (0, import_core.requestBuilder)(input, context);
1416
1591
  const headers = {
@@ -1448,6 +1623,25 @@ var se_UpdateApiKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
1448
1623
  b.m("POST").h(headers).b(body);
1449
1624
  return b.build();
1450
1625
  }, "se_UpdateApiKeyCommand");
1626
+ var se_UpdateChannelNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
1627
+ const b = (0, import_core.requestBuilder)(input, context);
1628
+ const headers = {
1629
+ "content-type": "application/json"
1630
+ };
1631
+ b.bp("/v2/apis/{apiId}/channelNamespaces/{name}");
1632
+ b.p("apiId", () => input.apiId, "{apiId}", false);
1633
+ b.p("name", () => input.name, "{name}", false);
1634
+ let body;
1635
+ body = JSON.stringify(
1636
+ (0, import_smithy_client.take)(input, {
1637
+ codeHandlers: [],
1638
+ publishAuthModes: (_) => (0, import_smithy_client._json)(_),
1639
+ subscribeAuthModes: (_) => (0, import_smithy_client._json)(_)
1640
+ })
1641
+ );
1642
+ b.m("POST").h(headers).b(body);
1643
+ return b.build();
1644
+ }, "se_UpdateChannelNamespaceCommand");
1451
1645
  var se_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1452
1646
  const b = (0, import_core.requestBuilder)(input, context);
1453
1647
  const headers = {
@@ -1652,6 +1846,20 @@ var de_AssociateSourceGraphqlApiCommand = /* @__PURE__ */ __name(async (output,
1652
1846
  Object.assign(contents, doc);
1653
1847
  return contents;
1654
1848
  }, "de_AssociateSourceGraphqlApiCommand");
1849
+ var de_CreateApiCommand = /* @__PURE__ */ __name(async (output, context) => {
1850
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1851
+ return de_CommandError(output, context);
1852
+ }
1853
+ const contents = (0, import_smithy_client.map)({
1854
+ $metadata: deserializeMetadata(output)
1855
+ });
1856
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1857
+ const doc = (0, import_smithy_client.take)(data, {
1858
+ api: (_) => de_Api(_, context)
1859
+ });
1860
+ Object.assign(contents, doc);
1861
+ return contents;
1862
+ }, "de_CreateApiCommand");
1655
1863
  var de_CreateApiCacheCommand = /* @__PURE__ */ __name(async (output, context) => {
1656
1864
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1657
1865
  return de_CommandError(output, context);
@@ -1680,6 +1888,20 @@ var de_CreateApiKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
1680
1888
  Object.assign(contents, doc);
1681
1889
  return contents;
1682
1890
  }, "de_CreateApiKeyCommand");
1891
+ var de_CreateChannelNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
1892
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1893
+ return de_CommandError(output, context);
1894
+ }
1895
+ const contents = (0, import_smithy_client.map)({
1896
+ $metadata: deserializeMetadata(output)
1897
+ });
1898
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1899
+ const doc = (0, import_smithy_client.take)(data, {
1900
+ channelNamespace: (_) => de_ChannelNamespace(_, context)
1901
+ });
1902
+ Object.assign(contents, doc);
1903
+ return contents;
1904
+ }, "de_CreateChannelNamespaceCommand");
1683
1905
  var de_CreateDataSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1684
1906
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1685
1907
  return de_CommandError(output, context);
@@ -1764,6 +1986,16 @@ var de_CreateTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
1764
1986
  Object.assign(contents, doc);
1765
1987
  return contents;
1766
1988
  }, "de_CreateTypeCommand");
1989
+ var de_DeleteApiCommand = /* @__PURE__ */ __name(async (output, context) => {
1990
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1991
+ return de_CommandError(output, context);
1992
+ }
1993
+ const contents = (0, import_smithy_client.map)({
1994
+ $metadata: deserializeMetadata(output)
1995
+ });
1996
+ await (0, import_smithy_client.collectBody)(output.body, context);
1997
+ return contents;
1998
+ }, "de_DeleteApiCommand");
1767
1999
  var de_DeleteApiCacheCommand = /* @__PURE__ */ __name(async (output, context) => {
1768
2000
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1769
2001
  return de_CommandError(output, context);
@@ -1784,6 +2016,16 @@ var de_DeleteApiKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
1784
2016
  await (0, import_smithy_client.collectBody)(output.body, context);
1785
2017
  return contents;
1786
2018
  }, "de_DeleteApiKeyCommand");
2019
+ var de_DeleteChannelNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
2020
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2021
+ return de_CommandError(output, context);
2022
+ }
2023
+ const contents = (0, import_smithy_client.map)({
2024
+ $metadata: deserializeMetadata(output)
2025
+ });
2026
+ await (0, import_smithy_client.collectBody)(output.body, context);
2027
+ return contents;
2028
+ }, "de_DeleteChannelNamespaceCommand");
1787
2029
  var de_DeleteDataSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1788
2030
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1789
2031
  return de_CommandError(output, context);
@@ -1924,6 +2166,20 @@ var de_FlushApiCacheCommand = /* @__PURE__ */ __name(async (output, context) =>
1924
2166
  await (0, import_smithy_client.collectBody)(output.body, context);
1925
2167
  return contents;
1926
2168
  }, "de_FlushApiCacheCommand");
2169
+ var de_GetApiCommand = /* @__PURE__ */ __name(async (output, context) => {
2170
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2171
+ return de_CommandError(output, context);
2172
+ }
2173
+ const contents = (0, import_smithy_client.map)({
2174
+ $metadata: deserializeMetadata(output)
2175
+ });
2176
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2177
+ const doc = (0, import_smithy_client.take)(data, {
2178
+ api: (_) => de_Api(_, context)
2179
+ });
2180
+ Object.assign(contents, doc);
2181
+ return contents;
2182
+ }, "de_GetApiCommand");
1927
2183
  var de_GetApiAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
1928
2184
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1929
2185
  return de_CommandError(output, context);
@@ -1952,6 +2208,20 @@ var de_GetApiCacheCommand = /* @__PURE__ */ __name(async (output, context) => {
1952
2208
  Object.assign(contents, doc);
1953
2209
  return contents;
1954
2210
  }, "de_GetApiCacheCommand");
2211
+ var de_GetChannelNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
2212
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2213
+ return de_CommandError(output, context);
2214
+ }
2215
+ const contents = (0, import_smithy_client.map)({
2216
+ $metadata: deserializeMetadata(output)
2217
+ });
2218
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2219
+ const doc = (0, import_smithy_client.take)(data, {
2220
+ channelNamespace: (_) => de_ChannelNamespace(_, context)
2221
+ });
2222
+ Object.assign(contents, doc);
2223
+ return contents;
2224
+ }, "de_GetChannelNamespaceCommand");
1955
2225
  var de_GetDataSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1956
2226
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1957
2227
  return de_CommandError(output, context);
@@ -2122,6 +2392,36 @@ var de_ListApiKeysCommand = /* @__PURE__ */ __name(async (output, context) => {
2122
2392
  Object.assign(contents, doc);
2123
2393
  return contents;
2124
2394
  }, "de_ListApiKeysCommand");
2395
+ var de_ListApisCommand = /* @__PURE__ */ __name(async (output, context) => {
2396
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2397
+ return de_CommandError(output, context);
2398
+ }
2399
+ const contents = (0, import_smithy_client.map)({
2400
+ $metadata: deserializeMetadata(output)
2401
+ });
2402
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2403
+ const doc = (0, import_smithy_client.take)(data, {
2404
+ apis: (_) => de_Apis(_, context),
2405
+ nextToken: import_smithy_client.expectString
2406
+ });
2407
+ Object.assign(contents, doc);
2408
+ return contents;
2409
+ }, "de_ListApisCommand");
2410
+ var de_ListChannelNamespacesCommand = /* @__PURE__ */ __name(async (output, context) => {
2411
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2412
+ return de_CommandError(output, context);
2413
+ }
2414
+ const contents = (0, import_smithy_client.map)({
2415
+ $metadata: deserializeMetadata(output)
2416
+ });
2417
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2418
+ const doc = (0, import_smithy_client.take)(data, {
2419
+ channelNamespaces: (_) => de_ChannelNamespaces(_, context),
2420
+ nextToken: import_smithy_client.expectString
2421
+ });
2422
+ Object.assign(contents, doc);
2423
+ return contents;
2424
+ }, "de_ListChannelNamespacesCommand");
2125
2425
  var de_ListDataSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
2126
2426
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2127
2427
  return de_CommandError(output, context);
@@ -2349,6 +2649,20 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
2349
2649
  await (0, import_smithy_client.collectBody)(output.body, context);
2350
2650
  return contents;
2351
2651
  }, "de_UntagResourceCommand");
2652
+ var de_UpdateApiCommand = /* @__PURE__ */ __name(async (output, context) => {
2653
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2654
+ return de_CommandError(output, context);
2655
+ }
2656
+ const contents = (0, import_smithy_client.map)({
2657
+ $metadata: deserializeMetadata(output)
2658
+ });
2659
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2660
+ const doc = (0, import_smithy_client.take)(data, {
2661
+ api: (_) => de_Api(_, context)
2662
+ });
2663
+ Object.assign(contents, doc);
2664
+ return contents;
2665
+ }, "de_UpdateApiCommand");
2352
2666
  var de_UpdateApiCacheCommand = /* @__PURE__ */ __name(async (output, context) => {
2353
2667
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2354
2668
  return de_CommandError(output, context);
@@ -2377,6 +2691,20 @@ var de_UpdateApiKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
2377
2691
  Object.assign(contents, doc);
2378
2692
  return contents;
2379
2693
  }, "de_UpdateApiKeyCommand");
2694
+ var de_UpdateChannelNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
2695
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2696
+ return de_CommandError(output, context);
2697
+ }
2698
+ const contents = (0, import_smithy_client.map)({
2699
+ $metadata: deserializeMetadata(output)
2700
+ });
2701
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2702
+ const doc = (0, import_smithy_client.take)(data, {
2703
+ channelNamespace: (_) => de_ChannelNamespace(_, context)
2704
+ });
2705
+ Object.assign(contents, doc);
2706
+ return contents;
2707
+ }, "de_UpdateChannelNamespaceCommand");
2380
2708
  var de_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2381
2709
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2382
2710
  return de_CommandError(output, context);
@@ -2503,12 +2831,18 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
2503
2831
  case "UnauthorizedException":
2504
2832
  case "com.amazonaws.appsync#UnauthorizedException":
2505
2833
  throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2834
+ case "ServiceQuotaExceededException":
2835
+ case "com.amazonaws.appsync#ServiceQuotaExceededException":
2836
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2506
2837
  case "ApiKeyLimitExceededException":
2507
2838
  case "com.amazonaws.appsync#ApiKeyLimitExceededException":
2508
2839
  throw await de_ApiKeyLimitExceededExceptionRes(parsedOutput, context);
2509
2840
  case "ApiKeyValidityOutOfBoundsException":
2510
2841
  case "com.amazonaws.appsync#ApiKeyValidityOutOfBoundsException":
2511
2842
  throw await de_ApiKeyValidityOutOfBoundsExceptionRes(parsedOutput, context);
2843
+ case "ConflictException":
2844
+ case "com.amazonaws.appsync#ConflictException":
2845
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2512
2846
  case "ApiLimitExceededException":
2513
2847
  case "com.amazonaws.appsync#ApiLimitExceededException":
2514
2848
  throw await de_ApiLimitExceededExceptionRes(parsedOutput, context);
@@ -2605,6 +2939,19 @@ var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsed
2605
2939
  });
2606
2940
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2607
2941
  }, "de_ConcurrentModificationExceptionRes");
2942
+ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2943
+ const contents = (0, import_smithy_client.map)({});
2944
+ const data = parsedOutput.body;
2945
+ const doc = (0, import_smithy_client.take)(data, {
2946
+ message: import_smithy_client.expectString
2947
+ });
2948
+ Object.assign(contents, doc);
2949
+ const exception = new ConflictException({
2950
+ $metadata: deserializeMetadata(parsedOutput),
2951
+ ...contents
2952
+ });
2953
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2954
+ }, "de_ConflictExceptionRes");
2608
2955
  var de_GraphQLSchemaExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2609
2956
  const contents = (0, import_smithy_client.map)({});
2610
2957
  const data = parsedOutput.body;
@@ -2657,6 +3004,19 @@ var de_NotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, contex
2657
3004
  });
2658
3005
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2659
3006
  }, "de_NotFoundExceptionRes");
3007
+ var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3008
+ const contents = (0, import_smithy_client.map)({});
3009
+ const data = parsedOutput.body;
3010
+ const doc = (0, import_smithy_client.take)(data, {
3011
+ message: import_smithy_client.expectString
3012
+ });
3013
+ Object.assign(contents, doc);
3014
+ const exception = new ServiceQuotaExceededException({
3015
+ $metadata: deserializeMetadata(parsedOutput),
3016
+ ...contents
3017
+ });
3018
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
3019
+ }, "de_ServiceQuotaExceededExceptionRes");
2660
3020
  var de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2661
3021
  const contents = (0, import_smithy_client.map)({});
2662
3022
  const data = parsedOutput.body;
@@ -2670,6 +3030,45 @@ var de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, co
2670
3030
  });
2671
3031
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2672
3032
  }, "de_UnauthorizedExceptionRes");
3033
+ var de_Api = /* @__PURE__ */ __name((output, context) => {
3034
+ return (0, import_smithy_client.take)(output, {
3035
+ apiArn: import_smithy_client.expectString,
3036
+ apiId: import_smithy_client.expectString,
3037
+ created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3038
+ dns: import_smithy_client._json,
3039
+ eventConfig: import_smithy_client._json,
3040
+ name: import_smithy_client.expectString,
3041
+ ownerContact: import_smithy_client.expectString,
3042
+ tags: import_smithy_client._json,
3043
+ wafWebAclArn: import_smithy_client.expectString,
3044
+ xrayEnabled: import_smithy_client.expectBoolean
3045
+ });
3046
+ }, "de_Api");
3047
+ var de_Apis = /* @__PURE__ */ __name((output, context) => {
3048
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3049
+ return de_Api(entry, context);
3050
+ });
3051
+ return retVal;
3052
+ }, "de_Apis");
3053
+ var de_ChannelNamespace = /* @__PURE__ */ __name((output, context) => {
3054
+ return (0, import_smithy_client.take)(output, {
3055
+ apiId: import_smithy_client.expectString,
3056
+ channelNamespaceArn: import_smithy_client.expectString,
3057
+ codeHandlers: import_smithy_client.expectString,
3058
+ created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3059
+ lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3060
+ name: import_smithy_client.expectString,
3061
+ publishAuthModes: import_smithy_client._json,
3062
+ subscribeAuthModes: import_smithy_client._json,
3063
+ tags: import_smithy_client._json
3064
+ });
3065
+ }, "de_ChannelNamespace");
3066
+ var de_ChannelNamespaces = /* @__PURE__ */ __name((output, context) => {
3067
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3068
+ return de_ChannelNamespace(entry, context);
3069
+ });
3070
+ return retVal;
3071
+ }, "de_ChannelNamespaces");
2673
3072
  var de_DataSourceIntrospectionModel = /* @__PURE__ */ __name((output, context) => {
2674
3073
  return (0, import_smithy_client.take)(output, {
2675
3074
  fields: (_) => de_DataSourceIntrospectionModelFields(_, context),
@@ -2795,6 +3194,20 @@ var _CreateApiCacheCommand = class _CreateApiCacheCommand extends import_smithy_
2795
3194
  __name(_CreateApiCacheCommand, "CreateApiCacheCommand");
2796
3195
  var CreateApiCacheCommand = _CreateApiCacheCommand;
2797
3196
 
3197
+ // src/commands/CreateApiCommand.ts
3198
+
3199
+
3200
+
3201
+ var _CreateApiCommand = class _CreateApiCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3202
+ return [
3203
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3204
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3205
+ ];
3206
+ }).s("AWSDeepdishControlPlaneService", "CreateApi", {}).n("AppSyncClient", "CreateApiCommand").f(void 0, void 0).ser(se_CreateApiCommand).de(de_CreateApiCommand).build() {
3207
+ };
3208
+ __name(_CreateApiCommand, "CreateApiCommand");
3209
+ var CreateApiCommand = _CreateApiCommand;
3210
+
2798
3211
  // src/commands/CreateApiKeyCommand.ts
2799
3212
 
2800
3213
 
@@ -2809,6 +3222,20 @@ var _CreateApiKeyCommand = class _CreateApiKeyCommand extends import_smithy_clie
2809
3222
  __name(_CreateApiKeyCommand, "CreateApiKeyCommand");
2810
3223
  var CreateApiKeyCommand = _CreateApiKeyCommand;
2811
3224
 
3225
+ // src/commands/CreateChannelNamespaceCommand.ts
3226
+
3227
+
3228
+
3229
+ var _CreateChannelNamespaceCommand = class _CreateChannelNamespaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3230
+ return [
3231
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3232
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3233
+ ];
3234
+ }).s("AWSDeepdishControlPlaneService", "CreateChannelNamespace", {}).n("AppSyncClient", "CreateChannelNamespaceCommand").f(void 0, void 0).ser(se_CreateChannelNamespaceCommand).de(de_CreateChannelNamespaceCommand).build() {
3235
+ };
3236
+ __name(_CreateChannelNamespaceCommand, "CreateChannelNamespaceCommand");
3237
+ var CreateChannelNamespaceCommand = _CreateChannelNamespaceCommand;
3238
+
2812
3239
  // src/commands/CreateDataSourceCommand.ts
2813
3240
 
2814
3241
 
@@ -2907,6 +3334,20 @@ var _DeleteApiCacheCommand = class _DeleteApiCacheCommand extends import_smithy_
2907
3334
  __name(_DeleteApiCacheCommand, "DeleteApiCacheCommand");
2908
3335
  var DeleteApiCacheCommand = _DeleteApiCacheCommand;
2909
3336
 
3337
+ // src/commands/DeleteApiCommand.ts
3338
+
3339
+
3340
+
3341
+ var _DeleteApiCommand = class _DeleteApiCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3342
+ return [
3343
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3344
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3345
+ ];
3346
+ }).s("AWSDeepdishControlPlaneService", "DeleteApi", {}).n("AppSyncClient", "DeleteApiCommand").f(void 0, void 0).ser(se_DeleteApiCommand).de(de_DeleteApiCommand).build() {
3347
+ };
3348
+ __name(_DeleteApiCommand, "DeleteApiCommand");
3349
+ var DeleteApiCommand = _DeleteApiCommand;
3350
+
2910
3351
  // src/commands/DeleteApiKeyCommand.ts
2911
3352
 
2912
3353
 
@@ -2921,6 +3362,20 @@ var _DeleteApiKeyCommand = class _DeleteApiKeyCommand extends import_smithy_clie
2921
3362
  __name(_DeleteApiKeyCommand, "DeleteApiKeyCommand");
2922
3363
  var DeleteApiKeyCommand = _DeleteApiKeyCommand;
2923
3364
 
3365
+ // src/commands/DeleteChannelNamespaceCommand.ts
3366
+
3367
+
3368
+
3369
+ var _DeleteChannelNamespaceCommand = class _DeleteChannelNamespaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3370
+ return [
3371
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3372
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3373
+ ];
3374
+ }).s("AWSDeepdishControlPlaneService", "DeleteChannelNamespace", {}).n("AppSyncClient", "DeleteChannelNamespaceCommand").f(void 0, void 0).ser(se_DeleteChannelNamespaceCommand).de(de_DeleteChannelNamespaceCommand).build() {
3375
+ };
3376
+ __name(_DeleteChannelNamespaceCommand, "DeleteChannelNamespaceCommand");
3377
+ var DeleteChannelNamespaceCommand = _DeleteChannelNamespaceCommand;
3378
+
2924
3379
  // src/commands/DeleteDataSourceCommand.ts
2925
3380
 
2926
3381
 
@@ -3117,6 +3572,34 @@ var _GetApiCacheCommand = class _GetApiCacheCommand extends import_smithy_client
3117
3572
  __name(_GetApiCacheCommand, "GetApiCacheCommand");
3118
3573
  var GetApiCacheCommand = _GetApiCacheCommand;
3119
3574
 
3575
+ // src/commands/GetApiCommand.ts
3576
+
3577
+
3578
+
3579
+ var _GetApiCommand = class _GetApiCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3580
+ return [
3581
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3582
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3583
+ ];
3584
+ }).s("AWSDeepdishControlPlaneService", "GetApi", {}).n("AppSyncClient", "GetApiCommand").f(void 0, void 0).ser(se_GetApiCommand).de(de_GetApiCommand).build() {
3585
+ };
3586
+ __name(_GetApiCommand, "GetApiCommand");
3587
+ var GetApiCommand = _GetApiCommand;
3588
+
3589
+ // src/commands/GetChannelNamespaceCommand.ts
3590
+
3591
+
3592
+
3593
+ var _GetChannelNamespaceCommand = class _GetChannelNamespaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3594
+ return [
3595
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3596
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3597
+ ];
3598
+ }).s("AWSDeepdishControlPlaneService", "GetChannelNamespace", {}).n("AppSyncClient", "GetChannelNamespaceCommand").f(void 0, void 0).ser(se_GetChannelNamespaceCommand).de(de_GetChannelNamespaceCommand).build() {
3599
+ };
3600
+ __name(_GetChannelNamespaceCommand, "GetChannelNamespaceCommand");
3601
+ var GetChannelNamespaceCommand = _GetChannelNamespaceCommand;
3602
+
3120
3603
  // src/commands/GetDataSourceCommand.ts
3121
3604
 
3122
3605
 
@@ -3285,6 +3768,34 @@ var _ListApiKeysCommand = class _ListApiKeysCommand extends import_smithy_client
3285
3768
  __name(_ListApiKeysCommand, "ListApiKeysCommand");
3286
3769
  var ListApiKeysCommand = _ListApiKeysCommand;
3287
3770
 
3771
+ // src/commands/ListApisCommand.ts
3772
+
3773
+
3774
+
3775
+ var _ListApisCommand = class _ListApisCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3776
+ return [
3777
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3778
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3779
+ ];
3780
+ }).s("AWSDeepdishControlPlaneService", "ListApis", {}).n("AppSyncClient", "ListApisCommand").f(void 0, void 0).ser(se_ListApisCommand).de(de_ListApisCommand).build() {
3781
+ };
3782
+ __name(_ListApisCommand, "ListApisCommand");
3783
+ var ListApisCommand = _ListApisCommand;
3784
+
3785
+ // src/commands/ListChannelNamespacesCommand.ts
3786
+
3787
+
3788
+
3789
+ var _ListChannelNamespacesCommand = class _ListChannelNamespacesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3790
+ return [
3791
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3792
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3793
+ ];
3794
+ }).s("AWSDeepdishControlPlaneService", "ListChannelNamespaces", {}).n("AppSyncClient", "ListChannelNamespacesCommand").f(void 0, void 0).ser(se_ListChannelNamespacesCommand).de(de_ListChannelNamespacesCommand).build() {
3795
+ };
3796
+ __name(_ListChannelNamespacesCommand, "ListChannelNamespacesCommand");
3797
+ var ListChannelNamespacesCommand = _ListChannelNamespacesCommand;
3798
+
3288
3799
  // src/commands/ListDataSourcesCommand.ts
3289
3800
 
3290
3801
 
@@ -3523,6 +4034,20 @@ var _UpdateApiCacheCommand = class _UpdateApiCacheCommand extends import_smithy_
3523
4034
  __name(_UpdateApiCacheCommand, "UpdateApiCacheCommand");
3524
4035
  var UpdateApiCacheCommand = _UpdateApiCacheCommand;
3525
4036
 
4037
+ // src/commands/UpdateApiCommand.ts
4038
+
4039
+
4040
+
4041
+ var _UpdateApiCommand = class _UpdateApiCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4042
+ return [
4043
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4044
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4045
+ ];
4046
+ }).s("AWSDeepdishControlPlaneService", "UpdateApi", {}).n("AppSyncClient", "UpdateApiCommand").f(void 0, void 0).ser(se_UpdateApiCommand).de(de_UpdateApiCommand).build() {
4047
+ };
4048
+ __name(_UpdateApiCommand, "UpdateApiCommand");
4049
+ var UpdateApiCommand = _UpdateApiCommand;
4050
+
3526
4051
  // src/commands/UpdateApiKeyCommand.ts
3527
4052
 
3528
4053
 
@@ -3537,6 +4062,20 @@ var _UpdateApiKeyCommand = class _UpdateApiKeyCommand extends import_smithy_clie
3537
4062
  __name(_UpdateApiKeyCommand, "UpdateApiKeyCommand");
3538
4063
  var UpdateApiKeyCommand = _UpdateApiKeyCommand;
3539
4064
 
4065
+ // src/commands/UpdateChannelNamespaceCommand.ts
4066
+
4067
+
4068
+
4069
+ var _UpdateChannelNamespaceCommand = class _UpdateChannelNamespaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4070
+ return [
4071
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4072
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4073
+ ];
4074
+ }).s("AWSDeepdishControlPlaneService", "UpdateChannelNamespace", {}).n("AppSyncClient", "UpdateChannelNamespaceCommand").f(void 0, void 0).ser(se_UpdateChannelNamespaceCommand).de(de_UpdateChannelNamespaceCommand).build() {
4075
+ };
4076
+ __name(_UpdateChannelNamespaceCommand, "UpdateChannelNamespaceCommand");
4077
+ var UpdateChannelNamespaceCommand = _UpdateChannelNamespaceCommand;
4078
+
3540
4079
  // src/commands/UpdateDataSourceCommand.ts
3541
4080
 
3542
4081
 
@@ -3640,16 +4179,20 @@ var commands = {
3640
4179
  AssociateApiCommand,
3641
4180
  AssociateMergedGraphqlApiCommand,
3642
4181
  AssociateSourceGraphqlApiCommand,
4182
+ CreateApiCommand,
3643
4183
  CreateApiCacheCommand,
3644
4184
  CreateApiKeyCommand,
4185
+ CreateChannelNamespaceCommand,
3645
4186
  CreateDataSourceCommand,
3646
4187
  CreateDomainNameCommand,
3647
4188
  CreateFunctionCommand,
3648
4189
  CreateGraphqlApiCommand,
3649
4190
  CreateResolverCommand,
3650
4191
  CreateTypeCommand,
4192
+ DeleteApiCommand,
3651
4193
  DeleteApiCacheCommand,
3652
4194
  DeleteApiKeyCommand,
4195
+ DeleteChannelNamespaceCommand,
3653
4196
  DeleteDataSourceCommand,
3654
4197
  DeleteDomainNameCommand,
3655
4198
  DeleteFunctionCommand,
@@ -3662,8 +4205,10 @@ var commands = {
3662
4205
  EvaluateCodeCommand,
3663
4206
  EvaluateMappingTemplateCommand,
3664
4207
  FlushApiCacheCommand,
4208
+ GetApiCommand,
3665
4209
  GetApiAssociationCommand,
3666
4210
  GetApiCacheCommand,
4211
+ GetChannelNamespaceCommand,
3667
4212
  GetDataSourceCommand,
3668
4213
  GetDataSourceIntrospectionCommand,
3669
4214
  GetDomainNameCommand,
@@ -3676,6 +4221,8 @@ var commands = {
3676
4221
  GetSourceApiAssociationCommand,
3677
4222
  GetTypeCommand,
3678
4223
  ListApiKeysCommand,
4224
+ ListApisCommand,
4225
+ ListChannelNamespacesCommand,
3679
4226
  ListDataSourcesCommand,
3680
4227
  ListDomainNamesCommand,
3681
4228
  ListFunctionsCommand,
@@ -3692,8 +4239,10 @@ var commands = {
3692
4239
  StartSchemaMergeCommand,
3693
4240
  TagResourceCommand,
3694
4241
  UntagResourceCommand,
4242
+ UpdateApiCommand,
3695
4243
  UpdateApiCacheCommand,
3696
4244
  UpdateApiKeyCommand,
4245
+ UpdateChannelNamespaceCommand,
3697
4246
  UpdateDataSourceCommand,
3698
4247
  UpdateDomainNameCommand,
3699
4248
  UpdateFunctionCommand,
@@ -3712,6 +4261,14 @@ var AppSync = _AppSync;
3712
4261
 
3713
4262
  var paginateListApiKeys = (0, import_core.createPaginator)(AppSyncClient, ListApiKeysCommand, "nextToken", "nextToken", "maxResults");
3714
4263
 
4264
+ // src/pagination/ListApisPaginator.ts
4265
+
4266
+ var paginateListApis = (0, import_core.createPaginator)(AppSyncClient, ListApisCommand, "nextToken", "nextToken", "maxResults");
4267
+
4268
+ // src/pagination/ListChannelNamespacesPaginator.ts
4269
+
4270
+ var paginateListChannelNamespaces = (0, import_core.createPaginator)(AppSyncClient, ListChannelNamespacesCommand, "nextToken", "nextToken", "maxResults");
4271
+
3715
4272
  // src/pagination/ListDataSourcesPaginator.ts
3716
4273
 
3717
4274
  var paginateListDataSources = (0, import_core.createPaginator)(AppSyncClient, ListDataSourcesCommand, "nextToken", "nextToken", "maxResults");
@@ -3759,7 +4316,9 @@ var paginateListTypes = (0, import_core.createPaginator)(AppSyncClient, ListType
3759
4316
  AssociateMergedGraphqlApiCommand,
3760
4317
  AssociateSourceGraphqlApiCommand,
3761
4318
  CreateApiCacheCommand,
4319
+ CreateApiCommand,
3762
4320
  CreateApiKeyCommand,
4321
+ CreateChannelNamespaceCommand,
3763
4322
  CreateDataSourceCommand,
3764
4323
  CreateDomainNameCommand,
3765
4324
  CreateFunctionCommand,
@@ -3767,7 +4326,9 @@ var paginateListTypes = (0, import_core.createPaginator)(AppSyncClient, ListType
3767
4326
  CreateResolverCommand,
3768
4327
  CreateTypeCommand,
3769
4328
  DeleteApiCacheCommand,
4329
+ DeleteApiCommand,
3770
4330
  DeleteApiKeyCommand,
4331
+ DeleteChannelNamespaceCommand,
3771
4332
  DeleteDataSourceCommand,
3772
4333
  DeleteDomainNameCommand,
3773
4334
  DeleteFunctionCommand,
@@ -3782,6 +4343,8 @@ var paginateListTypes = (0, import_core.createPaginator)(AppSyncClient, ListType
3782
4343
  FlushApiCacheCommand,
3783
4344
  GetApiAssociationCommand,
3784
4345
  GetApiCacheCommand,
4346
+ GetApiCommand,
4347
+ GetChannelNamespaceCommand,
3785
4348
  GetDataSourceCommand,
3786
4349
  GetDataSourceIntrospectionCommand,
3787
4350
  GetDomainNameCommand,
@@ -3794,6 +4357,8 @@ var paginateListTypes = (0, import_core.createPaginator)(AppSyncClient, ListType
3794
4357
  GetSourceApiAssociationCommand,
3795
4358
  GetTypeCommand,
3796
4359
  ListApiKeysCommand,
4360
+ ListApisCommand,
4361
+ ListChannelNamespacesCommand,
3797
4362
  ListDataSourcesCommand,
3798
4363
  ListDomainNamesCommand,
3799
4364
  ListFunctionsCommand,
@@ -3811,7 +4376,9 @@ var paginateListTypes = (0, import_core.createPaginator)(AppSyncClient, ListType
3811
4376
  TagResourceCommand,
3812
4377
  UntagResourceCommand,
3813
4378
  UpdateApiCacheCommand,
4379
+ UpdateApiCommand,
3814
4380
  UpdateApiKeyCommand,
4381
+ UpdateChannelNamespaceCommand,
3815
4382
  UpdateDataSourceCommand,
3816
4383
  UpdateDomainNameCommand,
3817
4384
  UpdateFunctionCommand,
@@ -3820,6 +4387,8 @@ var paginateListTypes = (0, import_core.createPaginator)(AppSyncClient, ListType
3820
4387
  UpdateSourceApiAssociationCommand,
3821
4388
  UpdateTypeCommand,
3822
4389
  paginateListApiKeys,
4390
+ paginateListApis,
4391
+ paginateListChannelNamespaces,
3823
4392
  paginateListDataSources,
3824
4393
  paginateListDomainNames,
3825
4394
  paginateListFunctions,
@@ -3831,6 +4400,7 @@ var paginateListTypes = (0, import_core.createPaginator)(AppSyncClient, ListType
3831
4400
  paginateListTypes,
3832
4401
  AccessDeniedException,
3833
4402
  AuthenticationType,
4403
+ EventLogLevel,
3834
4404
  AssociationStatus,
3835
4405
  ApiCachingBehavior,
3836
4406
  CacheHealthMetricsConfig,
@@ -3850,6 +4420,8 @@ var paginateListTypes = (0, import_core.createPaginator)(AppSyncClient, ListType
3850
4420
  LimitExceededException,
3851
4421
  UnauthorizedException,
3852
4422
  AuthorizationType,
4423
+ ServiceQuotaExceededException,
4424
+ ConflictException,
3853
4425
  DataSourceLevelMetricsConfig,
3854
4426
  RelationalDatabaseSourceType,
3855
4427
  DataSourceType,