@aws-sdk/client-appsync 3.750.0 → 3.770.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.
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  ApiCacheStatus: () => ApiCacheStatus,
26
26
  ApiCacheType: () => ApiCacheType,
@@ -157,7 +157,7 @@ __export(src_exports, {
157
157
  paginateListTypes: () => paginateListTypes,
158
158
  paginateListTypesByAssociation: () => paginateListTypesByAssociation
159
159
  });
160
- module.exports = __toCommonJS(src_exports);
160
+ module.exports = __toCommonJS(index_exports);
161
161
 
162
162
  // src/AppSyncClient.ts
163
163
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -284,9 +284,9 @@ var AppSyncClient = class extends import_smithy_client.Client {
284
284
  this.middlewareStack.use(
285
285
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
286
286
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultAppSyncHttpAuthSchemeParametersProvider,
287
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
287
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
288
288
  "aws.auth#sigv4": config.credentials
289
- })
289
+ }), "identityProviderConfigProvider")
290
290
  })
291
291
  );
292
292
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -779,7 +779,7 @@ var se_AssociateMergedGraphqlApiCommand = /* @__PURE__ */ __name(async (input, c
779
779
  (0, import_smithy_client.take)(input, {
780
780
  description: [],
781
781
  mergedApiIdentifier: [],
782
- sourceApiAssociationConfig: (_) => (0, import_smithy_client._json)(_)
782
+ sourceApiAssociationConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sourceApiAssociationConfig")
783
783
  })
784
784
  );
785
785
  b.m("POST").h(headers).b(body);
@@ -796,7 +796,7 @@ var se_AssociateSourceGraphqlApiCommand = /* @__PURE__ */ __name(async (input, c
796
796
  body = JSON.stringify(
797
797
  (0, import_smithy_client.take)(input, {
798
798
  description: [],
799
- sourceApiAssociationConfig: (_) => (0, import_smithy_client._json)(_),
799
+ sourceApiAssociationConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sourceApiAssociationConfig"),
800
800
  sourceApiIdentifier: []
801
801
  })
802
802
  );
@@ -812,10 +812,10 @@ var se_CreateApiCommand = /* @__PURE__ */ __name(async (input, context) => {
812
812
  let body;
813
813
  body = JSON.stringify(
814
814
  (0, import_smithy_client.take)(input, {
815
- eventConfig: (_) => (0, import_smithy_client._json)(_),
815
+ eventConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "eventConfig"),
816
816
  name: [],
817
817
  ownerContact: [],
818
- tags: (_) => (0, import_smithy_client._json)(_)
818
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
819
819
  })
820
820
  );
821
821
  b.m("POST").h(headers).b(body);
@@ -871,9 +871,9 @@ var se_CreateChannelNamespaceCommand = /* @__PURE__ */ __name(async (input, cont
871
871
  (0, import_smithy_client.take)(input, {
872
872
  codeHandlers: [],
873
873
  name: [],
874
- publishAuthModes: (_) => (0, import_smithy_client._json)(_),
875
- subscribeAuthModes: (_) => (0, import_smithy_client._json)(_),
876
- tags: (_) => (0, import_smithy_client._json)(_)
874
+ publishAuthModes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "publishAuthModes"),
875
+ subscribeAuthModes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "subscribeAuthModes"),
876
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
877
877
  })
878
878
  );
879
879
  b.m("POST").h(headers).b(body);
@@ -890,15 +890,15 @@ var se_CreateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
890
890
  body = JSON.stringify(
891
891
  (0, import_smithy_client.take)(input, {
892
892
  description: [],
893
- dynamodbConfig: (_) => (0, import_smithy_client._json)(_),
894
- elasticsearchConfig: (_) => (0, import_smithy_client._json)(_),
895
- eventBridgeConfig: (_) => (0, import_smithy_client._json)(_),
896
- httpConfig: (_) => (0, import_smithy_client._json)(_),
897
- lambdaConfig: (_) => (0, import_smithy_client._json)(_),
893
+ dynamodbConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "dynamodbConfig"),
894
+ elasticsearchConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "elasticsearchConfig"),
895
+ eventBridgeConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "eventBridgeConfig"),
896
+ httpConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "httpConfig"),
897
+ lambdaConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "lambdaConfig"),
898
898
  metricsConfig: [],
899
899
  name: [],
900
- openSearchServiceConfig: (_) => (0, import_smithy_client._json)(_),
901
- relationalDatabaseConfig: (_) => (0, import_smithy_client._json)(_),
900
+ openSearchServiceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "openSearchServiceConfig"),
901
+ relationalDatabaseConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "relationalDatabaseConfig"),
902
902
  serviceRoleArn: [],
