@aws-sdk/client-appsync 3.321.1 → 3.326.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 (65) hide show
  1. package/README.md +2 -2
  2. package/dist-cjs/endpoint/ruleset.js +3 -3
  3. package/dist-cjs/models/models_0.js +5 -1
  4. package/dist-cjs/protocols/Aws_restJson1.js +1 -0
  5. package/dist-es/endpoint/ruleset.js +3 -3
  6. package/dist-es/models/models_0.js +4 -0
  7. package/dist-es/protocols/Aws_restJson1.js +1 -0
  8. package/dist-types/AppSync.d.ts +2 -2
  9. package/dist-types/AppSyncClient.d.ts +2 -2
  10. package/dist-types/commands/AssociateApiCommand.d.ts +15 -3
  11. package/dist-types/commands/CreateApiCacheCommand.d.ts +19 -5
  12. package/dist-types/commands/CreateApiKeyCommand.d.ts +15 -3
  13. package/dist-types/commands/CreateDataSourceCommand.d.ts +63 -5
  14. package/dist-types/commands/CreateDomainNameCommand.d.ts +14 -2
  15. package/dist-types/commands/CreateFunctionCommand.d.ts +34 -4
  16. package/dist-types/commands/CreateGraphqlApiCommand.d.ts +71 -4
  17. package/dist-types/commands/CreateResolverCommand.d.ts +46 -7
  18. package/dist-types/commands/CreateTypeCommand.d.ts +18 -5
  19. package/dist-types/commands/DeleteApiCacheCommand.d.ts +10 -5
  20. package/dist-types/commands/DeleteApiKeyCommand.d.ts +8 -3
  21. package/dist-types/commands/DeleteDataSourceCommand.d.ts +10 -5
  22. package/dist-types/commands/DeleteDomainNameCommand.d.ts +10 -5
  23. package/dist-types/commands/DeleteFunctionCommand.d.ts +8 -3
  24. package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +10 -5
  25. package/dist-types/commands/DeleteResolverCommand.d.ts +10 -5
  26. package/dist-types/commands/DeleteTypeCommand.d.ts +10 -5
  27. package/dist-types/commands/DisassociateApiCommand.d.ts +10 -5
  28. package/dist-types/commands/EvaluateCodeCommand.d.ts +31 -7
  29. package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +20 -7
  30. package/dist-types/commands/FlushApiCacheCommand.d.ts +10 -5
  31. package/dist-types/commands/GetApiAssociationCommand.d.ts +15 -3
  32. package/dist-types/commands/GetApiCacheCommand.d.ts +19 -5
  33. package/dist-types/commands/GetDataSourceCommand.d.ts +63 -5
  34. package/dist-types/commands/GetDomainNameCommand.d.ts +16 -3
  35. package/dist-types/commands/GetFunctionCommand.d.ts +32 -3
  36. package/dist-types/commands/GetGraphqlApiCommand.d.ts +70 -3
  37. package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +8 -1
  38. package/dist-types/commands/GetResolverCommand.d.ts +42 -3
  39. package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +11 -3
  40. package/dist-types/commands/GetTypeCommand.d.ts +18 -5
  41. package/dist-types/commands/ListApiKeysCommand.d.ts +22 -6
  42. package/dist-types/commands/ListDataSourcesCommand.d.ts +64 -3
  43. package/dist-types/commands/ListDomainNamesCommand.d.ts +17 -2
  44. package/dist-types/commands/ListFunctionsCommand.d.ts +35 -3
  45. package/dist-types/commands/ListGraphqlApisCommand.d.ts +71 -2
  46. package/dist-types/commands/ListResolversByFunctionCommand.d.ts +45 -3
  47. package/dist-types/commands/ListResolversCommand.d.ts +45 -3
  48. package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -3
  49. package/dist-types/commands/ListTypesCommand.d.ts +21 -5
  50. package/dist-types/commands/StartSchemaCreationCommand.d.ts +14 -7
  51. package/dist-types/commands/TagResourceCommand.d.ts +8 -3
  52. package/dist-types/commands/UntagResourceCommand.d.ts +8 -3
  53. package/dist-types/commands/UpdateApiCacheCommand.d.ts +19 -5
  54. package/dist-types/commands/UpdateApiKeyCommand.d.ts +15 -3
  55. package/dist-types/commands/UpdateDataSourceCommand.d.ts +63 -5
  56. package/dist-types/commands/UpdateDomainNameCommand.d.ts +18 -5
  57. package/dist-types/commands/UpdateFunctionCommand.d.ts +32 -3
  58. package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +72 -5
  59. package/dist-types/commands/UpdateResolverCommand.d.ts +44 -5
  60. package/dist-types/commands/UpdateTypeCommand.d.ts +18 -5
  61. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  62. package/dist-types/models/models_0.d.ts +383 -287
  63. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  64. package/dist-types/ts3.4/models/models_0.d.ts +9 -0
  65. package/package.json +16 -16
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
26
26
  defaultSigningName: string;
27
27
  };
28
28
  export interface EndpointParameters extends __EndpointParameters {
29
- Region: string;
29
+ Region?: string;
30
30
  UseDualStack?: boolean;
31
31
  UseFIPS?: boolean;
32
32
  Endpoint?: string;
@@ -410,6 +410,12 @@ export interface UserPoolConfig {
410
410
  defaultAction: DefaultAction | string | undefined;
411
411
  appIdClientRegex?: string;
412
412
  }
413
+ export declare const GraphQLApiVisibility: {
414
+ readonly GLOBAL: "GLOBAL";
415
+ readonly PRIVATE: "PRIVATE";
416
+ };
417
+ export type GraphQLApiVisibility =
418
+ (typeof GraphQLApiVisibility)[keyof typeof GraphQLApiVisibility];
413
419
  export interface CreateGraphqlApiRequest {
414
420
  name: string | undefined;
415
421
  logConfig?: LogConfig;
@@ -420,6 +426,7 @@ export interface CreateGraphqlApiRequest {
420
426
  additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
421
427
  xrayEnabled?: boolean;
422
428
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
429
+ visibility?: GraphQLApiVisibility | string;
423
430
  }
424
431
  export interface GraphqlApi {
425
432
  name?: string;
@@ -435,6 +442,8 @@ export interface GraphqlApi {
435
442
  xrayEnabled?: boolean;
436
443
  wafWebAclArn?: string;
437
444
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
445
+ dns?: Record<string, string>;
446
+ visibility?: GraphQLApiVisibility | string;
438
447
  }
439
448
  export interface CreateGraphqlApiResponse {
440
449
  graphqlApi?: GraphqlApi;
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.321.1",
4
+ "version": "3.326.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,33 +21,33 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",