@aws-sdk/client-appsync 3.300.0 → 3.301.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 +1 -1
- package/dist-types/commands/CreateApiCacheCommand.d.ts +1 -1
- package/dist-types/commands/CreateApiKeyCommand.d.ts +1 -1
- package/dist-types/commands/CreateDataSourceCommand.d.ts +12 -12
- package/dist-types/commands/CreateDomainNameCommand.d.ts +1 -1
- package/dist-types/commands/CreateFunctionCommand.d.ts +4 -4
- package/dist-types/commands/CreateGraphqlApiCommand.d.ts +9 -9
- package/dist-types/commands/CreateResolverCommand.d.ts +8 -8
- package/dist-types/commands/CreateTypeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApiCacheCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResolverCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTypeCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateApiCommand.d.ts +1 -1
- package/dist-types/commands/EvaluateCodeCommand.d.ts +2 -2
- package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +1 -1
- package/dist-types/commands/FlushApiCacheCommand.d.ts +1 -1
- package/dist-types/commands/GetApiAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetApiCacheCommand.d.ts +1 -1
- package/dist-types/commands/GetDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/GetDomainNameCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
- package/dist-types/commands/GetGraphqlApiCommand.d.ts +1 -1
- package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +1 -1
- package/dist-types/commands/GetResolverCommand.d.ts +1 -1
- package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetTypeCommand.d.ts +1 -1
- package/dist-types/commands/ListApiKeysCommand.d.ts +1 -1
- package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListDomainNamesCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/ListGraphqlApisCommand.d.ts +1 -1
- package/dist-types/commands/ListResolversByFunctionCommand.d.ts +1 -1
- package/dist-types/commands/ListResolversCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTypesCommand.d.ts +1 -1
- package/dist-types/commands/StartSchemaCreationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApiCacheCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +12 -12
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFunctionCommand.d.ts +4 -4
- package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +8 -8
- package/dist-types/commands/UpdateResolverCommand.d.ts +8 -8
- package/dist-types/commands/UpdateTypeCommand.d.ts +1 -1
- package/package.json +3 -3
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // AssociateApiRequest
|
|
30
30
|
* domainName: "STRING_VALUE", // required
|
|
31
31
|
* apiId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // CreateApiCacheRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* ttl: Number("long"), // required
|
|
32
32
|
* transitEncryptionEnabled: true || false,
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // CreateApiKeyRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* description: "STRING_VALUE",
|
|
32
32
|
* expires: Number("long"),
|
|
@@ -26,47 +26,47 @@ 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 = {
|
|
29
|
+
* const input = { // CreateDataSourceRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* name: "STRING_VALUE", // required
|
|
32
32
|
* description: "STRING_VALUE",
|
|
33
33
|
* type: "AWS_LAMBDA" || "AMAZON_DYNAMODB" || "AMAZON_ELASTICSEARCH" || "NONE" || "HTTP" || "RELATIONAL_DATABASE" || "AMAZON_OPENSEARCH_SERVICE" || "AMAZON_EVENTBRIDGE", // required
|
|
34
34
|
* serviceRoleArn: "STRING_VALUE",
|
|
35
|
-
* dynamodbConfig: {
|
|
35
|
+
* dynamodbConfig: { // DynamodbDataSourceConfig
|
|
36
36
|
* tableName: "STRING_VALUE", // required
|
|
37
37
|
* awsRegion: "STRING_VALUE", // required
|
|
38
38
|
* useCallerCredentials: true || false,
|
|
39
|
-
* deltaSyncConfig: {
|
|
39
|
+
* deltaSyncConfig: { // DeltaSyncConfig
|
|
40
40
|
* baseTableTTL: Number("long"),
|
|
41
41
|
* deltaSyncTableName: "STRING_VALUE",
|
|
42
42
|
* deltaSyncTableTTL: Number("long"),
|
|
43
43
|
* },
|
|
44
44
|
* versioned: true || false,
|
|
45
45
|
* },
|
|
46
|
-
* lambdaConfig: {
|
|
46
|
+
* lambdaConfig: { // LambdaDataSourceConfig
|
|
47
47
|
* lambdaFunctionArn: "STRING_VALUE", // required
|
|
48
48
|
* },
|
|
49
|
-
* elasticsearchConfig: {
|
|
49
|
+
* elasticsearchConfig: { // ElasticsearchDataSourceConfig
|
|
50
50
|
* endpoint: "STRING_VALUE", // required
|
|
51
51
|
* awsRegion: "STRING_VALUE", // required
|
|
52
52
|
* },
|
|
53
|
-
* openSearchServiceConfig: {
|
|
53
|
+
* openSearchServiceConfig: { // OpenSearchServiceDataSourceConfig
|
|
54
54
|
* endpoint: "STRING_VALUE", // required
|
|
55
55
|
* awsRegion: "STRING_VALUE", // required
|
|
56
56
|
* },
|
|
57
|
-
* httpConfig: {
|
|
57
|
+
* httpConfig: { // HttpDataSourceConfig
|
|
58
58
|
* endpoint: "STRING_VALUE",
|
|
59
|
-
* authorizationConfig: {
|
|
59
|
+
* authorizationConfig: { // AuthorizationConfig
|
|
60
60
|
* authorizationType: "AWS_IAM", // required
|
|
61
|
-
* awsIamConfig: {
|
|
61
|
+
* awsIamConfig: { // AwsIamConfig
|
|
62
62
|
* signingRegion: "STRING_VALUE",
|
|
63
63
|
* signingServiceName: "STRING_VALUE",
|
|
64
64
|
* },
|
|
65
65
|
* },
|
|
66
66
|
* },
|
|
67
|
-
* relationalDatabaseConfig: {
|
|
67
|
+
* relationalDatabaseConfig: { // RelationalDatabaseDataSourceConfig
|
|
68
68
|
* relationalDatabaseSourceType: "RDS_HTTP_ENDPOINT",
|
|
69
|
-
* rdsHttpEndpointConfig: {
|
|
69
|
+
* rdsHttpEndpointConfig: { // RdsHttpEndpointConfig
|
|
70
70
|
* awsRegion: "STRING_VALUE",
|
|
71
71
|
* dbClusterIdentifier: "STRING_VALUE",
|
|
72
72
|
* databaseName: "STRING_VALUE",
|
|
@@ -74,7 +74,7 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
74
74
|
* awsSecretStoreArn: "STRING_VALUE",
|
|
75
75
|
* },
|
|
76
76
|
* },
|
|
77
|
-
* eventBridgeConfig: {
|
|
77
|
+
* eventBridgeConfig: { // EventBridgeDataSourceConfig
|
|
78
78
|
* eventBusArn: "STRING_VALUE", // required
|
|
79
79
|
* },
|
|
80
80
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // CreateDomainNameRequest
|
|
30
30
|
* domainName: "STRING_VALUE", // required
|
|
31
31
|
* certificateArn: "STRING_VALUE", // required
|
|
32
32
|
* description: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // CreateFunctionRequest
|
|
31
31
|
* apiId: "STRING_VALUE", // required
|
|
32
32
|
* name: "STRING_VALUE", // required
|
|
33
33
|
* description: "STRING_VALUE",
|
|
@@ -35,15 +35,15 @@ export interface CreateFunctionCommandOutput extends CreateFunctionResponse, __M
|
|
|
35
35
|
* requestMappingTemplate: "STRING_VALUE",
|
|
36
36
|
* responseMappingTemplate: "STRING_VALUE",
|
|
37
37
|
* functionVersion: "STRING_VALUE",
|
|
38
|
-
* syncConfig: {
|
|
38
|
+
* syncConfig: { // SyncConfig
|
|
39
39
|
* conflictHandler: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
|
|
40
40
|
* conflictDetection: "VERSION" || "NONE",
|
|
41
|
-
* lambdaConflictHandlerConfig: {
|
|
41
|
+
* lambdaConflictHandlerConfig: { // LambdaConflictHandlerConfig
|
|
42
42
|
* lambdaConflictHandlerArn: "STRING_VALUE",
|
|
43
43
|
* },
|
|
44
44
|
* },
|
|
45
45
|
* maxBatchSize: Number("int"),
|
|
46
|
-
* runtime: {
|
|
46
|
+
* runtime: { // AppSyncRuntime
|
|
47
47
|
* name: "APPSYNC_JS", // required
|
|
48
48
|
* runtimeVersion: "STRING_VALUE", // required
|
|
49
49
|
* },
|
|
@@ -26,31 +26,31 @@ 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 = {
|
|
29
|
+
* const input = { // CreateGraphqlApiRequest
|
|
30
30
|
* name: "STRING_VALUE", // required
|
|
31
|
-
* logConfig: {
|
|
31
|
+
* logConfig: { // LogConfig
|
|
32
32
|
* fieldLogLevel: "NONE" || "ERROR" || "ALL", // required
|
|
33
33
|
* cloudWatchLogsRoleArn: "STRING_VALUE", // required
|
|
34
34
|
* excludeVerboseContent: true || false,
|
|
35
35
|
* },
|
|
36
36
|
* authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
|
|
37
|
-
* userPoolConfig: {
|
|
37
|
+
* userPoolConfig: { // UserPoolConfig
|
|
38
38
|
* userPoolId: "STRING_VALUE", // required
|
|
39
39
|
* awsRegion: "STRING_VALUE", // required
|
|
40
40
|
* defaultAction: "ALLOW" || "DENY", // required
|
|
41
41
|
* appIdClientRegex: "STRING_VALUE",
|
|
42
42
|
* },
|
|
43
|
-
* openIDConnectConfig: {
|
|
43
|
+
* openIDConnectConfig: { // OpenIDConnectConfig
|
|
44
44
|
* issuer: "STRING_VALUE", // required
|
|
45
45
|
* clientId: "STRING_VALUE",
|
|
46
46
|
* iatTTL: Number("long"),
|
|
47
47
|
* authTTL: Number("long"),
|
|
48
48
|
* },
|
|
49
|
-
* tags: {
|
|
49
|
+
* tags: { // TagMap
|
|
50
50
|
* "<keys>": "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
|
-
* additionalAuthenticationProviders: [
|
|
53
|
-
* {
|
|
52
|
+
* additionalAuthenticationProviders: [ // AdditionalAuthenticationProviders
|
|
53
|
+
* { // AdditionalAuthenticationProvider
|
|
54
54
|
* authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
|
|
55
55
|
* openIDConnectConfig: {
|
|
56
56
|
* issuer: "STRING_VALUE", // required
|
|
@@ -58,12 +58,12 @@ export interface CreateGraphqlApiCommandOutput extends CreateGraphqlApiResponse,
|
|
|
58
58
|
* iatTTL: Number("long"),
|
|
59
59
|
* authTTL: Number("long"),
|
|
60
60
|
* },
|
|
61
|
-
* userPoolConfig: {
|
|
61
|
+
* userPoolConfig: { // CognitoUserPoolConfig
|
|
62
62
|
* userPoolId: "STRING_VALUE", // required
|
|
63
63
|
* awsRegion: "STRING_VALUE", // required
|
|
64
64
|
* appIdClientRegex: "STRING_VALUE",
|
|
65
65
|
* },
|
|
66
|
-
* lambdaAuthorizerConfig: {
|
|
66
|
+
* lambdaAuthorizerConfig: { // LambdaAuthorizerConfig
|
|
67
67
|
* authorizerResultTtlInSeconds: Number("int"),
|
|
68
68
|
* authorizerUri: "STRING_VALUE", // required
|
|
69
69
|
* identityValidationExpression: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // CreateResolverRequest
|
|
32
32
|
* apiId: "STRING_VALUE", // required
|
|
33
33
|
* typeName: "STRING_VALUE", // required
|
|
34
34
|
* fieldName: "STRING_VALUE", // required
|
|
@@ -36,26 +36,26 @@ export interface CreateResolverCommandOutput extends CreateResolverResponse, __M
|
|
|
36
36
|
* requestMappingTemplate: "STRING_VALUE",
|
|
37
37
|
* responseMappingTemplate: "STRING_VALUE",
|
|
38
38
|
* kind: "UNIT" || "PIPELINE",
|
|
39
|
-
* pipelineConfig: {
|
|
40
|
-
* functions: [
|
|
39
|
+
* pipelineConfig: { // PipelineConfig
|
|
40
|
+
* functions: [ // FunctionsIds
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* },
|
|
44
|
-
* syncConfig: {
|
|
44
|
+
* syncConfig: { // SyncConfig
|
|
45
45
|
* conflictHandler: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
|
|
46
46
|
* conflictDetection: "VERSION" || "NONE",
|
|
47
|
-
* lambdaConflictHandlerConfig: {
|
|
47
|
+
* lambdaConflictHandlerConfig: { // LambdaConflictHandlerConfig
|
|
48
48
|
* lambdaConflictHandlerArn: "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
50
|
* },
|
|
51
|
-
* cachingConfig: {
|
|
51
|
+
* cachingConfig: { // CachingConfig
|
|
52
52
|
* ttl: Number("long"), // required
|
|
53
|
-
* cachingKeys: [
|
|
53
|
+
* cachingKeys: [ // CachingKeys
|
|
54
54
|
* "STRING_VALUE",
|
|
55
55
|
* ],
|
|
56
56
|
* },
|
|
57
57
|
* maxBatchSize: Number("int"),
|
|
58
|
-
* runtime: {
|
|
58
|
+
* runtime: { // AppSyncRuntime
|
|
59
59
|
* name: "APPSYNC_JS", // required
|
|
60
60
|
* runtimeVersion: "STRING_VALUE", // required
|
|
61
61
|
* },
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // CreateTypeRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* definition: "STRING_VALUE", // required
|
|
32
32
|
* format: "SDL" || "JSON", // required
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DeleteApiCacheRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteApiCacheCommand(input);
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DeleteApiKeyRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* id: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DeleteDataSourceRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* name: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DeleteDomainNameRequest
|
|
30
30
|
* domainName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteDomainNameCommand(input);
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DeleteFunctionRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* functionId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DeleteGraphqlApiRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteGraphqlApiCommand(input);
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DeleteResolverRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* typeName: "STRING_VALUE", // required
|
|
32
32
|
* fieldName: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DeleteTypeRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* typeName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DisassociateApiRequest
|
|
30
30
|
* domainName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DisassociateApiCommand(input);
|
|
@@ -30,8 +30,8 @@ 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: {
|
|
33
|
+
* const input = { // EvaluateCodeRequest
|
|
34
|
+
* runtime: { // AppSyncRuntime
|
|
35
35
|
* name: "APPSYNC_JS", // required
|
|
36
36
|
* runtimeVersion: "STRING_VALUE", // required
|
|
37
37
|
* },
|
|
@@ -31,7 +31,7 @@ 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 = {
|
|
34
|
+
* const input = { // EvaluateMappingTemplateRequest
|
|
35
35
|
* template: "STRING_VALUE", // required
|
|
36
36
|
* context: "STRING_VALUE", // required
|
|
37
37
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // FlushApiCacheRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new FlushApiCacheCommand(input);
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // GetApiAssociationRequest
|
|
30
30
|
* domainName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetApiAssociationCommand(input);
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // GetApiCacheRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetApiCacheCommand(input);
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // GetDataSourceRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* name: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // GetDomainNameRequest
|
|
30
30
|
* domainName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetDomainNameCommand(input);
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // GetFunctionRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* functionId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // GetGraphqlApiRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetGraphqlApiCommand(input);
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // GetIntrospectionSchemaRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* format: "SDL" || "JSON", // required
|
|
32
32
|
* includeDirectives: true || false,
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // GetResolverRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* typeName: "STRING_VALUE", // required
|
|
32
32
|
* fieldName: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // GetSchemaCreationStatusRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetSchemaCreationStatusCommand(input);
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // GetTypeRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* typeName: "STRING_VALUE", // required
|
|
32
32
|
* format: "SDL" || "JSON", // required
|
|
@@ -31,7 +31,7 @@ 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 = {
|
|
34
|
+
* const input = { // ListApiKeysRequest
|
|
35
35
|
* apiId: "STRING_VALUE", // required
|
|
36
36
|
* nextToken: "STRING_VALUE",
|
|
37
37
|
* maxResults: Number("int"),
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // ListDataSourcesRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
32
|
* maxResults: Number("int"),
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // ListDomainNamesRequest
|
|
30
30
|
* nextToken: "STRING_VALUE",
|
|
31
31
|
* maxResults: Number("int"),
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // ListFunctionsRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
32
|
* maxResults: Number("int"),
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // ListGraphqlApisRequest
|
|
30
30
|
* nextToken: "STRING_VALUE",
|
|
31
31
|
* maxResults: Number("int"),
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // ListResolversByFunctionRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* functionId: "STRING_VALUE", // required
|
|
32
32
|
* nextToken: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // ListResolversRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* typeName: "STRING_VALUE", // required
|
|
32
32
|
* nextToken: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // ListTypesRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* format: "SDL" || "JSON", // required
|
|
32
32
|
* nextToken: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // StartSchemaCreationRequest
|
|
32
32
|
* apiId: "STRING_VALUE", // required
|
|
33
33
|
* definition: "BLOB_VALUE", // required
|
|
34
34
|
* };
|
|
@@ -26,9 +26,9 @@ 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 = {
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tags: { // required
|
|
31
|
+
* tags: { // TagMap // required
|
|
32
32
|
* "<keys>": "STRING_VALUE",
|
|
33
33
|
* },
|
|
34
34
|
* };
|
|
@@ -26,9 +26,9 @@ 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 = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tagKeys: [ // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateApiCacheRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* ttl: Number("long"), // required
|
|
32
32
|
* apiCachingBehavior: "FULL_REQUEST_CACHING" || "PER_RESOLVER_CACHING", // required
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateApiKeyRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* id: "STRING_VALUE", // required
|
|
32
32
|
* description: "STRING_VALUE",
|
|
@@ -26,47 +26,47 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateDataSourceRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* name: "STRING_VALUE", // required
|
|
32
32
|
* description: "STRING_VALUE",
|
|
33
33
|
* type: "AWS_LAMBDA" || "AMAZON_DYNAMODB" || "AMAZON_ELASTICSEARCH" || "NONE" || "HTTP" || "RELATIONAL_DATABASE" || "AMAZON_OPENSEARCH_SERVICE" || "AMAZON_EVENTBRIDGE", // required
|
|
34
34
|
* serviceRoleArn: "STRING_VALUE",
|
|
35
|
-
* dynamodbConfig: {
|
|
35
|
+
* dynamodbConfig: { // DynamodbDataSourceConfig
|
|
36
36
|
* tableName: "STRING_VALUE", // required
|
|
37
37
|
* awsRegion: "STRING_VALUE", // required
|
|
38
38
|
* useCallerCredentials: true || false,
|
|
39
|
-
* deltaSyncConfig: {
|
|
39
|
+
* deltaSyncConfig: { // DeltaSyncConfig
|
|
40
40
|
* baseTableTTL: Number("long"),
|
|
41
41
|
* deltaSyncTableName: "STRING_VALUE",
|
|
42
42
|
* deltaSyncTableTTL: Number("long"),
|
|
43
43
|
* },
|
|
44
44
|
* versioned: true || false,
|
|
45
45
|
* },
|
|
46
|
-
* lambdaConfig: {
|
|
46
|
+
* lambdaConfig: { // LambdaDataSourceConfig
|
|
47
47
|
* lambdaFunctionArn: "STRING_VALUE", // required
|
|
48
48
|
* },
|
|
49
|
-
* elasticsearchConfig: {
|
|
49
|
+
* elasticsearchConfig: { // ElasticsearchDataSourceConfig
|
|
50
50
|
* endpoint: "STRING_VALUE", // required
|
|
51
51
|
* awsRegion: "STRING_VALUE", // required
|
|
52
52
|
* },
|
|
53
|
-
* openSearchServiceConfig: {
|
|
53
|
+
* openSearchServiceConfig: { // OpenSearchServiceDataSourceConfig
|
|
54
54
|
* endpoint: "STRING_VALUE", // required
|
|
55
55
|
* awsRegion: "STRING_VALUE", // required
|
|
56
56
|
* },
|
|
57
|
-
* httpConfig: {
|
|
57
|
+
* httpConfig: { // HttpDataSourceConfig
|
|
58
58
|
* endpoint: "STRING_VALUE",
|
|
59
|
-
* authorizationConfig: {
|
|
59
|
+
* authorizationConfig: { // AuthorizationConfig
|
|
60
60
|
* authorizationType: "AWS_IAM", // required
|
|
61
|
-
* awsIamConfig: {
|
|
61
|
+
* awsIamConfig: { // AwsIamConfig
|
|
62
62
|
* signingRegion: "STRING_VALUE",
|
|
63
63
|
* signingServiceName: "STRING_VALUE",
|
|
64
64
|
* },
|
|
65
65
|
* },
|
|
66
66
|
* },
|
|
67
|
-
* relationalDatabaseConfig: {
|
|
67
|
+
* relationalDatabaseConfig: { // RelationalDatabaseDataSourceConfig
|
|
68
68
|
* relationalDatabaseSourceType: "RDS_HTTP_ENDPOINT",
|
|
69
|
-
* rdsHttpEndpointConfig: {
|
|
69
|
+
* rdsHttpEndpointConfig: { // RdsHttpEndpointConfig
|
|
70
70
|
* awsRegion: "STRING_VALUE",
|
|
71
71
|
* dbClusterIdentifier: "STRING_VALUE",
|
|
72
72
|
* databaseName: "STRING_VALUE",
|
|
@@ -74,7 +74,7 @@ export interface UpdateDataSourceCommandOutput extends UpdateDataSourceResponse,
|
|
|
74
74
|
* awsSecretStoreArn: "STRING_VALUE",
|
|
75
75
|
* },
|
|
76
76
|
* },
|
|
77
|
-
* eventBridgeConfig: {
|
|
77
|
+
* eventBridgeConfig: { // EventBridgeDataSourceConfig
|
|
78
78
|
* eventBusArn: "STRING_VALUE", // required
|
|
79
79
|
* },
|
|
80
80
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateDomainNameRequest
|
|
30
30
|
* domainName: "STRING_VALUE", // required
|
|
31
31
|
* description: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateFunctionRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* name: "STRING_VALUE", // required
|
|
32
32
|
* description: "STRING_VALUE",
|
|
@@ -35,15 +35,15 @@ export interface UpdateFunctionCommandOutput extends UpdateFunctionResponse, __M
|
|
|
35
35
|
* requestMappingTemplate: "STRING_VALUE",
|
|
36
36
|
* responseMappingTemplate: "STRING_VALUE",
|
|
37
37
|
* functionVersion: "STRING_VALUE",
|
|
38
|
-
* syncConfig: {
|
|
38
|
+
* syncConfig: { // SyncConfig
|
|
39
39
|
* conflictHandler: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
|
|
40
40
|
* conflictDetection: "VERSION" || "NONE",
|
|
41
|
-
* lambdaConflictHandlerConfig: {
|
|
41
|
+
* lambdaConflictHandlerConfig: { // LambdaConflictHandlerConfig
|
|
42
42
|
* lambdaConflictHandlerArn: "STRING_VALUE",
|
|
43
43
|
* },
|
|
44
44
|
* },
|
|
45
45
|
* maxBatchSize: Number("int"),
|
|
46
|
-
* runtime: {
|
|
46
|
+
* runtime: { // AppSyncRuntime
|
|
47
47
|
* name: "APPSYNC_JS", // required
|
|
48
48
|
* runtimeVersion: "STRING_VALUE", // required
|
|
49
49
|
* },
|
|
@@ -26,29 +26,29 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateGraphqlApiRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* name: "STRING_VALUE", // required
|
|
32
|
-
* logConfig: {
|
|
32
|
+
* logConfig: { // LogConfig
|
|
33
33
|
* fieldLogLevel: "NONE" || "ERROR" || "ALL", // required
|
|
34
34
|
* cloudWatchLogsRoleArn: "STRING_VALUE", // required
|
|
35
35
|
* excludeVerboseContent: true || false,
|
|
36
36
|
* },
|
|
37
37
|
* authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
|
|
38
|
-
* userPoolConfig: {
|
|
38
|
+
* userPoolConfig: { // UserPoolConfig
|
|
39
39
|
* userPoolId: "STRING_VALUE", // required
|
|
40
40
|
* awsRegion: "STRING_VALUE", // required
|
|
41
41
|
* defaultAction: "ALLOW" || "DENY", // required
|
|
42
42
|
* appIdClientRegex: "STRING_VALUE",
|
|
43
43
|
* },
|
|
44
|
-
* openIDConnectConfig: {
|
|
44
|
+
* openIDConnectConfig: { // OpenIDConnectConfig
|
|
45
45
|
* issuer: "STRING_VALUE", // required
|
|
46
46
|
* clientId: "STRING_VALUE",
|
|
47
47
|
* iatTTL: Number("long"),
|
|
48
48
|
* authTTL: Number("long"),
|
|
49
49
|
* },
|
|
50
|
-
* additionalAuthenticationProviders: [
|
|
51
|
-
* {
|
|
50
|
+
* additionalAuthenticationProviders: [ // AdditionalAuthenticationProviders
|
|
51
|
+
* { // AdditionalAuthenticationProvider
|
|
52
52
|
* authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
|
|
53
53
|
* openIDConnectConfig: {
|
|
54
54
|
* issuer: "STRING_VALUE", // required
|
|
@@ -56,12 +56,12 @@ export interface UpdateGraphqlApiCommandOutput extends UpdateGraphqlApiResponse,
|
|
|
56
56
|
* iatTTL: Number("long"),
|
|
57
57
|
* authTTL: Number("long"),
|
|
58
58
|
* },
|
|
59
|
-
* userPoolConfig: {
|
|
59
|
+
* userPoolConfig: { // CognitoUserPoolConfig
|
|
60
60
|
* userPoolId: "STRING_VALUE", // required
|
|
61
61
|
* awsRegion: "STRING_VALUE", // required
|
|
62
62
|
* appIdClientRegex: "STRING_VALUE",
|
|
63
63
|
* },
|
|
64
|
-
* lambdaAuthorizerConfig: {
|
|
64
|
+
* lambdaAuthorizerConfig: { // LambdaAuthorizerConfig
|
|
65
65
|
* authorizerResultTtlInSeconds: Number("int"),
|
|
66
66
|
* authorizerUri: "STRING_VALUE", // required
|
|
67
67
|
* identityValidationExpression: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateResolverRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* typeName: "STRING_VALUE", // required
|
|
32
32
|
* fieldName: "STRING_VALUE", // required
|
|
@@ -34,26 +34,26 @@ export interface UpdateResolverCommandOutput extends UpdateResolverResponse, __M
|
|
|
34
34
|
* requestMappingTemplate: "STRING_VALUE",
|
|
35
35
|
* responseMappingTemplate: "STRING_VALUE",
|
|
36
36
|
* kind: "UNIT" || "PIPELINE",
|
|
37
|
-
* pipelineConfig: {
|
|
38
|
-
* functions: [
|
|
37
|
+
* pipelineConfig: { // PipelineConfig
|
|
38
|
+
* functions: [ // FunctionsIds
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
41
|
* },
|
|
42
|
-
* syncConfig: {
|
|
42
|
+
* syncConfig: { // SyncConfig
|
|
43
43
|
* conflictHandler: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
|
|
44
44
|
* conflictDetection: "VERSION" || "NONE",
|
|
45
|
-
* lambdaConflictHandlerConfig: {
|
|
45
|
+
* lambdaConflictHandlerConfig: { // LambdaConflictHandlerConfig
|
|
46
46
|
* lambdaConflictHandlerArn: "STRING_VALUE",
|
|
47
47
|
* },
|
|
48
48
|
* },
|
|
49
|
-
* cachingConfig: {
|
|
49
|
+
* cachingConfig: { // CachingConfig
|
|
50
50
|
* ttl: Number("long"), // required
|
|
51
|
-
* cachingKeys: [
|
|
51
|
+
* cachingKeys: [ // CachingKeys
|
|
52
52
|
* "STRING_VALUE",
|
|
53
53
|
* ],
|
|
54
54
|
* },
|
|
55
55
|
* maxBatchSize: Number("int"),
|
|
56
|
-
* runtime: {
|
|
56
|
+
* runtime: { // AppSyncRuntime
|
|
57
57
|
* name: "APPSYNC_JS", // required
|
|
58
58
|
* runtimeVersion: "STRING_VALUE", // required
|
|
59
59
|
* },
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateTypeRequest
|
|
30
30
|
* apiId: "STRING_VALUE", // required
|
|
31
31
|
* typeName: "STRING_VALUE", // required
|
|
32
32
|
* definition: "STRING_VALUE",
|
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.301.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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.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",
|