903
903
  type: []
904
904
  })
@@ -917,7 +917,8 @@ var se_CreateDomainNameCommand = /* @__PURE__ */ __name(async (input, context) =
917
917
  (0, import_smithy_client.take)(input, {
918
918
  certificateArn: [],
919
919
  description: [],
920
- domainName: []
920
+ domainName: [],
921
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
921
922
  })
922
923
  );
923
924
  b.m("POST").h(headers).b(body);
@@ -941,8 +942,8 @@ var se_CreateFunctionCommand = /* @__PURE__ */ __name(async (input, context) =>
941
942
  name: [],
942
943
  requestMappingTemplate: [],
943
944
  responseMappingTemplate: [],
944
- runtime: (_) => (0, import_smithy_client._json)(_),
945
- syncConfig: (_) => (0, import_smithy_client._json)(_)
945
+ runtime: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "runtime"),
946
+ syncConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "syncConfig")
946
947
  })
947
948
  );
948
949
  b.m("POST").h(headers).b(body);
@@ -957,21 +958,21 @@ var se_CreateGraphqlApiCommand = /* @__PURE__ */ __name(async (input, context) =
957
958
  let body;
958
959
  body = JSON.stringify(
959
960
  (0, import_smithy_client.take)(input, {
960
- additionalAuthenticationProviders: (_) => (0, import_smithy_client._json)(_),
961
+ additionalAuthenticationProviders: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "additionalAuthenticationProviders"),
961
962
  apiType: [],
962
963
  authenticationType: [],
963
- enhancedMetricsConfig: (_) => (0, import_smithy_client._json)(_),
964
+ enhancedMetricsConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "enhancedMetricsConfig"),
964
965
  introspectionConfig: [],
965
- lambdaAuthorizerConfig: (_) => (0, import_smithy_client._json)(_),
966
- logConfig: (_) => (0, import_smithy_client._json)(_),
966
+ lambdaAuthorizerConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "lambdaAuthorizerConfig"),
967
+ logConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "logConfig"),
967
968
  mergedApiExecutionRoleArn: [],
968
969
  name: [],
969
- openIDConnectConfig: (_) => (0, import_smithy_client._json)(_),
970
+ openIDConnectConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "openIDConnectConfig"),
970
971
  ownerContact: [],
971
972
  queryDepthLimit: [],
972
973
  resolverCountLimit: [],
973
- tags: (_) => (0, import_smithy_client._json)(_),
974
- userPoolConfig: (_) => (0, import_smithy_client._json)(_),
974
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
975
+ userPoolConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "userPoolConfig"),
975
976
  visibility: [],
976
977
  xrayEnabled: []
977
978
  })
@@ -990,18 +991,18 @@ var se_CreateResolverCommand = /* @__PURE__ */ __name(async (input, context) =>
990
991
  let body;
991
992
  body = JSON.stringify(
992
993
  (0, import_smithy_client.take)(input, {
993
- cachingConfig: (_) => (0, import_smithy_client._json)(_),
994
+ cachingConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "cachingConfig"),
994
995
  code: [],
995
996
  dataSourceName: [],
996
997
  fieldName: [],
997
998
  kind: [],
998
999
  maxBatchSize: [],
999
1000
  metricsConfig: [],
1000
- pipelineConfig: (_) => (0, import_smithy_client._json)(_),
1001
+ pipelineConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "pipelineConfig"),
1001
1002
  requestMappingTemplate: [],
1002
1003
  responseMappingTemplate: [],
1003
- runtime: (_) => (0, import_smithy_client._json)(_),
1004
- syncConfig: (_) => (0, import_smithy_client._json)(_)
1004
+ runtime: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "runtime"),
1005
+ syncConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "syncConfig")
1005
1006
  })
1006
1007
  );
1007
1008
  b.m("POST").h(headers).b(body);
@@ -1162,7 +1163,7 @@ var se_EvaluateCodeCommand = /* @__PURE__ */ __name(async (input, context) => {
1162
1163
  code: [],
1163
1164
  context: [],
1164
1165
  function: [],
1165
- runtime: (_) => (0, import_smithy_client._json)(_)
1166
+ runtime: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "runtime")
1166
1167
  })
1167
1168
  );
1168
1169
  b.m("POST").h(headers).b(body);
