@aws-sdk/client-appsync 3.511.0 → 3.513.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/auth/httpAuthExtensionConfiguration.js +1 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/index.js +109 -7
- package/dist-cjs/runtimeConfig.shared.js +10 -0
- package/dist-es/AppSyncClient.js +17 -4
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/models/models_0.js +24 -0
- package/dist-es/protocols/Aws_restJson1.js +8 -0
- package/dist-es/runtimeConfig.shared.js +10 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/AppSyncClient.d.ts +13 -11
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateApiCacheCommand.d.ts +2 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +4 -0
- package/dist-types/commands/CreateGraphqlApiCommand.d.ts +10 -0
- package/dist-types/commands/CreateResolverCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +4 -0
- package/dist-types/commands/GetApiCacheCommand.d.ts +1 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +1 -0
- package/dist-types/commands/GetGraphqlApiCommand.d.ts +5 -0
- package/dist-types/commands/GetResolverCommand.d.ts +1 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -0
- package/dist-types/commands/ListGraphqlApisCommand.d.ts +5 -0
- package/dist-types/commands/ListResolversByFunctionCommand.d.ts +1 -0
- package/dist-types/commands/ListResolversCommand.d.ts +1 -0
- package/dist-types/commands/PutGraphqlApiEnvironmentVariablesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApiCacheCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateFunctionCommand.d.ts +4 -0
- package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +10 -0
- package/dist-types/commands/UpdateResolverCommand.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +387 -1
- package/dist-types/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -4
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/AppSyncClient.d.ts +11 -9
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +53 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +7 -7
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { AppSyncHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: AppSyncHttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): AppSyncHttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(
|
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
|
16
|
+
): void;
|
|
17
|
+
credentials():
|
|
18
|
+
| AwsCredentialIdentity
|
|
19
|
+
| AwsCredentialIdentityProvider
|
|
20
|
+
| undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
24
|
+
httpAuthSchemeProvider: AppSyncHttpAuthSchemeProvider;
|
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
+
config: HttpAuthExtensionConfiguration
|
|
32
|
+
) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core";
|
|
6
|
+
import {
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpAuthScheme,
|
|
9
|
+
HttpAuthSchemeParameters,
|
|
10
|
+
HttpAuthSchemeParametersProvider,
|
|
11
|
+
HttpAuthSchemeProvider,
|
|
12
|
+
} from "@smithy/types";
|
|
13
|
+
import { AppSyncClientResolvedConfig } from "../AppSyncClient";
|
|
14
|
+
export interface AppSyncHttpAuthSchemeParameters
|
|
15
|
+
extends HttpAuthSchemeParameters {
|
|
16
|
+
region?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface AppSyncHttpAuthSchemeParametersProvider
|
|
19
|
+
extends HttpAuthSchemeParametersProvider<
|
|
20
|
+
AppSyncClientResolvedConfig,
|
|
21
|
+
HandlerExecutionContext,
|
|
22
|
+
AppSyncHttpAuthSchemeParameters,
|
|
23
|
+
object
|
|
24
|
+
> {}
|
|
25
|
+
export declare const defaultAppSyncHttpAuthSchemeParametersProvider: (
|
|
26
|
+
config: AppSyncClientResolvedConfig,
|
|
27
|
+
context: HandlerExecutionContext,
|
|
28
|
+
input: object
|
|
29
|
+
) => Promise<AppSyncHttpAuthSchemeParameters>;
|
|
30
|
+
export interface AppSyncHttpAuthSchemeProvider
|
|
31
|
+
extends HttpAuthSchemeProvider<AppSyncHttpAuthSchemeParameters> {}
|
|
32
|
+
export declare const defaultAppSyncHttpAuthSchemeProvider: AppSyncHttpAuthSchemeProvider;
|
|
33
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
34
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
35
|
+
httpAuthSchemeProvider?: AppSyncHttpAuthSchemeProvider;
|
|
36
|
+
}
|
|
37
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
38
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
39
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
40
|
+
readonly httpAuthSchemeProvider: AppSyncHttpAuthSchemeProvider;
|
|
41
|
+
}
|
|
42
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
43
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
44
|
+
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
4
5
|
export interface AppSyncExtensionConfiguration
|
|
5
6
|
extends HttpHandlerExtensionConfiguration,
|
|
6
7
|
DefaultExtensionConfiguration,
|
|
7
|
-
AwsRegionExtensionConfiguration
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -57,6 +57,12 @@ export declare const ApiCachingBehavior: {
|
|
|
57
57
|
};
|
|
58
58
|
export type ApiCachingBehavior =
|
|
59
59
|
(typeof ApiCachingBehavior)[keyof typeof ApiCachingBehavior];
|
|
60
|
+
export declare const CacheHealthMetricsConfig: {
|
|
61
|
+
readonly DISABLED: "DISABLED";
|
|
62
|
+
readonly ENABLED: "ENABLED";
|
|
63
|
+
};
|
|
64
|
+
export type CacheHealthMetricsConfig =
|
|
65
|
+
(typeof CacheHealthMetricsConfig)[keyof typeof CacheHealthMetricsConfig];
|
|
60
66
|
export declare const ApiCacheStatus: {
|
|
61
67
|
readonly AVAILABLE: "AVAILABLE";
|
|
62
68
|
readonly CREATING: "CREATING";
|
|
@@ -91,6 +97,7 @@ export interface ApiCache {
|
|
|
91
97
|
atRestEncryptionEnabled?: boolean;
|
|
92
98
|
type?: ApiCacheType;
|
|
93
99
|
status?: ApiCacheStatus;
|
|
100
|
+
healthMetricsConfig?: CacheHealthMetricsConfig;
|
|
94
101
|
}
|
|
95
102
|
export interface ApiKey {
|
|
96
103
|
id?: string;
|
|
@@ -271,6 +278,7 @@ export interface CreateApiCacheRequest {
|
|
|
271
278
|
atRestEncryptionEnabled?: boolean;
|
|
272
279
|
apiCachingBehavior: ApiCachingBehavior | undefined;
|
|
273
280
|
type: ApiCacheType | undefined;
|
|
281
|
+
healthMetricsConfig?: CacheHealthMetricsConfig;
|
|
274
282
|
}
|
|
275
283
|
export interface CreateApiCacheResponse {
|
|
276
284
|
apiCache?: ApiCache;
|
|
@@ -309,6 +317,12 @@ export interface HttpDataSourceConfig {
|
|
|
309
317
|
export interface LambdaDataSourceConfig {
|
|
310
318
|
lambdaFunctionArn: string | undefined;
|
|
311
319
|
}
|
|
320
|
+
export declare const DataSourceLevelMetricsConfig: {
|
|
321
|
+
readonly DISABLED: "DISABLED";
|
|
322
|
+
readonly ENABLED: "ENABLED";
|
|
323
|
+
};
|
|
324
|
+
export type DataSourceLevelMetricsConfig =
|
|
325
|
+
(typeof DataSourceLevelMetricsConfig)[keyof typeof DataSourceLevelMetricsConfig];
|
|
312
326
|
export interface OpenSearchServiceDataSourceConfig {
|
|
313
327
|
endpoint: string | undefined;
|
|
314
328
|
awsRegion: string | undefined;
|
|
@@ -354,6 +368,7 @@ export interface CreateDataSourceRequest {
|
|
|
354
368
|
httpConfig?: HttpDataSourceConfig;
|
|
355
369
|
relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig;
|
|
356
370
|
eventBridgeConfig?: EventBridgeDataSourceConfig;
|
|
371
|
+
metricsConfig?: DataSourceLevelMetricsConfig;
|
|
357
372
|
}
|
|
358
373
|
export interface DataSource {
|
|
359
374
|
dataSourceArn?: string;
|
|
@@ -368,6 +383,7 @@ export interface DataSource {
|
|
|
368
383
|
httpConfig?: HttpDataSourceConfig;
|
|
369
384
|
relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig;
|
|
370
385
|
eventBridgeConfig?: EventBridgeDataSourceConfig;
|
|
386
|
+
metricsConfig?: DataSourceLevelMetricsConfig;
|
|
371
387
|
}
|
|
372
388
|
export interface CreateDataSourceResponse {
|
|
373
389
|
dataSource?: DataSource;
|
|
@@ -445,6 +461,29 @@ export declare const GraphQLApiType: {
|
|
|
445
461
|
};
|
|
446
462
|
export type GraphQLApiType =
|
|
447
463
|
(typeof GraphQLApiType)[keyof typeof GraphQLApiType];
|
|
464
|
+
export declare const DataSourceLevelMetricsBehavior: {
|
|
465
|
+
readonly FULL_REQUEST_DATA_SOURCE_METRICS: "FULL_REQUEST_DATA_SOURCE_METRICS";
|
|
466
|
+
readonly PER_DATA_SOURCE_METRICS: "PER_DATA_SOURCE_METRICS";
|
|
467
|
+
};
|
|
468
|
+
export type DataSourceLevelMetricsBehavior =
|
|
469
|
+
(typeof DataSourceLevelMetricsBehavior)[keyof typeof DataSourceLevelMetricsBehavior];
|
|
470
|
+
export declare const OperationLevelMetricsConfig: {
|
|
471
|
+
readonly DISABLED: "DISABLED";
|
|
472
|
+
readonly ENABLED: "ENABLED";
|
|
473
|
+
};
|
|
474
|
+
export type OperationLevelMetricsConfig =
|
|
475
|
+
(typeof OperationLevelMetricsConfig)[keyof typeof OperationLevelMetricsConfig];
|
|
476
|
+
export declare const ResolverLevelMetricsBehavior: {
|
|
477
|
+
readonly FULL_REQUEST_RESOLVER_METRICS: "FULL_REQUEST_RESOLVER_METRICS";
|
|
478
|
+
readonly PER_RESOLVER_METRICS: "PER_RESOLVER_METRICS";
|
|
479
|
+
};
|
|
480
|
+
export type ResolverLevelMetricsBehavior =
|
|
481
|
+
(typeof ResolverLevelMetricsBehavior)[keyof typeof ResolverLevelMetricsBehavior];
|
|
482
|
+
export interface EnhancedMetricsConfig {
|
|
483
|
+
resolverLevelMetricsBehavior: ResolverLevelMetricsBehavior | undefined;
|
|
484
|
+
dataSourceLevelMetricsBehavior: DataSourceLevelMetricsBehavior | undefined;
|
|
485
|
+
operationLevelMetricsConfig: OperationLevelMetricsConfig | undefined;
|
|
486
|
+
}
|
|
448
487
|
export declare const GraphQLApiIntrospectionConfig: {
|
|
449
488
|
readonly DISABLED: "DISABLED";
|
|
450
489
|
readonly ENABLED: "ENABLED";
|
|
@@ -496,6 +535,7 @@ export interface CreateGraphqlApiRequest {
|
|
|
496
535
|
introspectionConfig?: GraphQLApiIntrospectionConfig;
|
|
497
536
|
queryDepthLimit?: number;
|
|
498
537
|
resolverCountLimit?: number;
|
|
538
|
+
enhancedMetricsConfig?: EnhancedMetricsConfig;
|
|
499
539
|
}
|
|
500
540
|
export interface GraphqlApi {
|
|
501
541
|
name?: string;
|
|
@@ -520,6 +560,7 @@ export interface GraphqlApi {
|
|
|
520
560
|
introspectionConfig?: GraphQLApiIntrospectionConfig;
|
|
521
561
|
queryDepthLimit?: number;
|
|
522
562
|
resolverCountLimit?: number;
|
|
563
|
+
enhancedMetricsConfig?: EnhancedMetricsConfig;
|
|
523
564
|
}
|
|
524
565
|
export interface CreateGraphqlApiResponse {
|
|
525
566
|
graphqlApi?: GraphqlApi;
|
|
@@ -533,6 +574,12 @@ export declare const ResolverKind: {
|
|
|
533
574
|
readonly UNIT: "UNIT";
|
|
534
575
|
};
|
|
535
576
|
export type ResolverKind = (typeof ResolverKind)[keyof typeof ResolverKind];
|
|
577
|
+
export declare const ResolverLevelMetricsConfig: {
|
|
578
|
+
readonly DISABLED: "DISABLED";
|
|
579
|
+
readonly ENABLED: "ENABLED";
|
|
580
|
+
};
|
|
581
|
+
export type ResolverLevelMetricsConfig =
|
|
582
|
+
(typeof ResolverLevelMetricsConfig)[keyof typeof ResolverLevelMetricsConfig];
|
|
536
583
|
export interface PipelineConfig {
|
|
537
584
|
functions?: string[];
|
|
538
585
|
}
|
|
@@ -550,6 +597,7 @@ export interface CreateResolverRequest {
|
|
|
550
597
|
maxBatchSize?: number;
|
|
551
598
|
runtime?: AppSyncRuntime;
|
|
552
599
|
code?: string;
|
|
600
|
+
metricsConfig?: ResolverLevelMetricsConfig;
|
|
553
601
|
}
|
|
554
602
|
export interface Resolver {
|
|
555
603
|
typeName?: string;
|
|
@@ -565,6 +613,7 @@ export interface Resolver {
|
|
|
565
613
|
maxBatchSize?: number;
|
|
566
614
|
runtime?: AppSyncRuntime;
|
|
567
615
|
code?: string;
|
|
616
|
+
metricsConfig?: ResolverLevelMetricsConfig;
|
|
568
617
|
}
|
|
569
618
|
export interface CreateResolverResponse {
|
|
570
619
|
resolver?: Resolver;
|
|
@@ -961,6 +1010,7 @@ export interface UpdateApiCacheRequest {
|
|
|
961
1010
|
ttl: number | undefined;
|
|
962
1011
|
apiCachingBehavior: ApiCachingBehavior | undefined;
|
|
963
1012
|
type: ApiCacheType | undefined;
|
|
1013
|
+
healthMetricsConfig?: CacheHealthMetricsConfig;
|
|
964
1014
|
}
|
|
965
1015
|
export interface UpdateApiCacheResponse {
|
|
966
1016
|
apiCache?: ApiCache;
|
|
@@ -987,6 +1037,7 @@ export interface UpdateDataSourceRequest {
|
|
|
987
1037
|
httpConfig?: HttpDataSourceConfig;
|
|
988
1038
|
relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig;
|
|
989
1039
|
eventBridgeConfig?: EventBridgeDataSourceConfig;
|
|
1040
|
+
metricsConfig?: DataSourceLevelMetricsConfig;
|
|
990
1041
|
}
|
|
991
1042
|
export interface UpdateDataSourceResponse {
|
|
992
1043
|
dataSource?: DataSource;
|
|
@@ -1030,6 +1081,7 @@ export interface UpdateGraphqlApiRequest {
|
|
|
1030
1081
|
introspectionConfig?: GraphQLApiIntrospectionConfig;
|
|
1031
1082
|
queryDepthLimit?: number;
|
|
1032
1083
|
resolverCountLimit?: number;
|
|
1084
|
+
enhancedMetricsConfig?: EnhancedMetricsConfig;
|
|
1033
1085
|
}
|
|
1034
1086
|
export interface UpdateGraphqlApiResponse {
|
|
1035
1087
|
graphqlApi?: GraphqlApi;
|
|
@@ -1048,6 +1100,7 @@ export interface UpdateResolverRequest {
|
|
|
1048
1100
|
maxBatchSize?: number;
|
|
1049
1101
|
runtime?: AppSyncRuntime;
|
|
1050
1102
|
code?: string;
|
|
1103
|
+
metricsConfig?: ResolverLevelMetricsConfig;
|
|
1051
1104
|
}
|
|
1052
1105
|
export interface UpdateResolverResponse {
|
|
1053
1106
|
resolver?: Resolver;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
|
-
) => import("@smithy/types").
|
|
11
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
12
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
13
13
|
import("@smithy/types").UserAgent
|
|
14
14
|
>;
|
|
@@ -72,11 +72,12 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
72
72
|
| import("@smithy/types").RetryStrategy
|
|
73
73
|
| import("@smithy/types").RetryStrategyV2
|
|
74
74
|
| undefined;
|
|
75
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
76
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
77
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AppSyncHttpAuthSchemeProvider;
|
|
75
78
|
credentials?:
|
|
76
79
|
| import("@smithy/types").AwsCredentialIdentity
|
|
77
|
-
| import("@smithy/types").
|
|
78
|
-
import("@smithy/types").AwsCredentialIdentity
|
|
79
|
-
>
|
|
80
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
80
81
|
| undefined;
|
|
81
82
|
signer?:
|
|
82
83
|
| import("@smithy/types").RequestSigner
|
|
@@ -93,5 +94,4 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
93
94
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
94
95
|
) => import("@smithy/types").RequestSigner)
|
|
95
96
|
| undefined;
|
|
96
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
97
97
|
};
|
|
@@ -76,11 +76,12 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
76
76
|
| import("@smithy/types").RetryStrategy
|
|
77
77
|
| import("@smithy/types").RetryStrategyV2
|
|
78
78
|
| undefined;
|
|
79
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
80
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
81
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AppSyncHttpAuthSchemeProvider;
|
|
79
82
|
credentials?:
|
|
80
83
|
| import("@smithy/types").AwsCredentialIdentity
|
|
81
|
-
| import("@smithy/types").
|
|
82
|
-
import("@smithy/types").AwsCredentialIdentity
|
|
83
|
-
>
|
|
84
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
84
85
|
| undefined;
|
|
85
86
|
signer?:
|
|
86
87
|
| import("@smithy/types").RequestSigner
|
|
@@ -97,5 +98,4 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
97
98
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
98
99
|
) => import("@smithy/types").RequestSigner)
|
|
99
100
|
| undefined;
|
|
100
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
101
101
|
};
|
|
@@ -29,13 +29,13 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
29
29
|
serviceId: string;
|
|
30
30
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
31
31
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
33
|
-
credentialDefaultProvider: (
|
|
34
|
-
input: any
|
|
35
|
-
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
36
32
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
37
33
|
import("@smithy/types").UserAgent
|
|
38
34
|
>;
|
|
35
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
36
|
+
credentialDefaultProvider: (
|
|
37
|
+
input: any
|
|
38
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
39
39
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
40
40
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
41
41
|
logger: import("@smithy/types").Logger;
|
|
@@ -63,11 +63,12 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
63
63
|
| import("@smithy/types").RetryStrategy
|
|
64
64
|
| import("@smithy/types").RetryStrategyV2
|
|
65
65
|
| undefined;
|
|
66
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
67
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
68
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AppSyncHttpAuthSchemeProvider;
|
|
66
69
|
credentials?:
|
|
67
70
|
| import("@smithy/types").AwsCredentialIdentity
|
|
68
|
-
| import("@smithy/types").
|
|
69
|
-
import("@smithy/types").AwsCredentialIdentity
|
|
70
|
-
>
|
|
71
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
71
72
|
| undefined;
|
|
72
73
|
signer?:
|
|
73
74
|
| import("@smithy/types").RequestSigner
|
|
@@ -84,5 +85,4 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
84
85
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
85
86
|
) => import("@smithy/types").RequestSigner)
|
|
86
87
|
| undefined;
|
|
87
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
88
88
|
};
|
|
@@ -11,6 +11,8 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
11
11
|
}
|
|
12
12
|
) => import("@smithy/types").EndpointV2;
|
|
13
13
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
14
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AppSyncHttpAuthSchemeProvider;
|
|
15
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
14
16
|
logger: import("@smithy/types").Logger;
|
|
15
17
|
serviceId: string;
|
|
16
18
|
urlParser: import("@smithy/types").UrlParser;
|
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.
|
|
4
|
+
"version": "3.513.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,13 +20,12 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.513.0",
|
|
24
|
+
"@aws-sdk/core": "3.513.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.513.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.511.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.511.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.511.0",
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.511.0",
|
|
30
29
|
"@aws-sdk/middleware-user-agent": "3.511.0",
|
|
31
30
|
"@aws-sdk/region-config-resolver": "3.511.0",
|
|
32
31
|
"@aws-sdk/types": "3.511.0",
|
|
@@ -34,7 +33,7 @@
|
|
|
34
33
|
"@aws-sdk/util-user-agent-browser": "3.511.0",
|
|
35
34
|
"@aws-sdk/util-user-agent-node": "3.511.0",
|
|
36
35
|
"@smithy/config-resolver": "^2.1.1",
|
|
37
|
-
"@smithy/core": "^1.3.
|
|
36
|
+
"@smithy/core": "^1.3.2",
|
|
38
37
|
"@smithy/fetch-http-handler": "^2.4.1",
|
|
39
38
|
"@smithy/hash-node": "^2.1.1",
|
|
40
39
|
"@smithy/invalid-dependency": "^2.1.1",
|
|
@@ -53,8 +52,9 @@
|
|
|
53
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
54
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
55
54
|
"@smithy/util-defaults-mode-browser": "^2.1.1",
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.0",
|
|
57
56
|
"@smithy/util-endpoints": "^1.1.1",
|
|
57
|
+
"@smithy/util-middleware": "^2.1.1",
|
|
58
58
|
"@smithy/util-retry": "^2.1.1",
|
|
59
59
|
"@smithy/util-stream": "^2.1.1",
|
|
60
60
|
"@smithy/util-utf8": "^2.1.1",
|