@aws-sdk/client-appsync 3.504.0 → 3.508.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 +16 -0
- package/dist-cjs/commands/GetGraphqlApiEnvironmentVariablesCommand.js +1 -0
- package/dist-cjs/commands/PutGraphqlApiEnvironmentVariablesCommand.js +1 -0
- package/dist-cjs/index.js +210 -1924
- package/dist-es/AppSync.js +4 -0
- package/dist-es/commands/GetGraphqlApiEnvironmentVariablesCommand.js +24 -0
- package/dist-es/commands/PutGraphqlApiEnvironmentVariablesCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +166 -1922
- package/dist-types/AppSync.d.ts +14 -0
- package/dist-types/AppSyncClient.d.ts +4 -2
- package/dist-types/commands/GetGraphqlApiEnvironmentVariablesCommand.d.ts +76 -0
- package/dist-types/commands/PutGraphqlApiEnvironmentVariablesCommand.d.ts +127 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +70 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/AppSync.d.ts +46 -0
- package/dist-types/ts3.4/AppSyncClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetGraphqlApiEnvironmentVariablesCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/PutGraphqlApiEnvironmentVariablesCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +13 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +3 -3
|
@@ -30,6 +30,7 @@ export * from "./GetDataSourceIntrospectionCommand";
|
|
|
30
30
|
export * from "./GetDomainNameCommand";
|
|
31
31
|
export * from "./GetFunctionCommand";
|
|
32
32
|
export * from "./GetGraphqlApiCommand";
|
|
33
|
+
export * from "./GetGraphqlApiEnvironmentVariablesCommand";
|
|
33
34
|
export * from "./GetIntrospectionSchemaCommand";
|
|
34
35
|
export * from "./GetResolverCommand";
|
|
35
36
|
export * from "./GetSchemaCreationStatusCommand";
|
|
@@ -46,6 +47,7 @@ export * from "./ListSourceApiAssociationsCommand";
|
|
|
46
47
|
export * from "./ListTagsForResourceCommand";
|
|
47
48
|
export * from "./ListTypesByAssociationCommand";
|
|
48
49
|
export * from "./ListTypesCommand";
|
|
50
|
+
export * from "./PutGraphqlApiEnvironmentVariablesCommand";
|
|
49
51
|
export * from "./StartDataSourceIntrospectionCommand";
|
|
50
52
|
export * from "./StartSchemaCreationCommand";
|
|
51
53
|
export * from "./StartSchemaMergeCommand";
|
|
@@ -732,6 +732,12 @@ export interface GetGraphqlApiRequest {
|
|
|
732
732
|
export interface GetGraphqlApiResponse {
|
|
733
733
|
graphqlApi?: GraphqlApi;
|
|
734
734
|
}
|
|
735
|
+
export interface GetGraphqlApiEnvironmentVariablesRequest {
|
|
736
|
+
apiId: string | undefined;
|
|
737
|
+
}
|
|
738
|
+
export interface GetGraphqlApiEnvironmentVariablesResponse {
|
|
739
|
+
environmentVariables?: Record<string, string>;
|
|
740
|
+
}
|
|
735
741
|
export declare const OutputType: {
|
|
736
742
|
readonly JSON: "JSON";
|
|
737
743
|
readonly SDL: "SDL";
|
|
@@ -906,6 +912,13 @@ export interface ListTypesByAssociationResponse {
|
|
|
906
912
|
types?: Type[];
|
|
907
913
|
nextToken?: string;
|
|
908
914
|
}
|
|
915
|
+
export interface PutGraphqlApiEnvironmentVariablesRequest {
|
|
916
|
+
apiId: string | undefined;
|
|
917
|
+
environmentVariables: Record<string, string> | undefined;
|
|
918
|
+
}
|
|
919
|
+
export interface PutGraphqlApiEnvironmentVariablesResponse {
|
|
920
|
+
environmentVariables?: Record<string, string>;
|
|
921
|
+
}
|
|
909
922
|
export interface RdsDataApiConfig {
|
|
910
923
|
resourceArn: string | undefined;
|
|
911
924
|
secretArn: string | undefined;
|
|
@@ -131,6 +131,10 @@ import {
|
|
|
131
131
|
GetGraphqlApiCommandInput,
|
|
132
132
|
GetGraphqlApiCommandOutput,
|
|
133
133
|
} from "../commands/GetGraphqlApiCommand";
|
|
134
|
+
import {
|
|
135
|
+
GetGraphqlApiEnvironmentVariablesCommandInput,
|
|
136
|
+
GetGraphqlApiEnvironmentVariablesCommandOutput,
|
|
137
|
+
} from "../commands/GetGraphqlApiEnvironmentVariablesCommand";
|
|
134
138
|
import {
|
|
135
139
|
GetIntrospectionSchemaCommandInput,
|
|
136
140
|
GetIntrospectionSchemaCommandOutput,
|
|
@@ -195,6 +199,10 @@ import {
|
|
|
195
199
|
ListTypesCommandInput,
|
|
196
200
|
ListTypesCommandOutput,
|
|
197
201
|
} from "../commands/ListTypesCommand";
|
|
202
|
+
import {
|
|
203
|
+
PutGraphqlApiEnvironmentVariablesCommandInput,
|
|
204
|
+
PutGraphqlApiEnvironmentVariablesCommandOutput,
|
|
205
|
+
} from "../commands/PutGraphqlApiEnvironmentVariablesCommand";
|
|
198
206
|
import {
|
|
199
207
|
StartDataSourceIntrospectionCommandInput,
|
|
200
208
|
StartDataSourceIntrospectionCommandOutput,
|
|
@@ -379,6 +387,10 @@ export declare const se_GetGraphqlApiCommand: (
|
|
|
379
387
|
input: GetGraphqlApiCommandInput,
|
|
380
388
|
context: __SerdeContext
|
|
381
389
|
) => Promise<__HttpRequest>;
|
|
390
|
+
export declare const se_GetGraphqlApiEnvironmentVariablesCommand: (
|
|
391
|
+
input: GetGraphqlApiEnvironmentVariablesCommandInput,
|
|
392
|
+
context: __SerdeContext
|
|
393
|
+
) => Promise<__HttpRequest>;
|
|
382
394
|
export declare const se_GetIntrospectionSchemaCommand: (
|
|
383
395
|
input: GetIntrospectionSchemaCommandInput,
|
|
384
396
|
context: __SerdeContext
|
|
@@ -443,6 +455,10 @@ export declare const se_ListTypesByAssociationCommand: (
|
|
|
443
455
|
input: ListTypesByAssociationCommandInput,
|
|
444
456
|
context: __SerdeContext
|
|
445
457
|
) => Promise<__HttpRequest>;
|
|
458
|
+
export declare const se_PutGraphqlApiEnvironmentVariablesCommand: (
|
|
459
|
+
input: PutGraphqlApiEnvironmentVariablesCommandInput,
|
|
460
|
+
context: __SerdeContext
|
|
461
|
+
) => Promise<__HttpRequest>;
|
|
446
462
|
export declare const se_StartDataSourceIntrospectionCommand: (
|
|
447
463
|
input: StartDataSourceIntrospectionCommandInput,
|
|
448
464
|
context: __SerdeContext
|
|
@@ -627,6 +643,10 @@ export declare const de_GetGraphqlApiCommand: (
|
|
|
627
643
|
output: __HttpResponse,
|
|
628
644
|
context: __SerdeContext
|
|
629
645
|
) => Promise<GetGraphqlApiCommandOutput>;
|
|
646
|
+
export declare const de_GetGraphqlApiEnvironmentVariablesCommand: (
|
|
647
|
+
output: __HttpResponse,
|
|
648
|
+
context: __SerdeContext
|
|
649
|
+
) => Promise<GetGraphqlApiEnvironmentVariablesCommandOutput>;
|
|
630
650
|
export declare const de_GetIntrospectionSchemaCommand: (
|
|
631
651
|
output: __HttpResponse,
|
|
632
652
|
context: __SerdeContext
|
|
@@ -691,6 +711,10 @@ export declare const de_ListTypesByAssociationCommand: (
|
|
|
691
711
|
output: __HttpResponse,
|
|
692
712
|
context: __SerdeContext
|
|
693
713
|
) => Promise<ListTypesByAssociationCommandOutput>;
|
|
714
|
+
export declare const de_PutGraphqlApiEnvironmentVariablesCommand: (
|
|
715
|
+
output: __HttpResponse,
|
|
716
|
+
context: __SerdeContext
|
|
717
|
+
) => Promise<PutGraphqlApiEnvironmentVariablesCommandOutput>;
|
|
694
718
|
export declare const de_StartDataSourceIntrospectionCommand: (
|
|
695
719
|
output: __HttpResponse,
|
|
696
720
|
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.508.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,9 +20,9 @@
|
|
|
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.
|
|
23
|
+
"@aws-sdk/client-sts": "3.507.0",
|
|
24
24
|
"@aws-sdk/core": "3.496.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.507.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.502.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.502.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.502.0",
|