@@ -1526,7 +1527,7 @@ var se_PutGraphqlApiEnvironmentVariablesCommand = /* @__PURE__ */ __name(async (
1526
1527
  let body;
1527
1528
  body = JSON.stringify(
1528
1529
  (0, import_smithy_client.take)(input, {
1529
- environmentVariables: (_) => (0, import_smithy_client._json)(_)
1530
+ environmentVariables: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "environmentVariables")
1530
1531
  })
1531
1532
  );
1532
1533
  b.m("PUT").h(headers).b(body);
@@ -1541,7 +1542,7 @@ var se_StartDataSourceIntrospectionCommand = /* @__PURE__ */ __name(async (input
1541
1542
  let body;
1542
1543
  body = JSON.stringify(
1543
1544
  (0, import_smithy_client.take)(input, {
1544
- rdsDataApiConfig: (_) => (0, import_smithy_client._json)(_)
1545
+ rdsDataApiConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "rdsDataApiConfig")
1545
1546
  })
1546
1547
  );
1547
1548
  b.m("POST").h(headers).b(body);
@@ -1557,7 +1558,7 @@ var se_StartSchemaCreationCommand = /* @__PURE__ */ __name(async (input, context
1557
1558
  let body;
1558
1559
  body = JSON.stringify(
1559
1560
  (0, import_smithy_client.take)(input, {
1560
- definition: (_) => context.base64Encoder(_)
1561
+ definition: /* @__PURE__ */ __name((_) => context.base64Encoder(_), "definition")
1561
1562
  })
1562
1563
  );
1563
1564
  b.m("POST").h(headers).b(body);
@@ -1583,7 +1584,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1583
1584
  let body;
1584
1585
  body = JSON.stringify(
1585
1586
  (0, import_smithy_client.take)(input, {
1586
- tags: (_) => (0, import_smithy_client._json)(_)
1587
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
1587
1588
  })
1588
1589
  );
1589
1590
  b.m("POST").h(headers).b(body);
@@ -1611,7 +1612,7 @@ var se_UpdateApiCommand = /* @__PURE__ */ __name(async (input, context) => {
1611
1612
  let body;
1612
1613
  body = JSON.stringify(
1613
1614
  (0, import_smithy_client.take)(input, {
1614
- eventConfig: (_) => (0, import_smithy_client._json)(_),
1615
+ eventConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "eventConfig"),
1615
1616
  name: [],
1616
1617
  ownerContact: []
1617
1618
  })
@@ -1668,8 +1669,8 @@ var se_UpdateChannelNamespaceCommand = /* @__PURE__ */ __name(async (input, cont
1668
1669
  body = JSON.stringify(
1669
1670
  (0, import_smithy_client.take)(input, {
1670
1671
  codeHandlers: [],
1671
- publishAuthModes: (_) => (0, import_smithy_client._json)(_),
1672
- subscribeAuthModes: (_) => (0, import_smithy_client._json)(_)
1672
+ publishAuthModes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "publishAuthModes"),
1673
+ subscribeAuthModes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "subscribeAuthModes")
1673
1674
  })
1674
1675
  );
1675
1676
  b.m("POST").h(headers).b(body);
@@ -1687,14 +1688,14 @@ var se_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
1687
1688
  body = JSON.stringify(
1688
1689
  (0, import_smithy_client.take)(input, {
1689
1690
  description: [],
1690
- dynamodbConfig: (_) => (0, import_smithy_client._json)(_),
1691
- elasticsearchConfig: (_) => (0, import_smithy_client._json)(_),
1692
- eventBridgeConfig: (_) => (0, import_smithy_client._json)(_),
1693
- httpConfig: (_) => (0, import_smithy_client._json)(_),
1694
- lambdaConfig: (_) => (0, import_smithy_client._json)(_),
1691
+ dynamodbConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "dynamodbConfig"),
1692
+ elasticsearchConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "elasticsearchConfig"),
1693
+ eventBridgeConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "eventBridgeConfig"),
1694
+ httpConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "httpConfig"),
1695
+ lambdaConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "lambdaConfig"),
1695
1696
  metricsConfig: [],
1696
- openSearchServiceConfig: (_) => (0, import_smithy_client._json)(_),
1697
- relationalDatabaseConfig: (_) => (0, import_smithy_client._json)(_),
1697
+ openSearchServiceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "openSearchServiceConfig"),
1698
+ relationalDatabaseConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "relationalDatabaseConfig"),
1698
1699
  serviceRoleArn: [],
1699
1700
  type: []
1700
1701
  })
@@ -1737,8 +1738,8 @@ var se_UpdateFunctionCommand = /* @__PURE__ */ __name(async (input, context) =>
1737
1738
  name: [],
1738
1739
  requestMappingTemplate: [],
1739
1740
  responseMappingTemplate: [],
1740
- runtime: (_) => (0, import_smithy_client._json)(_),
1741
- syncConfig: (_) => (0, import_smithy_client._json)(_)
1741
+ runtime: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "runtime"),
1742
+ syncConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "syncConfig")
1742
1743
  })
