@aws-sdk/client-appsync 3.1086.0 → 3.1088.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 (97) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/AppSync.d.ts +249 -321
  3. package/dist-types/ts3.4/AppSyncClient.d.ts +30 -85
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/AssociateApiCommand.d.ts +3 -5
  8. package/dist-types/ts3.4/commands/AssociateMergedGraphqlApiCommand.d.ts +4 -6
  9. package/dist-types/ts3.4/commands/AssociateSourceGraphqlApiCommand.d.ts +4 -6
  10. package/dist-types/ts3.4/commands/CreateApiCacheCommand.d.ts +4 -9
  11. package/dist-types/ts3.4/commands/CreateApiCommand.d.ts +7 -5
  12. package/dist-types/ts3.4/commands/CreateApiKeyCommand.d.ts +3 -5
  13. package/dist-types/ts3.4/commands/CreateChannelNamespaceCommand.d.ts +5 -10
  14. package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +4 -9
  15. package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +4 -9
  16. package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +4 -9
  17. package/dist-types/ts3.4/commands/CreateGraphqlApiCommand.d.ts +4 -9
  18. package/dist-types/ts3.4/commands/CreateResolverCommand.d.ts +4 -9
  19. package/dist-types/ts3.4/commands/CreateTypeCommand.d.ts +3 -5
  20. package/dist-types/ts3.4/commands/DeleteApiCacheCommand.d.ts +4 -9
  21. package/dist-types/ts3.4/commands/DeleteApiCommand.d.ts +7 -5
  22. package/dist-types/ts3.4/commands/DeleteApiKeyCommand.d.ts +3 -5
  23. package/dist-types/ts3.4/commands/DeleteChannelNamespaceCommand.d.ts +5 -10
  24. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +4 -9
  25. package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +4 -9
  26. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +4 -9
  27. package/dist-types/ts3.4/commands/DeleteGraphqlApiCommand.d.ts +4 -9
  28. package/dist-types/ts3.4/commands/DeleteResolverCommand.d.ts +4 -9
  29. package/dist-types/ts3.4/commands/DeleteTypeCommand.d.ts +3 -5
  30. package/dist-types/ts3.4/commands/DisassociateApiCommand.d.ts +4 -9
  31. package/dist-types/ts3.4/commands/DisassociateMergedGraphqlApiCommand.d.ts +4 -6
  32. package/dist-types/ts3.4/commands/DisassociateSourceGraphqlApiCommand.d.ts +4 -6
  33. package/dist-types/ts3.4/commands/EvaluateCodeCommand.d.ts +3 -5
  34. package/dist-types/ts3.4/commands/EvaluateMappingTemplateCommand.d.ts +4 -6
  35. package/dist-types/ts3.4/commands/FlushApiCacheCommand.d.ts +4 -9
  36. package/dist-types/ts3.4/commands/GetApiAssociationCommand.d.ts +5 -10
  37. package/dist-types/ts3.4/commands/GetApiCacheCommand.d.ts +3 -5
  38. package/dist-types/ts3.4/commands/GetApiCommand.d.ts +6 -2
  39. package/dist-types/ts3.4/commands/GetChannelNamespaceCommand.d.ts +5 -10
  40. package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +4 -9
  41. package/dist-types/ts3.4/commands/GetDataSourceIntrospectionCommand.d.ts +4 -6
  42. package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +4 -9
  43. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +3 -5
  44. package/dist-types/ts3.4/commands/GetGraphqlApiCommand.d.ts +4 -9
  45. package/dist-types/ts3.4/commands/GetGraphqlApiEnvironmentVariablesCommand.d.ts +4 -6
  46. package/dist-types/ts3.4/commands/GetIntrospectionSchemaCommand.d.ts +5 -10
  47. package/dist-types/ts3.4/commands/GetResolverCommand.d.ts +3 -5
  48. package/dist-types/ts3.4/commands/GetSchemaCreationStatusCommand.d.ts +4 -6
  49. package/dist-types/ts3.4/commands/GetSourceApiAssociationCommand.d.ts +4 -6
  50. package/dist-types/ts3.4/commands/GetTypeCommand.d.ts +7 -5
  51. package/dist-types/ts3.4/commands/ListApiKeysCommand.d.ts +3 -5
  52. package/dist-types/ts3.4/commands/ListApisCommand.d.ts +4 -4
  53. package/dist-types/ts3.4/commands/ListChannelNamespacesCommand.d.ts +5 -10
  54. package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +4 -9
  55. package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +3 -8
  56. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +4 -9
  57. package/dist-types/ts3.4/commands/ListGraphqlApisCommand.d.ts +3 -8
  58. package/dist-types/ts3.4/commands/ListResolversByFunctionCommand.d.ts +4 -6
  59. package/dist-types/ts3.4/commands/ListResolversCommand.d.ts +4 -9
  60. package/dist-types/ts3.4/commands/ListSourceApiAssociationsCommand.d.ts +4 -6
  61. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  62. package/dist-types/ts3.4/commands/ListTypesByAssociationCommand.d.ts +5 -10
  63. package/dist-types/ts3.4/commands/ListTypesCommand.d.ts +7 -5
  64. package/dist-types/ts3.4/commands/PutGraphqlApiEnvironmentVariablesCommand.d.ts +4 -6
  65. package/dist-types/ts3.4/commands/StartDataSourceIntrospectionCommand.d.ts +3 -5
  66. package/dist-types/ts3.4/commands/StartSchemaCreationCommand.d.ts +5 -10
  67. package/dist-types/ts3.4/commands/StartSchemaMergeCommand.d.ts +4 -9
  68. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
  69. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
  70. package/dist-types/ts3.4/commands/UpdateApiCacheCommand.d.ts +4 -9
  71. package/dist-types/ts3.4/commands/UpdateApiCommand.d.ts +7 -5
  72. package/dist-types/ts3.4/commands/UpdateApiKeyCommand.d.ts +3 -5
  73. package/dist-types/ts3.4/commands/UpdateChannelNamespaceCommand.d.ts +5 -10
  74. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +4 -9
  75. package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +4 -9
  76. package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +4 -9
  77. package/dist-types/ts3.4/commands/UpdateGraphqlApiCommand.d.ts +4 -9
  78. package/dist-types/ts3.4/commands/UpdateResolverCommand.d.ts +4 -9
  79. package/dist-types/ts3.4/commands/UpdateSourceApiAssociationCommand.d.ts +4 -6
  80. package/dist-types/ts3.4/commands/UpdateTypeCommand.d.ts +3 -5
  81. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  82. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  83. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  84. package/dist-types/ts3.4/models/enums.d.ts +12 -24
  85. package/dist-types/ts3.4/models/errors.d.ts +11 -39
  86. package/dist-types/ts3.4/models/models_0.d.ts +3 -9
  87. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  88. package/dist-types/ts3.4/pagination/ListApiKeysPaginator.d.ts +1 -4
  89. package/dist-types/ts3.4/pagination/ListApisPaginator.d.ts +1 -4
  90. package/dist-types/ts3.4/pagination/ListTypesPaginator.d.ts +1 -4
  91. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  92. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  93. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  94. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  95. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  96. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  97. package/package.json +39 -39
