@aws-sdk/client-appsync 3.682.0 → 3.683.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +90 -10
- package/dist-cjs/index.js +572 -0
- package/dist-es/AppSync.js +20 -0
- package/dist-es/commands/CreateApiCommand.js +22 -0
- package/dist-es/commands/CreateChannelNamespaceCommand.js +22 -0
- package/dist-es/commands/DeleteApiCommand.js +22 -0
- package/dist-es/commands/DeleteChannelNamespaceCommand.js +22 -0
- package/dist-es/commands/GetApiCommand.js +22 -0
- package/dist-es/commands/GetChannelNamespaceCommand.js +22 -0
- package/dist-es/commands/ListApisCommand.js +22 -0
- package/dist-es/commands/ListChannelNamespacesCommand.js +22 -0
- package/dist-es/commands/UpdateApiCommand.js +22 -0
- package/dist-es/commands/UpdateChannelNamespaceCommand.js +22 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +31 -0
- package/dist-es/pagination/ListApisPaginator.js +4 -0
- package/dist-es/pagination/ListChannelNamespacesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +341 -2
- package/dist-types/AppSync.d.ts +73 -2
- package/dist-types/AppSyncClient.d.ts +14 -4
- package/dist-types/commands/AssociateApiCommand.d.ts +4 -3
- package/dist-types/commands/AssociateMergedGraphqlApiCommand.d.ts +8 -6
- package/dist-types/commands/AssociateSourceGraphqlApiCommand.d.ts +8 -6
- package/dist-types/commands/CreateApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/CreateApiCommand.d.ts +192 -0
- package/dist-types/commands/CreateApiKeyCommand.d.ts +4 -3
- package/dist-types/commands/CreateChannelNamespaceCommand.d.ts +133 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +6 -5
- package/dist-types/commands/CreateDomainNameCommand.d.ts +2 -2
- package/dist-types/commands/CreateFunctionCommand.d.ts +8 -6
- package/dist-types/commands/CreateGraphqlApiCommand.d.ts +5 -5
- package/dist-types/commands/CreateResolverCommand.d.ts +8 -7
- package/dist-types/commands/CreateTypeCommand.d.ts +6 -5
- package/dist-types/commands/DeleteApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/DeleteApiCommand.d.ts +90 -0
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +4 -3
- package/dist-types/commands/DeleteChannelNamespaceCommand.d.ts +91 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +6 -5
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +6 -5
- package/dist-types/commands/DeleteFunctionCommand.d.ts +6 -5
- package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +6 -5
- package/dist-types/commands/DeleteResolverCommand.d.ts +6 -5
- package/dist-types/commands/DeleteTypeCommand.d.ts +6 -5
- package/dist-types/commands/DisassociateApiCommand.d.ts +6 -5
- package/dist-types/commands/DisassociateMergedGraphqlApiCommand.d.ts +8 -7
- package/dist-types/commands/DisassociateSourceGraphqlApiCommand.d.ts +8 -7
- package/dist-types/commands/EvaluateCodeCommand.d.ts +8 -7
- package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +8 -7
- package/dist-types/commands/FlushApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/GetApiAssociationCommand.d.ts +4 -3
- package/dist-types/commands/GetApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/GetApiCommand.d.ts +144 -0
- package/dist-types/commands/GetChannelNamespaceCommand.d.ts +109 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +6 -5
- package/dist-types/commands/GetDataSourceIntrospectionCommand.d.ts +7 -6
- package/dist-types/commands/GetDomainNameCommand.d.ts +4 -3
- package/dist-types/commands/GetFunctionCommand.d.ts +4 -3
- package/dist-types/commands/GetGraphqlApiCommand.d.ts +4 -3
- package/dist-types/commands/GetGraphqlApiEnvironmentVariablesCommand.d.ts +6 -4
- package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +2 -1
- package/dist-types/commands/GetResolverCommand.d.ts +4 -3
- package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +4 -3
- package/dist-types/commands/GetSourceApiAssociationCommand.d.ts +4 -3
- package/dist-types/commands/GetTypeCommand.d.ts +6 -5
- package/dist-types/commands/ListApiKeysCommand.d.ts +8 -6
- package/dist-types/commands/ListApisCommand.d.ts +144 -0
- package/dist-types/commands/ListChannelNamespacesCommand.d.ts +114 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +4 -3
- package/dist-types/commands/ListDomainNamesCommand.d.ts +2 -2
- package/dist-types/commands/ListFunctionsCommand.d.ts +4 -3
- package/dist-types/commands/ListGraphqlApisCommand.d.ts +2 -2
- package/dist-types/commands/ListResolversByFunctionCommand.d.ts +4 -3
- package/dist-types/commands/ListResolversCommand.d.ts +4 -3
- package/dist-types/commands/ListSourceApiAssociationsCommand.d.ts +4 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -3
- package/dist-types/commands/ListTypesByAssociationCommand.d.ts +6 -5
- package/dist-types/commands/ListTypesCommand.d.ts +6 -5
- package/dist-types/commands/PutGraphqlApiEnvironmentVariablesCommand.d.ts +21 -17
- package/dist-types/commands/StartDataSourceIntrospectionCommand.d.ts +6 -5
- package/dist-types/commands/StartSchemaCreationCommand.d.ts +8 -7
- package/dist-types/commands/StartSchemaMergeCommand.d.ts +8 -6
- package/dist-types/commands/TagResourceCommand.d.ts +4 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -3
- package/dist-types/commands/UpdateApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/UpdateApiCommand.d.ts +192 -0
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +4 -3
- package/dist-types/commands/UpdateChannelNamespaceCommand.d.ts +124 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -5
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +6 -5
- package/dist-types/commands/UpdateFunctionCommand.d.ts +6 -5
- package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +7 -6
- package/dist-types/commands/UpdateResolverCommand.d.ts +6 -5
- package/dist-types/commands/UpdateSourceApiAssociationCommand.d.ts +6 -5
- package/dist-types/commands/UpdateTypeCommand.d.ts +6 -5
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +1305 -629
- package/dist-types/pagination/ListApisPaginator.d.ts +7 -0
- package/dist-types/pagination/ListChannelNamespacesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/AppSync.d.ts +171 -0
- package/dist-types/ts3.4/AppSyncClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/CreateApiCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateChannelNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteApiCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteChannelNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetApiCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetChannelNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListApisCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListChannelNamespacesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateApiCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateChannelNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +148 -2
- package/dist-types/ts3.4/pagination/ListApisPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListChannelNamespacesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +1 -1
|
@@ -2,7 +2,9 @@ export * from "./AssociateApiCommand";
|
|
|
2
2
|
export * from "./AssociateMergedGraphqlApiCommand";
|
|
3
3
|
export * from "./AssociateSourceGraphqlApiCommand";
|
|
4
4
|
export * from "./CreateApiCacheCommand";
|
|
5
|
+
export * from "./CreateApiCommand";
|
|
5
6
|
export * from "./CreateApiKeyCommand";
|
|
7
|
+
export * from "./CreateChannelNamespaceCommand";
|
|
6
8
|
export * from "./CreateDataSourceCommand";
|
|
7
9
|
export * from "./CreateDomainNameCommand";
|
|
8
10
|
export * from "./CreateFunctionCommand";
|
|
@@ -10,7 +12,9 @@ export * from "./CreateGraphqlApiCommand";
|
|
|
10
12
|
export * from "./CreateResolverCommand";
|
|
11
13
|
export * from "./CreateTypeCommand";
|
|
12
14
|
export * from "./DeleteApiCacheCommand";
|
|
15
|
+
export * from "./DeleteApiCommand";
|
|
13
16
|
export * from "./DeleteApiKeyCommand";
|
|
17
|
+
export * from "./DeleteChannelNamespaceCommand";
|
|
14
18
|
export * from "./DeleteDataSourceCommand";
|
|
15
19
|
export * from "./DeleteDomainNameCommand";
|
|
16
20
|
export * from "./DeleteFunctionCommand";
|
|
@@ -25,6 +29,8 @@ export * from "./EvaluateMappingTemplateCommand";
|
|
|
25
29
|
export * from "./FlushApiCacheCommand";
|
|
26
30
|
export * from "./GetApiAssociationCommand";
|
|
27
31
|
export * from "./GetApiCacheCommand";
|
|
32
|
+
export * from "./GetApiCommand";
|
|
33
|
+
export * from "./GetChannelNamespaceCommand";
|
|
28
34
|
export * from "./GetDataSourceCommand";
|
|
29
35
|
export * from "./GetDataSourceIntrospectionCommand";
|
|
30
36
|
export * from "./GetDomainNameCommand";
|
|
@@ -37,6 +43,8 @@ export * from "./GetSchemaCreationStatusCommand";
|
|
|
37
43
|
export * from "./GetSourceApiAssociationCommand";
|
|
38
44
|
export * from "./GetTypeCommand";
|
|
39
45
|
export * from "./ListApiKeysCommand";
|
|
46
|
+
export * from "./ListApisCommand";
|
|
47
|
+
export * from "./ListChannelNamespacesCommand";
|
|
40
48
|
export * from "./ListDataSourcesCommand";
|
|
41
49
|
export * from "./ListDomainNamesCommand";
|
|
42
50
|
export * from "./ListFunctionsCommand";
|
|
@@ -54,7 +62,9 @@ export * from "./StartSchemaMergeCommand";
|
|
|
54
62
|
export * from "./TagResourceCommand";
|
|
55
63
|
export * from "./UntagResourceCommand";
|
|
56
64
|
export * from "./UpdateApiCacheCommand";
|
|
65
|
+
export * from "./UpdateApiCommand";
|
|
57
66
|
export * from "./UpdateApiKeyCommand";
|
|
67
|
+
export * from "./UpdateChannelNamespaceCommand";
|
|
58
68
|
export * from "./UpdateDataSourceCommand";
|
|
59
69
|
export * from "./UpdateDomainNameCommand";
|
|
60
70
|
export * from "./UpdateFunctionCommand";
|
|
@@ -38,6 +38,51 @@ export interface AdditionalAuthenticationProvider {
|
|
|
38
38
|
userPoolConfig?: CognitoUserPoolConfig;
|
|
39
39
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
40
40
|
}
|
|
41
|
+
export interface CognitoConfig {
|
|
42
|
+
userPoolId: string | undefined;
|
|
43
|
+
awsRegion: string | undefined;
|
|
44
|
+
appIdClientRegex?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface AuthProvider {
|
|
47
|
+
authType: AuthenticationType | undefined;
|
|
48
|
+
cognitoConfig?: CognitoConfig;
|
|
49
|
+
openIDConnectConfig?: OpenIDConnectConfig;
|
|
50
|
+
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
51
|
+
}
|
|
52
|
+
export interface AuthMode {
|
|
53
|
+
authType: AuthenticationType | undefined;
|
|
54
|
+
}
|
|
55
|
+
export declare const EventLogLevel: {
|
|
56
|
+
readonly ALL: "ALL";
|
|
57
|
+
readonly DEBUG: "DEBUG";
|
|
58
|
+
readonly ERROR: "ERROR";
|
|
59
|
+
readonly INFO: "INFO";
|
|
60
|
+
readonly NONE: "NONE";
|
|
61
|
+
};
|
|
62
|
+
export type EventLogLevel = (typeof EventLogLevel)[keyof typeof EventLogLevel];
|
|
63
|
+
export interface EventLogConfig {
|
|
64
|
+
logLevel: EventLogLevel | undefined;
|
|
65
|
+
cloudWatchLogsRoleArn: string | undefined;
|
|
66
|
+
}
|
|
67
|
+
export interface EventConfig {
|
|
68
|
+
authProviders: AuthProvider[] | undefined;
|
|
69
|
+
connectionAuthModes: AuthMode[] | undefined;
|
|
70
|
+
defaultPublishAuthModes: AuthMode[] | undefined;
|
|
71
|
+
defaultSubscribeAuthModes: AuthMode[] | undefined;
|
|
72
|
+
logConfig?: EventLogConfig;
|
|
73
|
+
}
|
|
74
|
+
export interface Api {
|
|
75
|
+
apiId?: string;
|
|
76
|
+
name?: string;
|
|
77
|
+
ownerContact?: string;
|
|
78
|
+
tags?: Record<string, string>;
|
|
79
|
+
dns?: Record<string, string>;
|
|
80
|
+
apiArn?: string;
|
|
81
|
+
created?: Date;
|
|
82
|
+
xrayEnabled?: boolean;
|
|
83
|
+
wafWebAclArn?: string;
|
|
84
|
+
eventConfig?: EventConfig;
|
|
85
|
+
}
|
|
41
86
|
export declare const AssociationStatus: {
|
|
42
87
|
readonly Failed: "FAILED";
|
|
43
88
|
readonly Processing: "PROCESSING";
|
|
@@ -271,6 +316,22 @@ export interface AuthorizationConfig {
|
|
|
271
316
|
authorizationType: AuthorizationType | undefined;
|
|
272
317
|
awsIamConfig?: AwsIamConfig;
|
|
273
318
|
}
|
|
319
|
+
export interface CreateApiRequest {
|
|
320
|
+
name: string | undefined;
|
|
321
|
+
ownerContact?: string;
|
|
322
|
+
tags?: Record<string, string>;
|
|
323
|
+
eventConfig?: EventConfig;
|
|
324
|
+
}
|
|
325
|
+
export interface CreateApiResponse {
|
|
326
|
+
api?: Api;
|
|
327
|
+
}
|
|
328
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
329
|
+
readonly name: "ServiceQuotaExceededException";
|
|
330
|
+
readonly $fault: "client";
|
|
331
|
+
constructor(
|
|
332
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
333
|
+
);
|
|
334
|
+
}
|
|
274
335
|
export interface CreateApiCacheRequest {
|
|
275
336
|
apiId: string | undefined;
|
|
276
337
|
ttl: number | undefined;
|
|
@@ -291,6 +352,33 @@ export interface CreateApiKeyRequest {
|
|
|
291
352
|
export interface CreateApiKeyResponse {
|
|
292
353
|
apiKey?: ApiKey;
|
|
293
354
|
}
|
|
355
|
+
export declare class ConflictException extends __BaseException {
|
|
356
|
+
readonly name: "ConflictException";
|
|
357
|
+
readonly $fault: "client";
|
|
358
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
359
|
+
}
|
|
360
|
+
export interface CreateChannelNamespaceRequest {
|
|
361
|
+
apiId: string | undefined;
|
|
362
|
+
name: string | undefined;
|
|
363
|
+
subscribeAuthModes?: AuthMode[];
|
|
364
|
+
publishAuthModes?: AuthMode[];
|
|
365
|
+
codeHandlers?: string;
|
|
366
|
+
tags?: Record<string, string>;
|
|
367
|
+
}
|
|
368
|
+
export interface ChannelNamespace {
|
|
369
|
+
apiId?: string;
|
|
370
|
+
name?: string;
|
|
371
|
+
subscribeAuthModes?: AuthMode[];
|
|
372
|
+
publishAuthModes?: AuthMode[];
|
|
373
|
+
codeHandlers?: string;
|
|
374
|
+
tags?: Record<string, string>;
|
|
375
|
+
channelNamespaceArn?: string;
|
|
376
|
+
created?: Date;
|
|
377
|
+
lastModified?: Date;
|
|
378
|
+
}
|
|
379
|
+
export interface CreateChannelNamespaceResponse {
|
|
380
|
+
channelNamespace?: ChannelNamespace;
|
|
381
|
+
}
|
|
294
382
|
export interface DeltaSyncConfig {
|
|
295
383
|
baseTableTTL?: number;
|
|
296
384
|
deltaSyncTableName?: string;
|
|
@@ -530,9 +618,9 @@ export interface CreateGraphqlApiRequest {
|
|
|
530
618
|
additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
|
|
531
619
|
xrayEnabled?: boolean;
|
|
532
620
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
533
|
-
visibility?: GraphQLApiVisibility;
|
|
534
621
|
apiType?: GraphQLApiType;
|
|
535
622
|
mergedApiExecutionRoleArn?: string;
|
|
623
|
+
visibility?: GraphQLApiVisibility;
|
|
536
624
|
ownerContact?: string;
|
|
537
625
|
introspectionConfig?: GraphQLApiIntrospectionConfig;
|
|
538
626
|
queryDepthLimit?: number;
|
|
@@ -641,6 +729,10 @@ export interface Type {
|
|
|
641
729
|
export interface CreateTypeResponse {
|
|
642
730
|
type?: Type;
|
|
643
731
|
}
|
|
732
|
+
export interface DeleteApiRequest {
|
|
733
|
+
apiId: string | undefined;
|
|
734
|
+
}
|
|
735
|
+
export interface DeleteApiResponse {}
|
|
644
736
|
export interface DeleteApiCacheRequest {
|
|
645
737
|
apiId: string | undefined;
|
|
646
738
|
}
|
|
@@ -650,6 +742,11 @@ export interface DeleteApiKeyRequest {
|
|
|
650
742
|
id: string | undefined;
|
|
651
743
|
}
|
|
652
744
|
export interface DeleteApiKeyResponse {}
|
|
745
|
+
export interface DeleteChannelNamespaceRequest {
|
|
746
|
+
apiId: string | undefined;
|
|
747
|
+
name: string | undefined;
|
|
748
|
+
}
|
|
749
|
+
export interface DeleteChannelNamespaceResponse {}
|
|
653
750
|
export interface DeleteDataSourceRequest {
|
|
654
751
|
apiId: string | undefined;
|
|
655
752
|
name: string | undefined;
|
|
@@ -728,6 +825,12 @@ export interface FlushApiCacheRequest {
|
|
|
728
825
|
apiId: string | undefined;
|
|
729
826
|
}
|
|
730
827
|
export interface FlushApiCacheResponse {}
|
|
828
|
+
export interface GetApiRequest {
|
|
829
|
+
apiId: string | undefined;
|
|
830
|
+
}
|
|
831
|
+
export interface GetApiResponse {
|
|
832
|
+
api?: Api;
|
|
833
|
+
}
|
|
731
834
|
export interface GetApiAssociationRequest {
|
|
732
835
|
domainName: string | undefined;
|
|
733
836
|
}
|
|
@@ -740,6 +843,13 @@ export interface GetApiCacheRequest {
|
|
|
740
843
|
export interface GetApiCacheResponse {
|
|
741
844
|
apiCache?: ApiCache;
|
|
742
845
|
}
|
|
846
|
+
export interface GetChannelNamespaceRequest {
|
|
847
|
+
apiId: string | undefined;
|
|
848
|
+
name: string | undefined;
|
|
849
|
+
}
|
|
850
|
+
export interface GetChannelNamespaceResponse {
|
|
851
|
+
channelNamespace?: ChannelNamespace;
|
|
852
|
+
}
|
|
743
853
|
export interface GetDataSourceRequest {
|
|
744
854
|
apiId: string | undefined;
|
|
745
855
|
name: string | undefined;
|
|
@@ -857,6 +967,23 @@ export interface ListApiKeysResponse {
|
|
|
857
967
|
apiKeys?: ApiKey[];
|
|
858
968
|
nextToken?: string;
|
|
859
969
|
}
|
|
970
|
+
export interface ListApisRequest {
|
|
971
|
+
nextToken?: string;
|
|
972
|
+
maxResults?: number;
|
|
973
|
+
}
|
|
974
|
+
export interface ListApisResponse {
|
|
975
|
+
apis?: Api[];
|
|
976
|
+
nextToken?: string;
|
|
977
|
+
}
|
|
978
|
+
export interface ListChannelNamespacesRequest {
|
|
979
|
+
apiId: string | undefined;
|
|
980
|
+
nextToken?: string;
|
|
981
|
+
maxResults?: number;
|
|
982
|
+
}
|
|
983
|
+
export interface ListChannelNamespacesResponse {
|
|
984
|
+
channelNamespaces?: ChannelNamespace[];
|
|
985
|
+
nextToken?: string;
|
|
986
|
+
}
|
|
860
987
|
export interface ListDataSourcesRequest {
|
|
861
988
|
apiId: string | undefined;
|
|
862
989
|
nextToken?: string;
|
|
@@ -1007,6 +1134,15 @@ export interface UntagResourceRequest {
|
|
|
1007
1134
|
tagKeys: string[] | undefined;
|
|
1008
1135
|
}
|
|
1009
1136
|
export interface UntagResourceResponse {}
|
|
1137
|
+
export interface UpdateApiRequest {
|
|
1138
|
+
apiId: string | undefined;
|
|
1139
|
+
name: string | undefined;
|
|
1140
|
+
ownerContact?: string;
|
|
1141
|
+
eventConfig?: EventConfig;
|
|
1142
|
+
}
|
|
1143
|
+
export interface UpdateApiResponse {
|
|
1144
|
+
api?: Api;
|
|
1145
|
+
}
|
|
1010
1146
|
export interface UpdateApiCacheRequest {
|
|
1011
1147
|
apiId: string | undefined;
|
|
1012
1148
|
ttl: number | undefined;
|
|
@@ -1026,6 +1162,16 @@ export interface UpdateApiKeyRequest {
|
|
|
1026
1162
|
export interface UpdateApiKeyResponse {
|
|
1027
1163
|
apiKey?: ApiKey;
|
|
1028
1164
|
}
|
|
1165
|
+
export interface UpdateChannelNamespaceRequest {
|
|
1166
|
+
apiId: string | undefined;
|
|
1167
|
+
name: string | undefined;
|
|
1168
|
+
subscribeAuthModes?: AuthMode[];
|
|
1169
|
+
publishAuthModes?: AuthMode[];
|
|
1170
|
+
codeHandlers?: string;
|
|
1171
|
+
}
|
|
1172
|
+
export interface UpdateChannelNamespaceResponse {
|
|
1173
|
+
channelNamespace?: ChannelNamespace;
|
|
1174
|
+
}
|
|
1029
1175
|
export interface UpdateDataSourceRequest {
|
|
1030
1176
|
apiId: string | undefined;
|
|
1031
1177
|
name: string | undefined;
|
|
@@ -1072,7 +1218,7 @@ export interface UpdateGraphqlApiRequest {
|
|
|
1072
1218
|
apiId: string | undefined;
|
|
1073
1219
|
name: string | undefined;
|
|
1074
1220
|
logConfig?: LogConfig;
|
|
1075
|
-
authenticationType
|
|
1221
|
+
authenticationType?: AuthenticationType;
|
|
1076
1222
|
userPoolConfig?: UserPoolConfig;
|
|
1077
1223
|
openIDConnectConfig?: OpenIDConnectConfig;
|
|
1078
1224
|
additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListApisCommandInput,
|
|
4
|
+
ListApisCommandOutput,
|
|
5
|
+
} from "../commands/ListApisCommand";
|
|
6
|
+
import { AppSyncPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListApis: (
|
|
8
|
+
config: AppSyncPaginationConfiguration,
|
|
9
|
+
input: ListApisCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListApisCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListChannelNamespacesCommandInput,
|
|
4
|
+
ListChannelNamespacesCommandOutput,
|
|
5
|
+
} from "../commands/ListChannelNamespacesCommand";
|
|
6
|
+
import { AppSyncPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListChannelNamespaces: (
|
|
8
|
+
config: AppSyncPaginationConfiguration,
|
|
9
|
+
input: ListChannelNamespacesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListChannelNamespacesCommandOutput>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListApiKeysPaginator";
|
|
3
|
+
export * from "./ListApisPaginator";
|
|
4
|
+
export * from "./ListChannelNamespacesPaginator";
|
|
3
5
|
export * from "./ListDataSourcesPaginator";
|
|
4
6
|
export * from "./ListDomainNamesPaginator";
|
|
5
7
|
export * from "./ListFunctionsPaginator";
|
|
@@ -19,10 +19,18 @@ import {
|
|
|
19
19
|
CreateApiCacheCommandInput,
|
|
20
20
|
CreateApiCacheCommandOutput,
|
|
21
21
|
} from "../commands/CreateApiCacheCommand";
|
|
22
|
+
import {
|
|
23
|
+
CreateApiCommandInput,
|
|
24
|
+
CreateApiCommandOutput,
|
|
25
|
+
} from "../commands/CreateApiCommand";
|
|
22
26
|
import {
|
|
23
27
|
CreateApiKeyCommandInput,
|
|
24
28
|
CreateApiKeyCommandOutput,
|
|
25
29
|
} from "../commands/CreateApiKeyCommand";
|
|
30
|
+
import {
|
|
31
|
+
CreateChannelNamespaceCommandInput,
|
|
32
|
+
CreateChannelNamespaceCommandOutput,
|
|
33
|
+
} from "../commands/CreateChannelNamespaceCommand";
|
|
26
34
|
import {
|
|
27
35
|
CreateDataSourceCommandInput,
|
|
28
36
|
CreateDataSourceCommandOutput,
|
|
@@ -51,10 +59,18 @@ import {
|
|
|
51
59
|
DeleteApiCacheCommandInput,
|
|
52
60
|
DeleteApiCacheCommandOutput,
|
|
53
61
|
} from "../commands/DeleteApiCacheCommand";
|
|
62
|
+
import {
|
|
63
|
+
DeleteApiCommandInput,
|
|
64
|
+
DeleteApiCommandOutput,
|
|
65
|
+
} from "../commands/DeleteApiCommand";
|
|
54
66
|
import {
|
|
55
67
|
DeleteApiKeyCommandInput,
|
|
56
68
|
DeleteApiKeyCommandOutput,
|
|
57
69
|
} from "../commands/DeleteApiKeyCommand";
|
|
70
|
+
import {
|
|
71
|
+
DeleteChannelNamespaceCommandInput,
|
|
72
|
+
DeleteChannelNamespaceCommandOutput,
|
|
73
|
+
} from "../commands/DeleteChannelNamespaceCommand";
|
|
58
74
|
import {
|
|
59
75
|
DeleteDataSourceCommandInput,
|
|
60
76
|
DeleteDataSourceCommandOutput,
|
|
@@ -111,6 +127,14 @@ import {
|
|
|
111
127
|
GetApiCacheCommandInput,
|
|
112
128
|
GetApiCacheCommandOutput,
|
|
113
129
|
} from "../commands/GetApiCacheCommand";
|
|
130
|
+
import {
|
|
131
|
+
GetApiCommandInput,
|
|
132
|
+
GetApiCommandOutput,
|
|
133
|
+
} from "../commands/GetApiCommand";
|
|
134
|
+
import {
|
|
135
|
+
GetChannelNamespaceCommandInput,
|
|
136
|
+
GetChannelNamespaceCommandOutput,
|
|
137
|
+
} from "../commands/GetChannelNamespaceCommand";
|
|
114
138
|
import {
|
|
115
139
|
GetDataSourceCommandInput,
|
|
116
140
|
GetDataSourceCommandOutput,
|
|
@@ -159,6 +183,14 @@ import {
|
|
|
159
183
|
ListApiKeysCommandInput,
|
|
160
184
|
ListApiKeysCommandOutput,
|
|
161
185
|
} from "../commands/ListApiKeysCommand";
|
|
186
|
+
import {
|
|
187
|
+
ListApisCommandInput,
|
|
188
|
+
ListApisCommandOutput,
|
|
189
|
+
} from "../commands/ListApisCommand";
|
|
190
|
+
import {
|
|
191
|
+
ListChannelNamespacesCommandInput,
|
|
192
|
+
ListChannelNamespacesCommandOutput,
|
|
193
|
+
} from "../commands/ListChannelNamespacesCommand";
|
|
162
194
|
import {
|
|
163
195
|
ListDataSourcesCommandInput,
|
|
164
196
|
ListDataSourcesCommandOutput,
|
|
@@ -227,10 +259,18 @@ import {
|
|
|
227
259
|
UpdateApiCacheCommandInput,
|
|
228
260
|
UpdateApiCacheCommandOutput,
|
|
229
261
|
} from "../commands/UpdateApiCacheCommand";
|
|
262
|
+
import {
|
|
263
|
+
UpdateApiCommandInput,
|
|
264
|
+
UpdateApiCommandOutput,
|
|
265
|
+
} from "../commands/UpdateApiCommand";
|
|
230
266
|
import {
|
|
231
267
|
UpdateApiKeyCommandInput,
|
|
232
268
|
UpdateApiKeyCommandOutput,
|
|
233
269
|
} from "../commands/UpdateApiKeyCommand";
|
|
270
|
+
import {
|
|
271
|
+
UpdateChannelNamespaceCommandInput,
|
|
272
|
+
UpdateChannelNamespaceCommandOutput,
|
|
273
|
+
} from "../commands/UpdateChannelNamespaceCommand";
|
|
234
274
|
import {
|
|
235
275
|
UpdateDataSourceCommandInput,
|
|
236
276
|
UpdateDataSourceCommandOutput,
|
|
@@ -271,6 +311,10 @@ export declare const se_AssociateSourceGraphqlApiCommand: (
|
|
|
271
311
|
input: AssociateSourceGraphqlApiCommandInput,
|
|
272
312
|
context: __SerdeContext
|
|
273
313
|
) => Promise<__HttpRequest>;
|
|
314
|
+
export declare const se_CreateApiCommand: (
|
|
315
|
+
input: CreateApiCommandInput,
|
|
316
|
+
context: __SerdeContext
|
|
317
|
+
) => Promise<__HttpRequest>;
|
|
274
318
|
export declare const se_CreateApiCacheCommand: (
|
|
275
319
|
input: CreateApiCacheCommandInput,
|
|
276
320
|
context: __SerdeContext
|
|
@@ -279,6 +323,10 @@ export declare const se_CreateApiKeyCommand: (
|
|
|
279
323
|
input: CreateApiKeyCommandInput,
|
|
280
324
|
context: __SerdeContext
|
|
281
325
|
) => Promise<__HttpRequest>;
|
|
326
|
+
export declare const se_CreateChannelNamespaceCommand: (
|
|
327
|
+
input: CreateChannelNamespaceCommandInput,
|
|
328
|
+
context: __SerdeContext
|
|
329
|
+
) => Promise<__HttpRequest>;
|
|
282
330
|
export declare const se_CreateDataSourceCommand: (
|
|
283
331
|
input: CreateDataSourceCommandInput,
|
|
284
332
|
context: __SerdeContext
|
|
@@ -303,6 +351,10 @@ export declare const se_CreateTypeCommand: (
|
|
|
303
351
|
input: CreateTypeCommandInput,
|
|
304
352
|
context: __SerdeContext
|
|
305
353
|
) => Promise<__HttpRequest>;
|
|
354
|
+
export declare const se_DeleteApiCommand: (
|
|
355
|
+
input: DeleteApiCommandInput,
|
|
356
|
+
context: __SerdeContext
|
|
357
|
+
) => Promise<__HttpRequest>;
|
|
306
358
|
export declare const se_DeleteApiCacheCommand: (
|
|
307
359
|
input: DeleteApiCacheCommandInput,
|
|
308
360
|
context: __SerdeContext
|
|
@@ -311,6 +363,10 @@ export declare const se_DeleteApiKeyCommand: (
|
|
|
311
363
|
input: DeleteApiKeyCommandInput,
|
|
312
364
|
context: __SerdeContext
|
|
313
365
|
) => Promise<__HttpRequest>;
|
|
366
|
+
export declare const se_DeleteChannelNamespaceCommand: (
|
|
367
|
+
input: DeleteChannelNamespaceCommandInput,
|
|
368
|
+
context: __SerdeContext
|
|
369
|
+
) => Promise<__HttpRequest>;
|
|
314
370
|
export declare const se_DeleteDataSourceCommand: (
|
|
315
371
|
input: DeleteDataSourceCommandInput,
|
|
316
372
|
context: __SerdeContext
|
|
@@ -359,6 +415,10 @@ export declare const se_FlushApiCacheCommand: (
|
|
|
359
415
|
input: FlushApiCacheCommandInput,
|
|
360
416
|
context: __SerdeContext
|
|
361
417
|
) => Promise<__HttpRequest>;
|
|
418
|
+
export declare const se_GetApiCommand: (
|
|
419
|
+
input: GetApiCommandInput,
|
|
420
|
+
context: __SerdeContext
|
|
421
|
+
) => Promise<__HttpRequest>;
|
|
362
422
|
export declare const se_GetApiAssociationCommand: (
|
|
363
423
|
input: GetApiAssociationCommandInput,
|
|
364
424
|
context: __SerdeContext
|
|
@@ -367,6 +427,10 @@ export declare const se_GetApiCacheCommand: (
|
|
|
367
427
|
input: GetApiCacheCommandInput,
|
|
368
428
|
context: __SerdeContext
|
|
369
429
|
) => Promise<__HttpRequest>;
|
|
430
|
+
export declare const se_GetChannelNamespaceCommand: (
|
|
431
|
+
input: GetChannelNamespaceCommandInput,
|
|
432
|
+
context: __SerdeContext
|
|
433
|
+
) => Promise<__HttpRequest>;
|
|
370
434
|
export declare const se_GetDataSourceCommand: (
|
|
371
435
|
input: GetDataSourceCommandInput,
|
|
372
436
|
context: __SerdeContext
|
|
@@ -415,6 +479,14 @@ export declare const se_ListApiKeysCommand: (
|
|
|
415
479
|
input: ListApiKeysCommandInput,
|
|
416
480
|
context: __SerdeContext
|
|
417
481
|
) => Promise<__HttpRequest>;
|
|
482
|
+
export declare const se_ListApisCommand: (
|
|
483
|
+
input: ListApisCommandInput,
|
|
484
|
+
context: __SerdeContext
|
|
485
|
+
) => Promise<__HttpRequest>;
|
|
486
|
+
export declare const se_ListChannelNamespacesCommand: (
|
|
487
|
+
input: ListChannelNamespacesCommandInput,
|
|
488
|
+
context: __SerdeContext
|
|
489
|
+
) => Promise<__HttpRequest>;
|
|
418
490
|
export declare const se_ListDataSourcesCommand: (
|
|
419
491
|
input: ListDataSourcesCommandInput,
|
|
420
492
|
context: __SerdeContext
|
|
@@ -479,6 +551,10 @@ export declare const se_UntagResourceCommand: (
|
|
|
479
551
|
input: UntagResourceCommandInput,
|
|
480
552
|
context: __SerdeContext
|
|
481
553
|
) => Promise<__HttpRequest>;
|
|
554
|
+
export declare const se_UpdateApiCommand: (
|
|
555
|
+
input: UpdateApiCommandInput,
|
|
556
|
+
context: __SerdeContext
|
|
557
|
+
) => Promise<__HttpRequest>;
|
|
482
558
|
export declare const se_UpdateApiCacheCommand: (
|
|
483
559
|
input: UpdateApiCacheCommandInput,
|
|
484
560
|
context: __SerdeContext
|
|
@@ -487,6 +563,10 @@ export declare const se_UpdateApiKeyCommand: (
|
|
|
487
563
|
input: UpdateApiKeyCommandInput,
|
|
488
564
|
context: __SerdeContext
|
|
489
565
|
) => Promise<__HttpRequest>;
|
|
566
|
+
export declare const se_UpdateChannelNamespaceCommand: (
|
|
567
|
+
input: UpdateChannelNamespaceCommandInput,
|
|
568
|
+
context: __SerdeContext
|
|
569
|
+
) => Promise<__HttpRequest>;
|
|
490
570
|
export declare const se_UpdateDataSourceCommand: (
|
|
491
571
|
input: UpdateDataSourceCommandInput,
|
|
492
572
|
context: __SerdeContext
|
|
@@ -527,6 +607,10 @@ export declare const de_AssociateSourceGraphqlApiCommand: (
|
|
|
527
607
|
output: __HttpResponse,
|
|
528
608
|
context: __SerdeContext
|
|
529
609
|
) => Promise<AssociateSourceGraphqlApiCommandOutput>;
|
|
610
|
+
export declare const de_CreateApiCommand: (
|
|
611
|
+
output: __HttpResponse,
|
|
612
|
+
context: __SerdeContext
|
|
613
|
+
) => Promise<CreateApiCommandOutput>;
|
|
530
614
|
export declare const de_CreateApiCacheCommand: (
|
|
531
615
|
output: __HttpResponse,
|
|
532
616
|
context: __SerdeContext
|
|
@@ -535,6 +619,10 @@ export declare const de_CreateApiKeyCommand: (
|
|
|
535
619
|
output: __HttpResponse,
|
|
536
620
|
context: __SerdeContext
|
|
537
621
|
) => Promise<CreateApiKeyCommandOutput>;
|
|
622
|
+
export declare const de_CreateChannelNamespaceCommand: (
|
|
623
|
+
output: __HttpResponse,
|
|
624
|
+
context: __SerdeContext
|
|
625
|
+
) => Promise<CreateChannelNamespaceCommandOutput>;
|
|
538
626
|
export declare const de_CreateDataSourceCommand: (
|
|
539
627
|
output: __HttpResponse,
|
|
540
628
|
context: __SerdeContext
|
|
@@ -559,6 +647,10 @@ export declare const de_CreateTypeCommand: (
|
|
|
559
647
|
output: __HttpResponse,
|
|
560
648
|
context: __SerdeContext
|
|
561
649
|
) => Promise<CreateTypeCommandOutput>;
|
|
650
|
+
export declare const de_DeleteApiCommand: (
|
|
651
|
+
output: __HttpResponse,
|
|
652
|
+
context: __SerdeContext
|
|
653
|
+
) => Promise<DeleteApiCommandOutput>;
|
|
562
654
|
export declare const de_DeleteApiCacheCommand: (
|
|
563
655
|
output: __HttpResponse,
|
|
564
656
|
context: __SerdeContext
|
|
@@ -567,6 +659,10 @@ export declare const de_DeleteApiKeyCommand: (
|
|
|
567
659
|
output: __HttpResponse,
|
|
568
660
|
context: __SerdeContext
|
|
569
661
|
) => Promise<DeleteApiKeyCommandOutput>;
|
|
662
|
+
export declare const de_DeleteChannelNamespaceCommand: (
|
|
663
|
+
output: __HttpResponse,
|
|
664
|
+
context: __SerdeContext
|
|
665
|
+
) => Promise<DeleteChannelNamespaceCommandOutput>;
|
|
570
666
|
export declare const de_DeleteDataSourceCommand: (
|
|
571
667
|
output: __HttpResponse,
|
|
572
668
|
context: __SerdeContext
|
|
@@ -615,6 +711,10 @@ export declare const de_FlushApiCacheCommand: (
|
|
|
615
711
|
output: __HttpResponse,
|
|
616
712
|
context: __SerdeContext
|
|
617
713
|
) => Promise<FlushApiCacheCommandOutput>;
|
|
714
|
+
export declare const de_GetApiCommand: (
|
|
715
|
+
output: __HttpResponse,
|
|
716
|
+
context: __SerdeContext
|
|
717
|
+
) => Promise<GetApiCommandOutput>;
|
|
618
718
|
export declare const de_GetApiAssociationCommand: (
|
|
619
719
|
output: __HttpResponse,
|
|
620
720
|
context: __SerdeContext
|
|
@@ -623,6 +723,10 @@ export declare const de_GetApiCacheCommand: (
|
|
|
623
723
|
output: __HttpResponse,
|
|
624
724
|
context: __SerdeContext
|
|
625
725
|
) => Promise<GetApiCacheCommandOutput>;
|
|
726
|
+
export declare const de_GetChannelNamespaceCommand: (
|
|
727
|
+
output: __HttpResponse,
|
|
728
|
+
context: __SerdeContext
|
|
729
|
+
) => Promise<GetChannelNamespaceCommandOutput>;
|
|
626
730
|
export declare const de_GetDataSourceCommand: (
|
|
627
731
|
output: __HttpResponse,
|
|
628
732
|
context: __SerdeContext
|
|
@@ -671,6 +775,14 @@ export declare const de_ListApiKeysCommand: (
|
|
|
671
775
|
output: __HttpResponse,
|
|
672
776
|
context: __SerdeContext
|
|
673
777
|
) => Promise<ListApiKeysCommandOutput>;
|
|
778
|
+
export declare const de_ListApisCommand: (
|
|
779
|
+
output: __HttpResponse,
|
|
780
|
+
context: __SerdeContext
|
|
781
|
+
) => Promise<ListApisCommandOutput>;
|
|
782
|
+
export declare const de_ListChannelNamespacesCommand: (
|
|
783
|
+
output: __HttpResponse,
|
|
784
|
+
context: __SerdeContext
|
|
785
|
+
) => Promise<ListChannelNamespacesCommandOutput>;
|
|
674
786
|
export declare const de_ListDataSourcesCommand: (
|
|
675
787
|
output: __HttpResponse,
|
|
676
788
|
context: __SerdeContext
|
|
@@ -735,6 +847,10 @@ export declare const de_UntagResourceCommand: (
|
|
|
735
847
|
output: __HttpResponse,
|
|
736
848
|
context: __SerdeContext
|
|
737
849
|
) => Promise<UntagResourceCommandOutput>;
|
|
850
|
+
export declare const de_UpdateApiCommand: (
|
|
851
|
+
output: __HttpResponse,
|
|
852
|
+
context: __SerdeContext
|
|
853
|
+
) => Promise<UpdateApiCommandOutput>;
|
|
738
854
|
export declare const de_UpdateApiCacheCommand: (
|
|
739
855
|
output: __HttpResponse,
|
|
740
856
|
context: __SerdeContext
|
|
@@ -743,6 +859,10 @@ export declare const de_UpdateApiKeyCommand: (
|
|
|
743
859
|
output: __HttpResponse,
|
|
744
860
|
context: __SerdeContext
|
|
745
861
|
) => Promise<UpdateApiKeyCommandOutput>;
|
|
862
|
+
export declare const de_UpdateChannelNamespaceCommand: (
|
|
863
|
+
output: __HttpResponse,
|
|
864
|
+
context: __SerdeContext
|
|
865
|
+
) => Promise<UpdateChannelNamespaceCommandOutput>;
|
|
746
866
|
export declare const de_UpdateDataSourceCommand: (
|
|
747
867
|
output: __HttpResponse,
|
|
748
868
|
context: __SerdeContext
|
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.683.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",
|