1743
1744
  );
1744
1745
  b.m("POST").h(headers).b(body);
@@ -1754,19 +1755,19 @@ var se_UpdateGraphqlApiCommand = /* @__PURE__ */ __name(async (input, context) =
1754
1755
  let body;
1755
1756
  body = JSON.stringify(
1756
1757
  (0, import_smithy_client.take)(input, {
1757
- additionalAuthenticationProviders: (_) => (0, import_smithy_client._json)(_),
1758
+ additionalAuthenticationProviders: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "additionalAuthenticationProviders"),
1758
1759
  authenticationType: [],
1759
- enhancedMetricsConfig: (_) => (0, import_smithy_client._json)(_),
1760
+ enhancedMetricsConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "enhancedMetricsConfig"),
1760
1761
  introspectionConfig: [],
1761
- lambdaAuthorizerConfig: (_) => (0, import_smithy_client._json)(_),
1762
- logConfig: (_) => (0, import_smithy_client._json)(_),
1762
+ lambdaAuthorizerConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "lambdaAuthorizerConfig"),
1763
+ logConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "logConfig"),
1763
1764
  mergedApiExecutionRoleArn: [],
1764
1765
  name: [],
1765
- openIDConnectConfig: (_) => (0, import_smithy_client._json)(_),
1766
+ openIDConnectConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "openIDConnectConfig"),
1766
1767
  ownerContact: [],
1767
1768
  queryDepthLimit: [],
1768
1769
  resolverCountLimit: [],
1769
- userPoolConfig: (_) => (0, import_smithy_client._json)(_),
1770
+ userPoolConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "userPoolConfig"),
1770
1771
  xrayEnabled: []
1771
1772
  })
1772
1773
  );
@@ -1785,17 +1786,17 @@ var se_UpdateResolverCommand = /* @__PURE__ */ __name(async (input, context) =>
1785
1786
  let body;
1786
1787
  body = JSON.stringify(
1787
1788
  (0, import_smithy_client.take)(input, {
1788
- cachingConfig: (_) => (0, import_smithy_client._json)(_),
1789
+ cachingConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "cachingConfig"),
1789
1790
  code: [],
1790
1791
  dataSourceName: [],
1791
1792
  kind: [],
1792
1793
  maxBatchSize: [],
1793
1794
  metricsConfig: [],
1794
- pipelineConfig: (_) => (0, import_smithy_client._json)(_),
1795
+ pipelineConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "pipelineConfig"),
1795
1796
  requestMappingTemplate: [],
1796
1797
  responseMappingTemplate: [],
1797
- runtime: (_) => (0, import_smithy_client._json)(_),
1798
- syncConfig: (_) => (0, import_smithy_client._json)(_)
1798
+ runtime: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "runtime"),
1799
+ syncConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "syncConfig")
1799
1800
  })
1800
1801
  );
1801
1802
  b.m("POST").h(headers).b(body);