@@ -5,49 +5,34 @@ import { BadRequestDetail } from "./models_0";
5
5
  export declare class AccessDeniedException extends __BaseException {
6
6
  readonly name: "AccessDeniedException";
7
7
  readonly $fault: "client";
8
- constructor(
9
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
- );
8
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
11
9
  }
12
10
  export declare class ApiKeyLimitExceededException extends __BaseException {
13
11
  readonly name: "ApiKeyLimitExceededException";
14
12
  readonly $fault: "client";
15
- constructor(
16
- opts: __ExceptionOptionType<ApiKeyLimitExceededException, __BaseException>
17
- );
13
+ constructor(opts: __ExceptionOptionType<ApiKeyLimitExceededException, __BaseException>);
18
14
  }
19
15
  export declare class ApiKeyValidityOutOfBoundsException extends __BaseException {
20
16
  readonly name: "ApiKeyValidityOutOfBoundsException";
21
17
  readonly $fault: "client";
22
- constructor(
23
- opts: __ExceptionOptionType<
24
- ApiKeyValidityOutOfBoundsException,
25
- __BaseException
26
- >
27
- );
18
+ constructor(opts: __ExceptionOptionType<ApiKeyValidityOutOfBoundsException, __BaseException>);
28
19
  }
29
20
  export declare class ApiLimitExceededException extends __BaseException {
30
21
  readonly name: "ApiLimitExceededException";
31
22
  readonly $fault: "client";
32
- constructor(
33
- opts: __ExceptionOptionType<ApiLimitExceededException, __BaseException>
34
- );
23
+ constructor(opts: __ExceptionOptionType<ApiLimitExceededException, __BaseException>);
35
24
  }
