@aws-sdk/client-appsync 3.299.0 → 3.300.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-types/commands/AssociateApiCommand.d.ts +4 -0
- package/dist-types/commands/CreateApiCacheCommand.d.ts +8 -0
- package/dist-types/commands/CreateApiKeyCommand.d.ts +5 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +52 -0
- package/dist-types/commands/CreateDomainNameCommand.d.ts +5 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +22 -0
- package/dist-types/commands/CreateGraphqlApiCommand.d.ts +51 -0
- package/dist-types/commands/CreateResolverCommand.d.ts +33 -0
- package/dist-types/commands/CreateTypeCommand.d.ts +5 -0
- package/dist-types/commands/DeleteApiCacheCommand.d.ts +3 -0
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +3 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +3 -0
- package/dist-types/commands/DeleteResolverCommand.d.ts +5 -0
- package/dist-types/commands/DeleteTypeCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateApiCommand.d.ts +3 -0
- package/dist-types/commands/EvaluateCodeCommand.d.ts +9 -0
- package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +4 -0
- package/dist-types/commands/FlushApiCacheCommand.d.ts +3 -0
- package/dist-types/commands/GetApiAssociationCommand.d.ts +3 -0
- package/dist-types/commands/GetApiCacheCommand.d.ts +3 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +4 -0
- package/dist-types/commands/GetDomainNameCommand.d.ts +3 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +4 -0
- package/dist-types/commands/GetGraphqlApiCommand.d.ts +3 -0
- package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +5 -0
- package/dist-types/commands/GetResolverCommand.d.ts +5 -0
- package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +3 -0
- package/dist-types/commands/GetTypeCommand.d.ts +5 -0
- package/dist-types/commands/ListApiKeysCommand.d.ts +5 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +5 -0
- package/dist-types/commands/ListDomainNamesCommand.d.ts +4 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +5 -0
- package/dist-types/commands/ListGraphqlApisCommand.d.ts +4 -0
- package/dist-types/commands/ListResolversByFunctionCommand.d.ts +6 -0
- package/dist-types/commands/ListResolversCommand.d.ts +6 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListTypesCommand.d.ts +6 -0
- package/dist-types/commands/StartSchemaCreationCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateApiCacheCommand.d.ts +6 -0
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +52 -0
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +4 -0
- package/dist-types/commands/UpdateFunctionCommand.d.ts +23 -0
- package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +49 -0
- package/dist-types/commands/UpdateResolverCommand.d.ts +33 -0
- package/dist-types/commands/UpdateTypeCommand.d.ts +6 -0
- package/package.json +8 -8
|
@@ -26,6 +26,10 @@ export interface AssociateApiCommandOutput extends AssociateApiResponse, __Metad
|
|
|
26
26
|
* import { AppSyncClient, AssociateApiCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, AssociateApiCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* domainName: "STRING_VALUE", // required
|
|
31
|
+
* apiId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new AssociateApiCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface CreateApiCacheCommandOutput extends CreateApiCacheResponse, __M
|
|
|
26
26
|
* import { AppSyncClient, CreateApiCacheCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, CreateApiCacheCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* ttl: Number("long"), // required
|
|
32
|
+
* transitEncryptionEnabled: true || false,
|
|
33
|
+
* atRestEncryptionEnabled: true || false,
|
|
34
|
+
* apiCachingBehavior: "FULL_REQUEST_CACHING" || "PER_RESOLVER_CACHING", // required
|
|
35
|
+
* type: "T2_SMALL" || "T2_MEDIUM" || "R4_LARGE" || "R4_XLARGE" || "R4_2XLARGE" || "R4_4XLARGE" || "R4_8XLARGE" || "SMALL" || "MEDIUM" || "LARGE" || "XLARGE" || "LARGE_2X" || "LARGE_4X" || "LARGE_8X" || "LARGE_12X", // required
|
|
36
|
+
* };
|
|
29
37
|
* const command = new CreateApiCacheCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface CreateApiKeyCommandOutput extends CreateApiKeyResponse, __Metad
|
|
|
26
26
|
* import { AppSyncClient, CreateApiKeyCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, CreateApiKeyCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* description: "STRING_VALUE",
|
|
32
|
+
* expires: Number("long"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new CreateApiKeyCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,58 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
26
26
|
* import { AppSyncClient, CreateDataSourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, CreateDataSourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* name: "STRING_VALUE", // required
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* type: "AWS_LAMBDA" || "AMAZON_DYNAMODB" || "AMAZON_ELASTICSEARCH" || "NONE" || "HTTP" || "RELATIONAL_DATABASE" || "AMAZON_OPENSEARCH_SERVICE" || "AMAZON_EVENTBRIDGE", // required
|
|
34
|
+
* serviceRoleArn: "STRING_VALUE",
|
|
35
|
+
* dynamodbConfig: {
|
|
36
|
+
* tableName: "STRING_VALUE", // required
|
|
37
|
+
* awsRegion: "STRING_VALUE", // required
|
|
38
|
+
* useCallerCredentials: true || false,
|
|
39
|
+
* deltaSyncConfig: {
|
|
40
|
+
* baseTableTTL: Number("long"),
|
|
41
|
+
* deltaSyncTableName: "STRING_VALUE",
|
|
42
|
+
* deltaSyncTableTTL: Number("long"),
|
|
43
|
+
* },
|
|
44
|
+
* versioned: true || false,
|
|
45
|
+
* },
|
|
46
|
+
* lambdaConfig: {
|
|
47
|
+
* lambdaFunctionArn: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* elasticsearchConfig: {
|
|
50
|
+
* endpoint: "STRING_VALUE", // required
|
|
51
|
+
* awsRegion: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* openSearchServiceConfig: {
|
|
54
|
+
* endpoint: "STRING_VALUE", // required
|
|
55
|
+
* awsRegion: "STRING_VALUE", // required
|
|
56
|
+
* },
|
|
57
|
+
* httpConfig: {
|
|
58
|
+
* endpoint: "STRING_VALUE",
|
|
59
|
+
* authorizationConfig: {
|
|
60
|
+
* authorizationType: "AWS_IAM", // required
|
|
61
|
+
* awsIamConfig: {
|
|
62
|
+
* signingRegion: "STRING_VALUE",
|
|
63
|
+
* signingServiceName: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* relationalDatabaseConfig: {
|
|
68
|
+
* relationalDatabaseSourceType: "RDS_HTTP_ENDPOINT",
|
|
69
|
+
* rdsHttpEndpointConfig: {
|
|
70
|
+
* awsRegion: "STRING_VALUE",
|
|
71
|
+
* dbClusterIdentifier: "STRING_VALUE",
|
|
72
|
+
* databaseName: "STRING_VALUE",
|
|
73
|
+
* schema: "STRING_VALUE",
|
|
74
|
+
* awsSecretStoreArn: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* eventBridgeConfig: {
|
|
78
|
+
* eventBusArn: "STRING_VALUE", // required
|
|
79
|
+
* },
|
|
80
|
+
* };
|
|
29
81
|
* const command = new CreateDataSourceCommand(input);
|
|
30
82
|
* const response = await client.send(command);
|
|
31
83
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface CreateDomainNameCommandOutput extends CreateDomainNameResponse,
|
|
|
26
26
|
* import { AppSyncClient, CreateDomainNameCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, CreateDomainNameCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* domainName: "STRING_VALUE", // required
|
|
31
|
+
* certificateArn: "STRING_VALUE", // required
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new CreateDomainNameCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,28 @@ export interface CreateFunctionCommandOutput extends CreateFunctionResponse, __M
|
|
|
27
27
|
* import { AppSyncClient, CreateFunctionCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
28
28
|
* // const { AppSyncClient, CreateFunctionCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
29
29
|
* const client = new AppSyncClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* apiId: "STRING_VALUE", // required
|
|
32
|
+
* name: "STRING_VALUE", // required
|
|
33
|
+
* description: "STRING_VALUE",
|
|
34
|
+
* dataSourceName: "STRING_VALUE", // required
|
|
35
|
+
* requestMappingTemplate: "STRING_VALUE",
|
|
36
|
+
* responseMappingTemplate: "STRING_VALUE",
|
|
37
|
+
* functionVersion: "STRING_VALUE",
|
|
38
|
+
* syncConfig: {
|
|
39
|
+
* conflictHandler: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
|
|
40
|
+
* conflictDetection: "VERSION" || "NONE",
|
|
41
|
+
* lambdaConflictHandlerConfig: {
|
|
42
|
+
* lambdaConflictHandlerArn: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* maxBatchSize: Number("int"),
|
|
46
|
+
* runtime: {
|
|
47
|
+
* name: "APPSYNC_JS", // required
|
|
48
|
+
* runtimeVersion: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* code: "STRING_VALUE",
|
|
51
|
+
* };
|
|
30
52
|
* const command = new CreateFunctionCommand(input);
|
|
31
53
|
* const response = await client.send(command);
|
|
32
54
|
* ```
|
|
@@ -26,6 +26,57 @@ export interface CreateGraphqlApiCommandOutput extends CreateGraphqlApiResponse,
|
|
|
26
26
|
* import { AppSyncClient, CreateGraphqlApiCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, CreateGraphqlApiCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* name: "STRING_VALUE", // required
|
|
31
|
+
* logConfig: {
|
|
32
|
+
* fieldLogLevel: "NONE" || "ERROR" || "ALL", // required
|
|
33
|
+
* cloudWatchLogsRoleArn: "STRING_VALUE", // required
|
|
34
|
+
* excludeVerboseContent: true || false,
|
|
35
|
+
* },
|
|
36
|
+
* authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
|
|
37
|
+
* userPoolConfig: {
|
|
38
|
+
* userPoolId: "STRING_VALUE", // required
|
|
39
|
+
* awsRegion: "STRING_VALUE", // required
|
|
40
|
+
* defaultAction: "ALLOW" || "DENY", // required
|
|
41
|
+
* appIdClientRegex: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* openIDConnectConfig: {
|
|
44
|
+
* issuer: "STRING_VALUE", // required
|
|
45
|
+
* clientId: "STRING_VALUE",
|
|
46
|
+
* iatTTL: Number("long"),
|
|
47
|
+
* authTTL: Number("long"),
|
|
48
|
+
* },
|
|
49
|
+
* tags: {
|
|
50
|
+
* "<keys>": "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* additionalAuthenticationProviders: [
|
|
53
|
+
* {
|
|
54
|
+
* authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
|
|
55
|
+
* openIDConnectConfig: {
|
|
56
|
+
* issuer: "STRING_VALUE", // required
|
|
57
|
+
* clientId: "STRING_VALUE",
|
|
58
|
+
* iatTTL: Number("long"),
|
|
59
|
+
* authTTL: Number("long"),
|
|
60
|
+
* },
|
|
61
|
+
* userPoolConfig: {
|
|
62
|
+
* userPoolId: "STRING_VALUE", // required
|
|
63
|
+
* awsRegion: "STRING_VALUE", // required
|
|
64
|
+
* appIdClientRegex: "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* lambdaAuthorizerConfig: {
|
|
67
|
+
* authorizerResultTtlInSeconds: Number("int"),
|
|
68
|
+
* authorizerUri: "STRING_VALUE", // required
|
|
69
|
+
* identityValidationExpression: "STRING_VALUE",
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* xrayEnabled: true || false,
|
|
74
|
+
* lambdaAuthorizerConfig: {
|
|
75
|
+
* authorizerResultTtlInSeconds: Number("int"),
|
|
76
|
+
* authorizerUri: "STRING_VALUE", // required
|
|
77
|
+
* identityValidationExpression: "STRING_VALUE",
|
|
78
|
+
* },
|
|
79
|
+
* };
|
|
29
80
|
* const command = new CreateGraphqlApiCommand(input);
|
|
30
81
|
* const response = await client.send(command);
|
|
31
82
|
* ```
|
|
@@ -28,6 +28,39 @@ export interface CreateResolverCommandOutput extends CreateResolverResponse, __M
|
|
|
28
28
|
* import { AppSyncClient, CreateResolverCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
29
29
|
* // const { AppSyncClient, CreateResolverCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
30
30
|
* const client = new AppSyncClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* apiId: "STRING_VALUE", // required
|
|
33
|
+
* typeName: "STRING_VALUE", // required
|
|
34
|
+
* fieldName: "STRING_VALUE", // required
|
|
35
|
+
* dataSourceName: "STRING_VALUE",
|
|
36
|
+
* requestMappingTemplate: "STRING_VALUE",
|
|
37
|
+
* responseMappingTemplate: "STRING_VALUE",
|
|
38
|
+
* kind: "UNIT" || "PIPELINE",
|
|
39
|
+
* pipelineConfig: {
|
|
40
|
+
* functions: [
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* },
|
|
44
|
+
* syncConfig: {
|
|
45
|
+
* conflictHandler: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
|
|
46
|
+
* conflictDetection: "VERSION" || "NONE",
|
|
47
|
+
* lambdaConflictHandlerConfig: {
|
|
48
|
+
* lambdaConflictHandlerArn: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* cachingConfig: {
|
|
52
|
+
* ttl: Number("long"), // required
|
|
53
|
+
* cachingKeys: [
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* maxBatchSize: Number("int"),
|
|
58
|
+
* runtime: {
|
|
59
|
+
* name: "APPSYNC_JS", // required
|
|
60
|
+
* runtimeVersion: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
62
|
+
* code: "STRING_VALUE",
|
|
63
|
+
* };
|
|
31
64
|
* const command = new CreateResolverCommand(input);
|
|
32
65
|
* const response = await client.send(command);
|
|
33
66
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface CreateTypeCommandOutput extends CreateTypeResponse, __MetadataB
|
|
|
26
26
|
* import { AppSyncClient, CreateTypeCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, CreateTypeCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* definition: "STRING_VALUE", // required
|
|
32
|
+
* format: "SDL" || "JSON", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new CreateTypeCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteApiCacheCommandOutput extends DeleteApiCacheResponse, __M
|
|
|
26
26
|
* import { AppSyncClient, DeleteApiCacheCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, DeleteApiCacheCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteApiCacheCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteApiKeyCommandOutput extends DeleteApiKeyResponse, __Metad
|
|
|
26
26
|
* import { AppSyncClient, DeleteApiKeyCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, DeleteApiKeyCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* id: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteApiKeyCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteDataSourceCommandOutput extends DeleteDataSourceResponse,
|
|
|
26
26
|
* import { AppSyncClient, DeleteDataSourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, DeleteDataSourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* name: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteDataSourceCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteDomainNameCommandOutput extends DeleteDomainNameResponse,
|
|
|
26
26
|
* import { AppSyncClient, DeleteDomainNameCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, DeleteDomainNameCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* domainName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteDomainNameCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteFunctionCommandOutput extends DeleteFunctionResponse, __M
|
|
|
26
26
|
* import { AppSyncClient, DeleteFunctionCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, DeleteFunctionCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* functionId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteFunctionCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteGraphqlApiCommandOutput extends DeleteGraphqlApiResponse,
|
|
|
26
26
|
* import { AppSyncClient, DeleteGraphqlApiCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, DeleteGraphqlApiCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteGraphqlApiCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DeleteResolverCommandOutput extends DeleteResolverResponse, __M
|
|
|
26
26
|
* import { AppSyncClient, DeleteResolverCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, DeleteResolverCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* typeName: "STRING_VALUE", // required
|
|
32
|
+
* fieldName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DeleteResolverCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteTypeCommandOutput extends DeleteTypeResponse, __MetadataB
|
|
|
26
26
|
* import { AppSyncClient, DeleteTypeCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, DeleteTypeCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* typeName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteTypeCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DisassociateApiCommandOutput extends DisassociateApiResponse, _
|
|
|
26
26
|
* import { AppSyncClient, DisassociateApiCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, DisassociateApiCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* domainName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DisassociateApiCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -30,6 +30,15 @@ export interface EvaluateCodeCommandOutput extends EvaluateCodeResponse, __Metad
|
|
|
30
30
|
* import { AppSyncClient, EvaluateCodeCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
31
31
|
* // const { AppSyncClient, EvaluateCodeCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
32
32
|
* const client = new AppSyncClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* runtime: {
|
|
35
|
+
* name: "APPSYNC_JS", // required
|
|
36
|
+
* runtimeVersion: "STRING_VALUE", // required
|
|
37
|
+
* },
|
|
38
|
+
* code: "STRING_VALUE", // required
|
|
39
|
+
* context: "STRING_VALUE", // required
|
|
40
|
+
* function: "STRING_VALUE",
|
|
41
|
+
* };
|
|
33
42
|
* const command = new EvaluateCodeCommand(input);
|
|
34
43
|
* const response = await client.send(command);
|
|
35
44
|
* ```
|
|
@@ -31,6 +31,10 @@ export interface EvaluateMappingTemplateCommandOutput extends EvaluateMappingTem
|
|
|
31
31
|
* import { AppSyncClient, EvaluateMappingTemplateCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
32
32
|
* // const { AppSyncClient, EvaluateMappingTemplateCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
33
33
|
* const client = new AppSyncClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* template: "STRING_VALUE", // required
|
|
36
|
+
* context: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
34
38
|
* const command = new EvaluateMappingTemplateCommand(input);
|
|
35
39
|
* const response = await client.send(command);
|
|
36
40
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface FlushApiCacheCommandOutput extends FlushApiCacheResponse, __Met
|
|
|
26
26
|
* import { AppSyncClient, FlushApiCacheCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, FlushApiCacheCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new FlushApiCacheCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetApiAssociationCommandOutput extends GetApiAssociationRespons
|
|
|
26
26
|
* import { AppSyncClient, GetApiAssociationCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, GetApiAssociationCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* domainName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetApiAssociationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetApiCacheCommandOutput extends GetApiCacheResponse, __Metadat
|
|
|
26
26
|
* import { AppSyncClient, GetApiCacheCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, GetApiCacheCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetApiCacheCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetDataSourceCommandOutput extends GetDataSourceResponse, __Met
|
|
|
26
26
|
* import { AppSyncClient, GetDataSourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, GetDataSourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* name: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetDataSourceCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetDomainNameCommandOutput extends GetDomainNameResponse, __Met
|
|
|
26
26
|
* import { AppSyncClient, GetDomainNameCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, GetDomainNameCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* domainName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetDomainNameCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetFunctionCommandOutput extends GetFunctionResponse, __Metadat
|
|
|
26
26
|
* import { AppSyncClient, GetFunctionCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, GetFunctionCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* functionId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetFunctionCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetGraphqlApiCommandOutput extends GetGraphqlApiResponse, __Met
|
|
|
26
26
|
* import { AppSyncClient, GetGraphqlApiCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, GetGraphqlApiCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetGraphqlApiCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface GetIntrospectionSchemaCommandOutput extends GetIntrospectionSch
|
|
|
26
26
|
* import { AppSyncClient, GetIntrospectionSchemaCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, GetIntrospectionSchemaCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* format: "SDL" || "JSON", // required
|
|
32
|
+
* includeDirectives: true || false,
|
|
33
|
+
* };
|
|
29
34
|
* const command = new GetIntrospectionSchemaCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface GetResolverCommandOutput extends GetResolverResponse, __Metadat
|
|
|
26
26
|
* import { AppSyncClient, GetResolverCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, GetResolverCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* typeName: "STRING_VALUE", // required
|
|
32
|
+
* fieldName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new GetResolverCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetSchemaCreationStatusCommandOutput extends GetSchemaCreationS
|
|
|
26
26
|
* import { AppSyncClient, GetSchemaCreationStatusCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, GetSchemaCreationStatusCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetSchemaCreationStatusCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface GetTypeCommandOutput extends GetTypeResponse, __MetadataBearer
|
|
|
26
26
|
* import { AppSyncClient, GetTypeCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, GetTypeCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* typeName: "STRING_VALUE", // required
|
|
32
|
+
* format: "SDL" || "JSON", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new GetTypeCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface ListApiKeysCommandOutput extends ListApiKeysResponse, __Metadat
|
|
|
31
31
|
* import { AppSyncClient, ListApiKeysCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
32
32
|
* // const { AppSyncClient, ListApiKeysCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
33
33
|
* const client = new AppSyncClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* apiId: "STRING_VALUE", // required
|
|
36
|
+
* nextToken: "STRING_VALUE",
|
|
37
|
+
* maxResults: Number("int"),
|
|
38
|
+
* };
|
|
34
39
|
* const command = new ListApiKeysCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListDataSourcesCommandOutput extends ListDataSourcesResponse, _
|
|
|
26
26
|
* import { AppSyncClient, ListDataSourcesCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, ListDataSourcesCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListDataSourcesCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListDomainNamesCommandOutput extends ListDomainNamesResponse, _
|
|
|
26
26
|
* import { AppSyncClient, ListDomainNamesCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, ListDomainNamesCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListDomainNamesCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListFunctionsCommandOutput extends ListFunctionsResponse, __Met
|
|
|
26
26
|
* import { AppSyncClient, ListFunctionsCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, ListFunctionsCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListFunctionsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListGraphqlApisCommandOutput extends ListGraphqlApisResponse, _
|
|
|
26
26
|
* import { AppSyncClient, ListGraphqlApisCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, ListGraphqlApisCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListGraphqlApisCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListResolversByFunctionCommandOutput extends ListResolversByFun
|
|
|
26
26
|
* import { AppSyncClient, ListResolversByFunctionCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, ListResolversByFunctionCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* functionId: "STRING_VALUE", // required
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListResolversByFunctionCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListResolversCommandOutput extends ListResolversResponse, __Met
|
|
|
26
26
|
* import { AppSyncClient, ListResolversCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, ListResolversCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* typeName: "STRING_VALUE", // required
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListResolversCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { AppSyncClient, ListTagsForResourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, ListTagsForResourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListTypesCommandOutput extends ListTypesResponse, __MetadataBea
|
|
|
26
26
|
* import { AppSyncClient, ListTypesCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, ListTypesCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* format: "SDL" || "JSON", // required
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListTypesCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface StartSchemaCreationCommandOutput extends StartSchemaCreationRes
|
|
|
28
28
|
* import { AppSyncClient, StartSchemaCreationCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
29
29
|
* // const { AppSyncClient, StartSchemaCreationCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
30
30
|
* const client = new AppSyncClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* apiId: "STRING_VALUE", // required
|
|
33
|
+
* definition: "BLOB_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new StartSchemaCreationCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { AppSyncClient, TagResourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, TagResourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tags: { // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { AppSyncClient, UntagResourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, UntagResourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UpdateApiCacheCommandOutput extends UpdateApiCacheResponse, __M
|
|
|
26
26
|
* import { AppSyncClient, UpdateApiCacheCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, UpdateApiCacheCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* ttl: Number("long"), // required
|
|
32
|
+
* apiCachingBehavior: "FULL_REQUEST_CACHING" || "PER_RESOLVER_CACHING", // required
|
|
33
|
+
* type: "T2_SMALL" || "T2_MEDIUM" || "R4_LARGE" || "R4_XLARGE" || "R4_2XLARGE" || "R4_4XLARGE" || "R4_8XLARGE" || "SMALL" || "MEDIUM" || "LARGE" || "XLARGE" || "LARGE_2X" || "LARGE_4X" || "LARGE_8X" || "LARGE_12X", // required
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UpdateApiCacheCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UpdateApiKeyCommandOutput extends UpdateApiKeyResponse, __Metad
|
|
|
26
26
|
* import { AppSyncClient, UpdateApiKeyCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, UpdateApiKeyCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* id: "STRING_VALUE", // required
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* expires: Number("long"),
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UpdateApiKeyCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,58 @@ export interface UpdateDataSourceCommandOutput extends UpdateDataSourceResponse,
|
|
|
26
26
|
* import { AppSyncClient, UpdateDataSourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, UpdateDataSourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* name: "STRING_VALUE", // required
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* type: "AWS_LAMBDA" || "AMAZON_DYNAMODB" || "AMAZON_ELASTICSEARCH" || "NONE" || "HTTP" || "RELATIONAL_DATABASE" || "AMAZON_OPENSEARCH_SERVICE" || "AMAZON_EVENTBRIDGE", // required
|
|
34
|
+
* serviceRoleArn: "STRING_VALUE",
|
|
35
|
+
* dynamodbConfig: {
|
|
36
|
+
* tableName: "STRING_VALUE", // required
|
|
37
|
+
* awsRegion: "STRING_VALUE", // required
|
|
38
|
+
* useCallerCredentials: true || false,
|
|
39
|
+
* deltaSyncConfig: {
|
|
40
|
+
* baseTableTTL: Number("long"),
|
|
41
|
+
* deltaSyncTableName: "STRING_VALUE",
|
|
42
|
+
* deltaSyncTableTTL: Number("long"),
|
|
43
|
+
* },
|
|
44
|
+
* versioned: true || false,
|
|
45
|
+
* },
|
|
46
|
+
* lambdaConfig: {
|
|
47
|
+
* lambdaFunctionArn: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* elasticsearchConfig: {
|
|
50
|
+
* endpoint: "STRING_VALUE", // required
|
|
51
|
+
* awsRegion: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* openSearchServiceConfig: {
|
|
54
|
+
* endpoint: "STRING_VALUE", // required
|
|
55
|
+
* awsRegion: "STRING_VALUE", // required
|
|
56
|
+
* },
|
|
57
|
+
* httpConfig: {
|
|
58
|
+
* endpoint: "STRING_VALUE",
|
|
59
|
+
* authorizationConfig: {
|
|
60
|
+
* authorizationType: "AWS_IAM", // required
|
|
61
|
+
* awsIamConfig: {
|
|
62
|
+
* signingRegion: "STRING_VALUE",
|
|
63
|
+
* signingServiceName: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* relationalDatabaseConfig: {
|
|
68
|
+
* relationalDatabaseSourceType: "RDS_HTTP_ENDPOINT",
|
|
69
|
+
* rdsHttpEndpointConfig: {
|
|
70
|
+
* awsRegion: "STRING_VALUE",
|
|
71
|
+
* dbClusterIdentifier: "STRING_VALUE",
|
|
72
|
+
* databaseName: "STRING_VALUE",
|
|
73
|
+
* schema: "STRING_VALUE",
|
|
74
|
+
* awsSecretStoreArn: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* eventBridgeConfig: {
|
|
78
|
+
* eventBusArn: "STRING_VALUE", // required
|
|
79
|
+
* },
|
|
80
|
+
* };
|
|
29
81
|
* const command = new UpdateDataSourceCommand(input);
|
|
30
82
|
* const response = await client.send(command);
|
|
31
83
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface UpdateDomainNameCommandOutput extends UpdateDomainNameResponse,
|
|
|
26
26
|
* import { AppSyncClient, UpdateDomainNameCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, UpdateDomainNameCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* domainName: "STRING_VALUE", // required
|
|
31
|
+
* description: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new UpdateDomainNameCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,29 @@ export interface UpdateFunctionCommandOutput extends UpdateFunctionResponse, __M
|
|
|
26
26
|
* import { AppSyncClient, UpdateFunctionCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, UpdateFunctionCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* name: "STRING_VALUE", // required
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* functionId: "STRING_VALUE", // required
|
|
34
|
+
* dataSourceName: "STRING_VALUE", // required
|
|
35
|
+
* requestMappingTemplate: "STRING_VALUE",
|
|
36
|
+
* responseMappingTemplate: "STRING_VALUE",
|
|
37
|
+
* functionVersion: "STRING_VALUE",
|
|
38
|
+
* syncConfig: {
|
|
39
|
+
* conflictHandler: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
|
|
40
|
+
* conflictDetection: "VERSION" || "NONE",
|
|
41
|
+
* lambdaConflictHandlerConfig: {
|
|
42
|
+
* lambdaConflictHandlerArn: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* maxBatchSize: Number("int"),
|
|
46
|
+
* runtime: {
|
|
47
|
+
* name: "APPSYNC_JS", // required
|
|
48
|
+
* runtimeVersion: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* code: "STRING_VALUE",
|
|
51
|
+
* };
|
|
29
52
|
* const command = new UpdateFunctionCommand(input);
|
|
30
53
|
* const response = await client.send(command);
|
|
31
54
|
* ```
|
|
@@ -26,6 +26,55 @@ export interface UpdateGraphqlApiCommandOutput extends UpdateGraphqlApiResponse,
|
|
|
26
26
|
* import { AppSyncClient, UpdateGraphqlApiCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, UpdateGraphqlApiCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* name: "STRING_VALUE", // required
|
|
32
|
+
* logConfig: {
|
|
33
|
+
* fieldLogLevel: "NONE" || "ERROR" || "ALL", // required
|
|
34
|
+
* cloudWatchLogsRoleArn: "STRING_VALUE", // required
|
|
35
|
+
* excludeVerboseContent: true || false,
|
|
36
|
+
* },
|
|
37
|
+
* authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
|
|
38
|
+
* userPoolConfig: {
|
|
39
|
+
* userPoolId: "STRING_VALUE", // required
|
|
40
|
+
* awsRegion: "STRING_VALUE", // required
|
|
41
|
+
* defaultAction: "ALLOW" || "DENY", // required
|
|
42
|
+
* appIdClientRegex: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* openIDConnectConfig: {
|
|
45
|
+
* issuer: "STRING_VALUE", // required
|
|
46
|
+
* clientId: "STRING_VALUE",
|
|
47
|
+
* iatTTL: Number("long"),
|
|
48
|
+
* authTTL: Number("long"),
|
|
49
|
+
* },
|
|
50
|
+
* additionalAuthenticationProviders: [
|
|
51
|
+
* {
|
|
52
|
+
* authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
|
|
53
|
+
* openIDConnectConfig: {
|
|
54
|
+
* issuer: "STRING_VALUE", // required
|
|
55
|
+
* clientId: "STRING_VALUE",
|
|
56
|
+
* iatTTL: Number("long"),
|
|
57
|
+
* authTTL: Number("long"),
|
|
58
|
+
* },
|
|
59
|
+
* userPoolConfig: {
|
|
60
|
+
* userPoolId: "STRING_VALUE", // required
|
|
61
|
+
* awsRegion: "STRING_VALUE", // required
|
|
62
|
+
* appIdClientRegex: "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* lambdaAuthorizerConfig: {
|
|
65
|
+
* authorizerResultTtlInSeconds: Number("int"),
|
|
66
|
+
* authorizerUri: "STRING_VALUE", // required
|
|
67
|
+
* identityValidationExpression: "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* ],
|
|
71
|
+
* xrayEnabled: true || false,
|
|
72
|
+
* lambdaAuthorizerConfig: {
|
|
73
|
+
* authorizerResultTtlInSeconds: Number("int"),
|
|
74
|
+
* authorizerUri: "STRING_VALUE", // required
|
|
75
|
+
* identityValidationExpression: "STRING_VALUE",
|
|
76
|
+
* },
|
|
77
|
+
* };
|
|
29
78
|
* const command = new UpdateGraphqlApiCommand(input);
|
|
30
79
|
* const response = await client.send(command);
|
|
31
80
|
* ```
|
|
@@ -26,6 +26,39 @@ export interface UpdateResolverCommandOutput extends UpdateResolverResponse, __M
|
|
|
26
26
|
* import { AppSyncClient, UpdateResolverCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, UpdateResolverCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* typeName: "STRING_VALUE", // required
|
|
32
|
+
* fieldName: "STRING_VALUE", // required
|
|
33
|
+
* dataSourceName: "STRING_VALUE",
|
|
34
|
+
* requestMappingTemplate: "STRING_VALUE",
|
|
35
|
+
* responseMappingTemplate: "STRING_VALUE",
|
|
36
|
+
* kind: "UNIT" || "PIPELINE",
|
|
37
|
+
* pipelineConfig: {
|
|
38
|
+
* functions: [
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* },
|
|
42
|
+
* syncConfig: {
|
|
43
|
+
* conflictHandler: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
|
|
44
|
+
* conflictDetection: "VERSION" || "NONE",
|
|
45
|
+
* lambdaConflictHandlerConfig: {
|
|
46
|
+
* lambdaConflictHandlerArn: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* cachingConfig: {
|
|
50
|
+
* ttl: Number("long"), // required
|
|
51
|
+
* cachingKeys: [
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* maxBatchSize: Number("int"),
|
|
56
|
+
* runtime: {
|
|
57
|
+
* name: "APPSYNC_JS", // required
|
|
58
|
+
* runtimeVersion: "STRING_VALUE", // required
|
|
59
|
+
* },
|
|
60
|
+
* code: "STRING_VALUE",
|
|
61
|
+
* };
|
|
29
62
|
* const command = new UpdateResolverCommand(input);
|
|
30
63
|
* const response = await client.send(command);
|
|
31
64
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UpdateTypeCommandOutput extends UpdateTypeResponse, __MetadataB
|
|
|
26
26
|
* import { AppSyncClient, UpdateTypeCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
27
27
|
* // const { AppSyncClient, UpdateTypeCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
28
28
|
* const client = new AppSyncClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* apiId: "STRING_VALUE", // required
|
|
31
|
+
* typeName: "STRING_VALUE", // required
|
|
32
|
+
* definition: "STRING_VALUE",
|
|
33
|
+
* format: "SDL" || "JSON", // required
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UpdateTypeCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
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.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|