@@ -1813,7 +1814,7 @@ var se_UpdateSourceApiAssociationCommand = /* @__PURE__ */ __name(async (input,
1813
1814
  body = JSON.stringify(
1814
1815
  (0, import_smithy_client.take)(input, {
1815
1816
  description: [],
1816
- sourceApiAssociationConfig: (_) => (0, import_smithy_client._json)(_)
1817
+ sourceApiAssociationConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sourceApiAssociationConfig")
1817
1818
  })
1818
1819
  );
1819
1820
  b.m("POST").h(headers).b(body);
@@ -1860,7 +1861,7 @@ var de_AssociateMergedGraphqlApiCommand = /* @__PURE__ */ __name(async (output,
1860
1861
  });
1861
1862
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1862
1863
  const doc = (0, import_smithy_client.take)(data, {
1863
- sourceApiAssociation: (_) => de_SourceApiAssociation(_, context)
1864
+ sourceApiAssociation: /* @__PURE__ */ __name((_) => de_SourceApiAssociation(_, context), "sourceApiAssociation")
1864
1865
  });
1865
1866
  Object.assign(contents, doc);
1866
1867
  return contents;
@@ -1874,7 +1875,7 @@ var de_AssociateSourceGraphqlApiCommand = /* @__PURE__ */ __name(async (output,
1874
1875
  });
1875
1876
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1876
1877
  const doc = (0, import_smithy_client.take)(data, {
1877
- sourceApiAssociation: (_) => de_SourceApiAssociation(_, context)
1878
+ sourceApiAssociation: /* @__PURE__ */ __name((_) => de_SourceApiAssociation(_, context), "sourceApiAssociation")
1878
1879
  });
1879
1880
  Object.assign(contents, doc);
1880
1881
  return contents;
@@ -1888,7 +1889,7 @@ var de_CreateApiCommand = /* @__PURE__ */ __name(async (output, context) => {
1888
1889
  });
1889
1890
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1890
1891
  const doc = (0, import_smithy_client.take)(data, {
1891
- api: (_) => de_Api(_, context)
1892
+ api: /* @__PURE__ */ __name((_) => de_Api(_, context), "api")
1892
1893
  });
1893
1894
  Object.assign(contents, doc);
1894
1895
  return contents;
@@ -1930,7 +1931,7 @@ var de_CreateChannelNamespaceCommand = /* @__PURE__ */ __name(async (output, con
1930
1931
  });
1931
1932
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1932
1933
  const doc = (0, import_smithy_client.take)(data, {
1933
- channelNamespace: (_) => de_ChannelNamespace(_, context)
1934
+ channelNamespace: /* @__PURE__ */ __name((_) => de_ChannelNamespace(_, context), "channelNamespace")
1934
1935
  });
1935
1936
  Object.assign(contents, doc);
1936
1937
  return contents;
@@ -2212,7 +2213,7 @@ var de_GetApiCommand = /* @__PURE__ */ __name(async (output, context) => {
2212
2213
  });
2213
2214
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2214
2215
  const doc = (0, import_smithy_client.take)(data, {
2215
- api: (_) => de_Api(_, context)
2216
+ api: /* @__PURE__ */ __name((_) => de_Api(_, context), "api")
2216
2217
  });
2217
2218
  Object.assign(contents, doc);
2218
2219
  return contents;
@@ -2254,7 +2255,7 @@ var de_GetChannelNamespaceCommand = /* @__PURE__ */ __name(async (output, contex
2254
2255
  });
2255
2256
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2256
2257
  const doc = (0, import_smithy_client.take)(data, {
2257
- channelNamespace: (_) => de_ChannelNamespace(_, context)
2258
+ channelNamespace: /* @__PURE__ */ __name((_) => de_ChannelNamespace(_, context), "channelNamespace")
2258
2259
  });
2259
2260
  Object.assign(contents, doc);
2260
2261
  return contents;
@@ -2283,7 +2284,7 @@ var de_GetDataSourceIntrospectionCommand = /* @__PURE__ */ __name(async (output,
2283
2284
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2284
2285
  const doc = (0, import_smithy_client.take)(data, {
2285
2286
  introspectionId: import_smithy_client.expectString,
2286
- introspectionResult: (_) => de_DataSourceIntrospectionResult(_, context),
2287
+ introspectionResult: /* @__PURE__ */ __name((_) => de_DataSourceIntrospectionResult(_, context), "introspectionResult"),
2287
2288
  introspectionStatus: import_smithy_client.expectString,
2288
2289
  introspectionStatusDetail: import_smithy_client.expectString
2289
2290
  });
@@ -2395,7 +2396,7 @@ var de_GetSourceApiAssociationCommand = /* @__PURE__ */ __name(async (output, co
2395
2396
  });
2396
2397
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2397
2398
  const doc = (0, import_smithy_client.take)(data, {
2398
- sourceApiAssociation: (_) => de_SourceApiAssociation(_, context)
2399
+ sourceApiAssociation: /* @__PURE__ */ __name((_) => de_SourceApiAssociation(_, context), "sourceApiAssociation")
2399
2400
  });
2400
2401
  Object.assign(contents, doc);
2401
2402
  return contents;
@@ -2438,7 +2439,7 @@ var de_ListApisCommand = /* @__PURE__ */ __name(async (output, context) => {
2438
2439
  });
2439
2440
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2440
2441
  const doc = (0, import_smithy_client.take)(data, {
2441
- apis: (_) => de_Apis(_, context),
2442
+ apis: /* @__PURE__ */ __name((_) => de_Apis(_, context), "apis"),
2442
2443
  nextToken: import_smithy_client.expectString
2443
2444
  });
2444
2445
  Object.assign(contents, doc);
@@ -2453,7 +2454,7 @@ var de_ListChannelNamespacesCommand = /* @__PURE__ */ __name(async (output, cont
2453
2454
  });
2454
2455
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2455
2456
  const doc = (0, import_smithy_client.take)(data, {
2456
- channelNamespaces: (_) => de_ChannelNamespaces(_, context),
2457
+ channelNamespaces: /* @__PURE__ */ __name((_) => de_ChannelNamespaces(_, context), "channelNamespaces"),
2457
2458
  nextToken: import_smithy_client.expectString
2458
2459
  });
2459
2460
  Object.assign(contents, doc);
@@ -2695,7 +2696,7 @@ var de_UpdateApiCommand = /* @__PURE__ */ __name(async (output, context) => {
2695
2696
  });
2696
2697
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2697
2698
  const doc = (0, import_smithy_client.take)(data, {
2698
- api: (_) => de_Api(_, context)
2699
+ api: /* @__PURE__ */ __name((_) => de_Api(_, context), "api")
2699
2700
  });
2700
2701
  Object.assign(contents, doc);
2701
2702
  return contents;
@@ -2737,7 +2738,7 @@ var de_UpdateChannelNamespaceCommand = /* @__PURE__ */ __name(async (output, con
2737
2738
  });
2738
2739
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2739
2740
  const doc = (0, import_smithy_client.take)(data, {
2740
- channelNamespace: (_) => de_ChannelNamespace(_, context)
2741
+ channelNamespace: /* @__PURE__ */ __name((_) => de_ChannelNamespace(_, context), "channelNamespace")
2741
2742
  });
2742
2743
  Object.assign(contents, doc);
2743
2744
  return contents;
@@ -2821,7 +2822,7 @@ var de_UpdateSourceApiAssociationCommand = /* @__PURE__ */ __name(async (output,
2821
2822
  });
2822
2823
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2823
2824
  const doc = (0, import_smithy_client.take)(data, {
2824
- sourceApiAssociation: (_) => de_SourceApiAssociation(_, context)
2825
+ sourceApiAssociation: /* @__PURE__ */ __name((_) => de_SourceApiAssociation(_, context), "sourceApiAssociation")
2825
2826
  });
2826
2827
  Object.assign(contents, doc);
2827
2828
  return contents;
@@ -3071,7 +3072,7 @@ var de_Api = /* @__PURE__ */ __name((output, context) => {
3071
3072
  return (0, import_smithy_client.take)(output, {
3072
3073
  apiArn: import_smithy_client.expectString,
3073
3074
  apiId: import_smithy_client.expectString,
3074
- created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3075
+ created: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "created"),
3075
3076
  dns: import_smithy_client._json,
3076
3077
  eventConfig: import_smithy_client._json,
3077
3078
  name: import_smithy_client.expectString,
@@ -3092,8 +3093,8 @@ var de_ChannelNamespace = /* @__PURE__ */ __name((output, context) => {
3092
3093
  apiId: import_smithy_client.expectString,
3093
3094
  channelNamespaceArn: import_smithy_client.expectString,
3094
3095
  codeHandlers: import_smithy_client.expectString,
3095
- created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3096
- lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3096
+ created: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "created"),
3097
+ lastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModified"),
3097
3098
  name: import_smithy_client.expectString,
3098
3099
  publishAuthModes: import_smithy_client._json,
3099
3100
  subscribeAuthModes: import_smithy_client._json,
@@ -3108,7 +3109,7 @@ var de_ChannelNamespaces = /* @__PURE__ */ __name((output, context) => {
3108
3109
  }, "de_ChannelNamespaces");
3109
3110
  var de_DataSourceIntrospectionModel = /* @__PURE__ */ __name((output, context) => {
3110
3111
  return (0, import_smithy_client.take)(output, {
3111
- fields: (_) => de_DataSourceIntrospectionModelFields(_, context),
3112
+ fields: /* @__PURE__ */ __name((_) => de_DataSourceIntrospectionModelFields(_, context), "fields"),
3112
3113
  indexes: import_smithy_client._json,
3113
3114
  name: import_smithy_client.expectString,
3114
3115
  primaryKey: import_smithy_client._json,
@@ -3119,7 +3120,7 @@ var de_DataSourceIntrospectionModelField = /* @__PURE__ */ __name((output, conte
3119
3120
  return (0, import_smithy_client.take)(output, {
3120
3121
  length: import_smithy_client.expectLong,
3121
3122
  name: import_smithy_client.expectString,
3122
- type: (_) => de_DataSourceIntrospectionModelFieldType(_, context)
3123
+ type: /* @__PURE__ */ __name((_) => de_DataSourceIntrospectionModelFieldType(_, context), "type")
3123
3124
  });
3124
3125
  }, "de_DataSourceIntrospectionModelField");
3125
3126
  var de_DataSourceIntrospectionModelFields = /* @__PURE__ */ __name((output, context) => {
@@ -3132,7 +3133,7 @@ var de_DataSourceIntrospectionModelFieldType = /* @__PURE__ */ __name((output, c
3132
3133
  return (0, import_smithy_client.take)(output, {
3133
3134
  kind: import_smithy_client.expectString,
3134
3135
  name: import_smithy_client.expectString,
3135
- type: (_) => de_DataSourceIntrospectionModelFieldType(_, context),
3136
+ type: /* @__PURE__ */ __name((_) => de_DataSourceIntrospectionModelFieldType(_, context), "type"),
3136
3137
  values: import_smithy_client._json
3137
3138
  });
3138
3139
  }, "de_DataSourceIntrospectionModelFieldType");
@@ -3144,7 +3145,7 @@ var de_DataSourceIntrospectionModels = /* @__PURE__ */ __name((output, context)
3144
3145
  }, "de_DataSourceIntrospectionModels");
3145
3146
  var de_DataSourceIntrospectionResult = /* @__PURE__ */ __name((output, context) => {
3146
3147
  return (0, import_smithy_client.take)(output, {
3147
- models: (_) => de_DataSourceIntrospectionModels(_, context),
3148
+ models: /* @__PURE__ */ __name((_) => de_DataSourceIntrospectionModels(_, context), "models"),
3148
3149
  nextToken: import_smithy_client.expectString
3149
3150
  });
3150
3151
  }, "de_DataSourceIntrospectionResult");
@@ -3153,7 +3154,7 @@ var de_SourceApiAssociation = /* @__PURE__ */ __name((output, context) => {
3153
3154
  associationArn: import_smithy_client.expectString,
3154
3155
  associationId: import_smithy_client.expectString,
3155
3156
  description: import_smithy_client.expectString,
3156
- lastSuccessfulMergeDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3157
+ lastSuccessfulMergeDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastSuccessfulMergeDate"),
3157
3158
  mergedApiArn: import_smithy_client.expectString,
3158
3159
  mergedApiId: import_smithy_client.expectString,
3159
3160
  sourceApiArn: import_smithy_client.expectString,
@@ -153,6 +153,7 @@ export const se_CreateDomainNameCommand = async (input, context) => {
153
153
  certificateArn: [],
154
154
  description: [],
155
155
  domainName: [],
156
+ tags: (_) => _json(_),
156
157
  }));
157
158
  b.m("POST").h(headers).b(body);
158
159
  return b.build();
@@ -38,6 +38,9 @@ declare const CreateDomainNameCommand_base: {
38
38
  * domainName: "STRING_VALUE", // required
39
39
  * certificateArn: "STRING_VALUE", // required
40
40
  * description: "STRING_VALUE",
41
+ * tags: { // TagMap
42
+ * "<keys>": "STRING_VALUE",
43
+ * },
41
44
  * };
42
45
  * const command = new CreateDomainNameCommand(input);
43
46
  * const response = await client.send(command);
@@ -48,6 +51,10 @@ declare const CreateDomainNameCommand_base: {
48
51
  * // certificateArn: "STRING_VALUE",
49
52
  * // appsyncDomainName: "STRING_VALUE",
50
53
  * // hostedZoneId: "STRING_VALUE",
54
+ * // tags: { // TagMap
55
+ * // "<keys>": "STRING_VALUE",
56
+ * // },
57
+ * // domainNameArn: "STRING_VALUE",
51
58
  * // },
52
59
  * // };
53
60
  *
@@ -46,6 +46,10 @@ declare const GetDomainNameCommand_base: {
46
46
  * // certificateArn: "STRING_VALUE",
47
47
  * // appsyncDomainName: "STRING_VALUE",
48
48
  * // hostedZoneId: "STRING_VALUE",
49
+ * // tags: { // TagMap
50
+ * // "<keys>": "STRING_VALUE",
51
+ * // },
52
+ * // domainNameArn: "STRING_VALUE",
49
53
  * // },
50
54
  * // };
51
55
  *
@@ -48,6 +48,10 @@ declare const ListDomainNamesCommand_base: {
48
48
  * // certificateArn: "STRING_VALUE",
49
49
  * // appsyncDomainName: "STRING_VALUE",
50
50
  * // hostedZoneId: "STRING_VALUE",
51
+ * // tags: { // TagMap
52
+ * // "<keys>": "STRING_VALUE",
53
+ * // },
54
+ * // domainNameArn: "STRING_VALUE",
51
55
  * // },
52
56
  * // ],
53
57
  * // nextToken: "STRING_VALUE",
@@ -47,6 +47,10 @@ declare const UpdateDomainNameCommand_base: {
47
47
  * // certificateArn: "STRING_VALUE",
48
48
  * // appsyncDomainName: "STRING_VALUE",
49
49
  * // hostedZoneId: "STRING_VALUE",
50
+ * // tags: { // TagMap
51
+ * // "<keys>": "STRING_VALUE",
52
+ * // },
53
+ * // domainNameArn: "STRING_VALUE",
50
54
  * // },
51
55
  * // };
52
56
  *
@@ -2047,6 +2047,12 @@ export interface CreateDomainNameRequest {
2047
2047
  * @public
2048
2048
  */
2049
2049
  description?: string | undefined;
2050
+ /**
2051
+ * <p>A map with keys of <code>TagKey</code> objects and values of <code>TagValue</code>
2052
+ * objects.</p>
2053
+ * @public
2054
+ */
2055
+ tags?: Record<string, string> | undefined;
2050
2056
  }
2051
2057
  /**
2052
2058
  * <p>Describes a configuration for a custom domain.</p>
@@ -2080,6 +2086,17 @@ export interface DomainNameConfig {
2080
2086
  * @public
2081
2087
  */
2082
2088
  hostedZoneId?: string | undefined;
2089
+ /**
2090
+ * <p>A map with keys of <code>TagKey</code> objects and values of <code>TagValue</code>
2091
+ * objects.</p>
2092
+ * @public
2093
+ */
2094
+ tags?: Record<string, string> | undefined;
2095
+ /**
2096
+ * <p>The Amazon Resource Name (ARN) of the domain name.</p>
2097
+ * @public
2098
+ */
2099
+ domainNameArn?: string | undefined;
2083
2100
  }
2084
2101
  /**
2085
2102
  * @public
@@ -482,6 +482,7 @@ export interface CreateDomainNameRequest {
482
482
  domainName: string | undefined;
483
483
  certificateArn: string | undefined;
484
484
  description?: string | undefined;
485
+ tags?: Record<string, string> | undefined;
485
486
  }
486
487
  export interface DomainNameConfig {
487
488
  domainName?: string | undefined;
@@ -489,6 +490,8 @@ export interface DomainNameConfig {
489
490
  certificateArn?: string | undefined;
490
491
  appsyncDomainName?: string | undefined;
491
492
  hostedZoneId?: string | undefined;
493
+ tags?: Record<string, string> | undefined;
494
+ domainNameArn?: string | undefined;
492
495
  }
493
496
  export interface CreateDomainNameResponse {
494
497
  domainNameConfig?: DomainNameConfig | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appsync",
3
3
  "description": "AWS SDK for JavaScript Appsync Client for Node.js, Browser and React Native",
4
- "version": "3.750.0",
4
+ "version": "3.770.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-appsync",
@@ -20,42 +20,42 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.750.0",
24
- "@aws-sdk/credential-provider-node": "3.750.0",
23
+ "@aws-sdk/core": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.758.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.750.0",
28
+ "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
31
  "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.750.0",
33
+ "@aws-sdk/util-user-agent-node": "3.758.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
- "@smithy/core": "^3.1.4",
35
+ "@smithy/core": "^3.1.5",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",
37
37
  "@smithy/hash-node": "^4.0.1",
38
38
  "@smithy/invalid-dependency": "^4.0.1",
39
39
  "@smithy/middleware-content-length": "^4.0.1",
40
- "@smithy/middleware-endpoint": "^4.0.5",
41
- "@smithy/middleware-retry": "^4.0.6",
40
+ "@smithy/middleware-endpoint": "^4.0.6",
41
+ "@smithy/middleware-retry": "^4.0.7",
42
42
  "@smithy/middleware-serde": "^4.0.2",
43
43
  "@smithy/middleware-stack": "^4.0.1",
44
44
  "@smithy/node-config-provider": "^4.0.1",
45
- "@smithy/node-http-handler": "^4.0.2",
45
+ "@smithy/node-http-handler": "^4.0.3",
46
46
  "@smithy/protocol-http": "^5.0.1",
47
- "@smithy/smithy-client": "^4.1.5",
47
+ "@smithy/smithy-client": "^4.1.6",
48
48
  "@smithy/types": "^4.1.0",
49
49
  "@smithy/url-parser": "^4.0.1",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.6",
54
- "@smithy/util-defaults-mode-node": "^4.0.6",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.7",
54
+ "@smithy/util-defaults-mode-node": "^4.0.7",
55
55
  "@smithy/util-endpoints": "^3.0.1",
56
56
  "@smithy/util-middleware": "^4.0.1",
57
57
  "@smithy/util-retry": "^4.0.1",
58
- "@smithy/util-stream": "^4.1.1",
58
+ "@smithy/util-stream": "^4.1.2",
59
59
  "@smithy/util-utf8": "^4.0.0",
60
60
  "tslib": "^2.6.2"
61
61
  },