36
25
  export declare class BadRequestException extends __BaseException {
37
26
  readonly name: "BadRequestException";
38
27
  readonly $fault: "client";
39
28
  reason?: BadRequestReason | undefined;
40
29
  detail?: BadRequestDetail | undefined;
41
- constructor(
42
- opts: __ExceptionOptionType<BadRequestException, __BaseException>
43
- );
30
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
44
31
  }
45
32
  export declare class InternalFailureException extends __BaseException {
46
33
  readonly name: "InternalFailureException";
47
34
  readonly $fault: "server";
48
- constructor(
49
- opts: __ExceptionOptionType<InternalFailureException, __BaseException>
50
- );
35
+ constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
51
36
  }
52
37
  export declare class NotFoundException extends __BaseException {
53
38
  readonly name: "NotFoundException";
@@ -57,33 +42,22 @@ export declare class NotFoundException extends __BaseException {
57
42
  export declare class ConcurrentModificationException extends __BaseException {
58
43
  readonly name: "ConcurrentModificationException";
59
44
  readonly $fault: "client";
60
- constructor(
61
- opts: __ExceptionOptionType<
62
- ConcurrentModificationException,
63
- __BaseException
64
- >
65
- );
45
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
66
46
  }
67
47
  export declare class LimitExceededException extends __BaseException {
68
48
  readonly name: "LimitExceededException";
69
49
  readonly $fault: "client";
70
- constructor(
71
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
72
- );
50
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
73
51
  }
74
52
  export declare class UnauthorizedException extends __BaseException {
75
53
  readonly name: "UnauthorizedException";
76
54
  readonly $fault: "client";
77
- constructor(
78
- opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
79
- );
55
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
80
56
  }
81
57
  export declare class ServiceQuotaExceededException extends __BaseException {
82
58
  readonly name: "ServiceQuotaExceededException";
83
59
  readonly $fault: "client";
84
- constructor(
85
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
86
- );
60
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
87
61
  }
88
62
  export declare class ConflictException extends __BaseException {
89
63
  readonly name: "ConflictException";
@@ -93,7 +67,5 @@ export declare class ConflictException extends __BaseException {
93
67
  export declare class GraphQLSchemaException extends __BaseException {
94
68
  readonly name: "GraphQLSchemaException";
95
69
  readonly $fault: "client";
96
- constructor(
97
- opts: __ExceptionOptionType<GraphQLSchemaException, __BaseException>
98
- );
70
+ constructor(opts: __ExceptionOptionType<GraphQLSchemaException, __BaseException>);
99
71
  }
@@ -400,9 +400,7 @@ export interface CreateGraphqlApiRequest {
400
400
  userPoolConfig?: UserPoolConfig | undefined;
401
401
  openIDConnectConfig?: OpenIDConnectConfig | undefined;
402
402
  tags?: Record<string, string> | undefined;
403
- additionalAuthenticationProviders?:
404
- | AdditionalAuthenticationProvider[]
405
- | undefined;
403
+ additionalAuthenticationProviders?: AdditionalAuthenticationProvider[] | undefined;
406
404
  xrayEnabled?: boolean | undefined;
407
405
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig | undefined;
408
406
  apiType?: GraphQLApiType | undefined;
@@ -424,9 +422,7 @@ export interface GraphqlApi {
424
422
  arn?: string | undefined;
425
423
  uris?: Record<string, string> | undefined;
426
424
  tags?: Record<string, string> | undefined;
427
- additionalAuthenticationProviders?:
428
- | AdditionalAuthenticationProvider[]
429
- | undefined;
425
+ additionalAuthenticationProviders?: AdditionalAuthenticationProvider[] | undefined;
430
426
  xrayEnabled?: boolean | undefined;
431
427
  wafWebAclArn?: string | undefined;
432
428
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig | undefined;
@@ -965,9 +961,7 @@ export interface UpdateGraphqlApiRequest {
965
961
  authenticationType: AuthenticationType | undefined;
966
962
  userPoolConfig?: UserPoolConfig | undefined;
967
963
  openIDConnectConfig?: OpenIDConnectConfig | undefined;
968
- additionalAuthenticationProviders?:
969
- | AdditionalAuthenticationProvider[]
970
- | undefined;
964
+ additionalAuthenticationProviders?: AdditionalAuthenticationProvider[] | undefined;
971
965
  xrayEnabled?: boolean | undefined;
972
966
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig | undefined;
973
967
  mergedApiExecutionRoleArn?: string | undefined;
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@smithy/types";
2
2
  import { AppSyncClient } from "../AppSyncClient";
3
- export interface AppSyncPaginationConfiguration
4
- extends PaginationConfiguration {
3
+ export interface AppSyncPaginationConfiguration extends PaginationConfiguration {
5
4
  client: AppSyncClient;
6
5
  }
@@ -1,8 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import {
3
- ListApiKeysCommandInput,
4
- ListApiKeysCommandOutput,
5
- } from "../commands/ListApiKeysCommand";
2
+ import { ListApiKeysCommandInput, ListApiKeysCommandOutput } from "../commands/ListApiKeysCommand";
6
3
  import { AppSyncPaginationConfiguration } from "./Interfaces";
7
4
  export declare const paginateListApiKeys: (
8
5
  config: AppSyncPaginationConfiguration,
@@ -1,8 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import {
3
- ListApisCommandInput,
4
- ListApisCommandOutput,
5
- } from "../commands/ListApisCommand";
2
+ import { ListApisCommandInput, ListApisCommandOutput } from "../commands/ListApisCommand";
6
3
  import { AppSyncPaginationConfiguration } from "./Interfaces";
7
4
  export declare const paginateListApis: (
8
5
  config: AppSyncPaginationConfiguration,
@@ -1,8 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import {
3
- ListTypesCommandInput,
4
- ListTypesCommandOutput,
5
- } from "../commands/ListTypesCommand";
2
+ import { ListTypesCommandInput, ListTypesCommandOutput } from "../commands/ListTypesCommand";
6
3
  import { AppSyncPaginationConfiguration } from "./Interfaces";
7
4
  export declare const paginateListTypes: (
8
5
  config: AppSyncPaginationConfiguration,
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
10
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((
12
- _: unknown
13
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
12
  defaultUserAgentProvider: (
15
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
16
14
  ) => Promise<import("@smithy/types").UserAgent>;
17
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
16
  region: string | import("@smithy/types").Provider<any>;
19
- requestHandler:
20
- | import("@smithy/core/protocols").HttpHandler<any>
21
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
22
18
  retryMode: string | import("@smithy/types").Provider<string>;
23
19
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
21
  ) => Promise<Uint8Array>;
30
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
53
45
  logger: import("@smithy/types").Logger;
54
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- userAgentAppId?:
57
- | string
58
- | undefined
59
- | import("@smithy/types").Provider<string | undefined>;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
63
50
  endpoint?:
64
51
  | ((
65
52
  | string
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
81
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
69
  context?: {
83
70
  logger?: import("@smithy/types").Logger;
84
- }
71
+ },
85
72
  ) => import("@smithy/types").EndpointV2;
86
73
  tls?: boolean;
87
74
  serviceConfiguredEndpoint?: never;
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
94
81
  signer?:
95
82
  | import("@smithy/types").RequestSigner
96
83
  | ((
97
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
98
85
  ) => Promise<import("@smithy/types").RequestSigner>);
99
86
  signingEscapePath?: boolean;
100
87
  systemClockOffset?: number;
101
88
  signingRegion?: string;
102
89
  signerConstructor?: new (
103
90
  options: import("@smithy/signature-v4").SignatureV4Init &
104
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
105
92
  ) => import("@smithy/types").RequestSigner;
106
93
  };
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
14
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
15
  defaultUserAgentProvider: (
16
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
17
17
  ) => Promise<import("@smithy/types").UserAgent>;
18
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
19
19
  region: string | import("@smithy/types").Provider<string>;
20
- requestHandler:
21
- | RequestHandler
22
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
23
21
  retryMode: string | import("@smithy/types").Provider<string>;
24
22
  streamCollector: (
25
- stream:
26
- | import("stream").Readable
27
- | import("stream/web").ReadableStream
28
- | ReadableStream
29
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
30
24
  ) => Promise<Uint8Array>;
31
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
53
47
  logger: import("@smithy/types").Logger;
54
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- retryStrategy?:
57
- | import("@smithy/types").RetryStrategy
58
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
59
51
  endpoint?:
60
52
  | ((
61
53
  | string
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
77
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
78
70
  context?: {
79
71
  logger?: import("@smithy/types").Logger;
80
- }
72
+ },
81
73
  ) => import("@smithy/types").EndpointV2;
82
74
  tls?: boolean;
83
75
  serviceConfiguredEndpoint?: never;
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
89
81
  signer?:
90
82
  | import("@smithy/types").RequestSigner
91
83
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
93
85
  ) => Promise<import("@smithy/types").RequestSigner>);
94
86
  signingEscapePath?: boolean;
95
87
  systemClockOffset?: number;
96
88
  signingRegion?: string;
97
89
  signerConstructor?: new (
98
90
  options: import("@smithy/signature-v4").SignatureV4Init &
99
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
100
92
  ) => import("@smithy/types").RequestSigner;
101
93
  };
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
25
  ) => Promise<Uint8Array>;
30
26
  base64Decoder: import("@smithy/types").Decoder;
31
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
40
36
  region: string | import("@smithy/types").Provider<any>;
41
37
  profile?: string;
42
38
  defaultUserAgentProvider: (
43
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
44
40
  ) => Promise<import("@smithy/types").UserAgent>;
45
41
  credentialDefaultProvider:
46
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
47
- | ((
48
- _: unknown
49
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
50
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
51
45
  retryMode: string | import("@smithy/types").Provider<string>;
52
46
  logger: import("@smithy/types").Logger;
53
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
54
48
  defaultsMode:
55
49
  | import("@smithy/core/client").DefaultsMode
56
- | import("@smithy/types").Provider<
57
- import("@smithy/core/client").DefaultsMode
58
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
59
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- userAgentAppId?:
61
- | string
62
- | undefined
63
- | import("@smithy/types").Provider<string | undefined>;
64
- retryStrategy?:
65
- | import("@smithy/types").RetryStrategy
66
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
67
54
  endpoint?:
68
55
  | ((
69
56
  | string
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
85
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
86
73
  context?: {
87
74
  logger?: import("@smithy/types").Logger;
88
- }
75
+ },
89
76
  ) => import("@smithy/types").EndpointV2;
90
77
  tls?: boolean;
91
78
  serviceConfiguredEndpoint?: never;
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
98
85
  signer?:
99
86
  | import("@smithy/types").RequestSigner
100
87
  | ((
101
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
102
89
  ) => Promise<import("@smithy/types").RequestSigner>);
103
90
  signingEscapePath?: boolean;
104
91
  systemClockOffset?: number;
105
92
  signingRegion?: string;
106
93
  signerConstructor?: new (
107
94
  options: import("@smithy/signature-v4").SignatureV4Init &
108
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
109
96
  ) => import("@smithy/types").RequestSigner;
110
97
  };
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
9
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
- }
12
+ },
13
13
  ) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AppSyncHttpAuthSchemeProvider;
@@ -7,5 +7,5 @@ export interface RuntimeExtensionsConfig {
7
7
  }
8
8
  export declare const resolveRuntimeExtensions: (
9
9
  runtimeConfig: any,
10
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
11
11
  ) => any;
@@ -1,9 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import {
3
- StaticErrorSchema,
4
- StaticOperationSchema,
5
- StaticStructureSchema,
6
- } from "@smithy/types";
2
+ import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
7
3
  export declare var AppSyncServiceException$: StaticErrorSchema;
8
4
  export declare var AccessDeniedException$: StaticErrorSchema;
9
5
  export declare var ApiKeyLimitExceededException$: StaticErrorSchema;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appsync",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Appsync Client for Node.js, Browser and React Native",
4
- "version": "3.1086.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-appsync",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-appsync"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,18 +45,14 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.1",
23
- "@aws-sdk/credential-provider-node": "^3.972.67",
24
- "@aws-sdk/types": "^3.974.0",
25
- "@smithy/core": "^3.29.2",
26
- "@smithy/fetch-http-handler": "^5.6.4",
27
- "@smithy/node-http-handler": "^4.9.4",
28
- "@smithy/types": "^4.16.0",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.69",
51
+ "@aws-sdk/types": "^3.974.2",
52
+ "@smithy/core": "^3.29.4",
53
+ "@smithy/fetch-http-handler": "^5.6.6",
54
+ "@smithy/node-http-handler": "^4.9.6",
55
+ "@smithy/types": "^4.16.1",
29
56
  "tslib": "^2.6.2"
30
57
  },
31
58
  "devDependencies": {
@@ -38,32 +65,5 @@
38
65
  },
39
66
  "engines": {
40
67
  "node": ">=20.0.0"
41
- },
42
- "typesVersions": {
43
- "<4.5": {
44
- "dist-types/*": [
45
- "dist-types/ts3.4/*"
46
- ]
47
- }
48
- },
49
- "files": [
50
- "dist-*/**"
51
- ],
52
- "author": {
53
- "name": "AWS SDK for JavaScript Team",
54
- "url": "https://aws.amazon.com/sdk-for-javascript/"
55
- },
56
- "license": "Apache-2.0",
57
- "browser": {
58
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
59
- },
60
- "react-native": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
62
- },
63
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-appsync",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-appsync"
68
68
  }
69
69
  }