@aws-sdk/client-appsync 3.321.1 → 3.326.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +5 -1
- package/dist-cjs/protocols/Aws_restJson1.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/AppSync.d.ts +2 -2
- package/dist-types/AppSyncClient.d.ts +2 -2
- package/dist-types/commands/AssociateApiCommand.d.ts +15 -3
- package/dist-types/commands/CreateApiCacheCommand.d.ts +19 -5
- package/dist-types/commands/CreateApiKeyCommand.d.ts +15 -3
- package/dist-types/commands/CreateDataSourceCommand.d.ts +63 -5
- package/dist-types/commands/CreateDomainNameCommand.d.ts +14 -2
- package/dist-types/commands/CreateFunctionCommand.d.ts +34 -4
- package/dist-types/commands/CreateGraphqlApiCommand.d.ts +71 -4
- package/dist-types/commands/CreateResolverCommand.d.ts +46 -7
- package/dist-types/commands/CreateTypeCommand.d.ts +18 -5
- package/dist-types/commands/DeleteApiCacheCommand.d.ts +10 -5
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +8 -3
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +10 -5
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +10 -5
- package/dist-types/commands/DeleteFunctionCommand.d.ts +8 -3
- package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +10 -5
- package/dist-types/commands/DeleteResolverCommand.d.ts +10 -5
- package/dist-types/commands/DeleteTypeCommand.d.ts +10 -5
- package/dist-types/commands/DisassociateApiCommand.d.ts +10 -5
- package/dist-types/commands/EvaluateCodeCommand.d.ts +31 -7
- package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +20 -7
- package/dist-types/commands/FlushApiCacheCommand.d.ts +10 -5
- package/dist-types/commands/GetApiAssociationCommand.d.ts +15 -3
- package/dist-types/commands/GetApiCacheCommand.d.ts +19 -5
- package/dist-types/commands/GetDataSourceCommand.d.ts +63 -5
- package/dist-types/commands/GetDomainNameCommand.d.ts +16 -3
- package/dist-types/commands/GetFunctionCommand.d.ts +32 -3
- package/dist-types/commands/GetGraphqlApiCommand.d.ts +70 -3
- package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +8 -1
- package/dist-types/commands/GetResolverCommand.d.ts +42 -3
- package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +11 -3
- package/dist-types/commands/GetTypeCommand.d.ts +18 -5
- package/dist-types/commands/ListApiKeysCommand.d.ts +22 -6
- package/dist-types/commands/ListDataSourcesCommand.d.ts +64 -3
- package/dist-types/commands/ListDomainNamesCommand.d.ts +17 -2
- package/dist-types/commands/ListFunctionsCommand.d.ts +35 -3
- package/dist-types/commands/ListGraphqlApisCommand.d.ts +71 -2
- package/dist-types/commands/ListResolversByFunctionCommand.d.ts +45 -3
- package/dist-types/commands/ListResolversCommand.d.ts +45 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -3
- package/dist-types/commands/ListTypesCommand.d.ts +21 -5
- package/dist-types/commands/StartSchemaCreationCommand.d.ts +14 -7
- package/dist-types/commands/TagResourceCommand.d.ts +8 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -3
- package/dist-types/commands/UpdateApiCacheCommand.d.ts +19 -5
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +15 -3
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +63 -5
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +18 -5
- package/dist-types/commands/UpdateFunctionCommand.d.ts +32 -3
- package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +72 -5
- package/dist-types/commands/UpdateResolverCommand.d.ts +44 -5
- package/dist-types/commands/UpdateTypeCommand.d.ts +18 -5
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +383 -287
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/package.json +16 -16
|
@@ -33,6 +33,64 @@ export interface ListDataSourcesCommandOutput extends ListDataSourcesResponse, _
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListDataSourcesCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListDataSourcesResponse
|
|
37
|
+
* // dataSources: [ // DataSources
|
|
38
|
+
* // { // DataSource
|
|
39
|
+
* // dataSourceArn: "STRING_VALUE",
|
|
40
|
+
* // name: "STRING_VALUE",
|
|
41
|
+
* // description: "STRING_VALUE",
|
|
42
|
+
* // type: "AWS_LAMBDA" || "AMAZON_DYNAMODB" || "AMAZON_ELASTICSEARCH" || "NONE" || "HTTP" || "RELATIONAL_DATABASE" || "AMAZON_OPENSEARCH_SERVICE" || "AMAZON_EVENTBRIDGE",
|
|
43
|
+
* // serviceRoleArn: "STRING_VALUE",
|
|
44
|
+
* // dynamodbConfig: { // DynamodbDataSourceConfig
|
|
45
|
+
* // tableName: "STRING_VALUE", // required
|
|
46
|
+
* // awsRegion: "STRING_VALUE", // required
|
|
47
|
+
* // useCallerCredentials: true || false,
|
|
48
|
+
* // deltaSyncConfig: { // DeltaSyncConfig
|
|
49
|
+
* // baseTableTTL: Number("long"),
|
|
50
|
+
* // deltaSyncTableName: "STRING_VALUE",
|
|
51
|
+
* // deltaSyncTableTTL: Number("long"),
|
|
52
|
+
* // },
|
|
53
|
+
* // versioned: true || false,
|
|
54
|
+
* // },
|
|
55
|
+
* // lambdaConfig: { // LambdaDataSourceConfig
|
|
56
|
+
* // lambdaFunctionArn: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // elasticsearchConfig: { // ElasticsearchDataSourceConfig
|
|
59
|
+
* // endpoint: "STRING_VALUE", // required
|
|
60
|
+
* // awsRegion: "STRING_VALUE", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // openSearchServiceConfig: { // OpenSearchServiceDataSourceConfig
|
|
63
|
+
* // endpoint: "STRING_VALUE", // required
|
|
64
|
+
* // awsRegion: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // httpConfig: { // HttpDataSourceConfig
|
|
67
|
+
* // endpoint: "STRING_VALUE",
|
|
68
|
+
* // authorizationConfig: { // AuthorizationConfig
|
|
69
|
+
* // authorizationType: "AWS_IAM", // required
|
|
70
|
+
* // awsIamConfig: { // AwsIamConfig
|
|
71
|
+
* // signingRegion: "STRING_VALUE",
|
|
72
|
+
* // signingServiceName: "STRING_VALUE",
|
|
73
|
+
* // },
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // relationalDatabaseConfig: { // RelationalDatabaseDataSourceConfig
|
|
77
|
+
* // relationalDatabaseSourceType: "RDS_HTTP_ENDPOINT",
|
|
78
|
+
* // rdsHttpEndpointConfig: { // RdsHttpEndpointConfig
|
|
79
|
+
* // awsRegion: "STRING_VALUE",
|
|
80
|
+
* // dbClusterIdentifier: "STRING_VALUE",
|
|
81
|
+
* // databaseName: "STRING_VALUE",
|
|
82
|
+
* // schema: "STRING_VALUE",
|
|
83
|
+
* // awsSecretStoreArn: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // },
|
|
86
|
+
* // eventBridgeConfig: { // EventBridgeDataSourceConfig
|
|
87
|
+
* // eventBusArn: "STRING_VALUE", // required
|
|
88
|
+
* // },
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
91
|
+
* // nextToken: "STRING_VALUE",
|
|
92
|
+
* // };
|
|
93
|
+
*
|
|
36
94
|
* ```
|
|
37
95
|
*
|
|
38
96
|
* @param ListDataSourcesCommandInput - {@link ListDataSourcesCommandInput}
|
|
@@ -42,18 +100,21 @@ export interface ListDataSourcesCommandOutput extends ListDataSourcesResponse, _
|
|
|
42
100
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
43
101
|
*
|
|
44
102
|
* @throws {@link BadRequestException} (client fault)
|
|
45
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
46
|
-
* field values, and then try again.</p>
|
|
103
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
104
|
+
* missing. Check the field values, and then try again.</p>
|
|
47
105
|
*
|
|
48
106
|
* @throws {@link InternalFailureException} (server fault)
|
|
49
107
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
50
108
|
*
|
|
51
109
|
* @throws {@link NotFoundException} (client fault)
|
|
52
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
110
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
111
|
+
* again.</p>
|
|
53
112
|
*
|
|
54
113
|
* @throws {@link UnauthorizedException} (client fault)
|
|
55
114
|
* <p>You aren't authorized to perform this operation.</p>
|
|
56
115
|
*
|
|
116
|
+
* @throws {@link AppSyncServiceException}
|
|
117
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
57
118
|
*
|
|
58
119
|
*/
|
|
59
120
|
export declare class ListDataSourcesCommand extends $Command<ListDataSourcesCommandInput, ListDataSourcesCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -32,6 +32,19 @@ export interface ListDomainNamesCommandOutput extends ListDomainNamesResponse, _
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new ListDomainNamesCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // ListDomainNamesResponse
|
|
36
|
+
* // domainNameConfigs: [ // DomainNameConfigs
|
|
37
|
+
* // { // DomainNameConfig
|
|
38
|
+
* // domainName: "STRING_VALUE",
|
|
39
|
+
* // description: "STRING_VALUE",
|
|
40
|
+
* // certificateArn: "STRING_VALUE",
|
|
41
|
+
* // appsyncDomainName: "STRING_VALUE",
|
|
42
|
+
* // hostedZoneId: "STRING_VALUE",
|
|
43
|
+
* // },
|
|
44
|
+
* // ],
|
|
45
|
+
* // nextToken: "STRING_VALUE",
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
35
48
|
* ```
|
|
36
49
|
*
|
|
37
50
|
* @param ListDomainNamesCommandInput - {@link ListDomainNamesCommandInput}
|
|
@@ -44,12 +57,14 @@ export interface ListDomainNamesCommandOutput extends ListDomainNamesResponse, _
|
|
|
44
57
|
* <p>You don't have access to perform this operation on this resource.</p>
|
|
45
58
|
*
|
|
46
59
|
* @throws {@link BadRequestException} (client fault)
|
|
47
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
48
|
-
* field values, and then try again.</p>
|
|
60
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
61
|
+
* missing. Check the field values, and then try again.</p>
|
|
49
62
|
*
|
|
50
63
|
* @throws {@link InternalFailureException} (server fault)
|
|
51
64
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
52
65
|
*
|
|
66
|
+
* @throws {@link AppSyncServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
53
68
|
*
|
|
54
69
|
*/
|
|
55
70
|
export declare class ListDomainNamesCommand extends $Command<ListDomainNamesCommandInput, ListDomainNamesCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -33,6 +33,35 @@ export interface ListFunctionsCommandOutput extends ListFunctionsResponse, __Met
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListFunctionsCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListFunctionsResponse
|
|
37
|
+
* // functions: [ // Functions
|
|
38
|
+
* // { // FunctionConfiguration
|
|
39
|
+
* // functionId: "STRING_VALUE",
|
|
40
|
+
* // functionArn: "STRING_VALUE",
|
|
41
|
+
* // name: "STRING_VALUE",
|
|
42
|
+
* // description: "STRING_VALUE",
|
|
43
|
+
* // dataSourceName: "STRING_VALUE",
|
|
44
|
+
* // requestMappingTemplate: "STRING_VALUE",
|
|
45
|
+
* // responseMappingTemplate: "STRING_VALUE",
|
|
46
|
+
* // functionVersion: "STRING_VALUE",
|
|
47
|
+
* // syncConfig: { // SyncConfig
|
|
48
|
+
* // conflictHandler: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
|
|
49
|
+
* // conflictDetection: "VERSION" || "NONE",
|
|
50
|
+
* // lambdaConflictHandlerConfig: { // LambdaConflictHandlerConfig
|
|
51
|
+
* // lambdaConflictHandlerArn: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // },
|
|
54
|
+
* // maxBatchSize: Number("int"),
|
|
55
|
+
* // runtime: { // AppSyncRuntime
|
|
56
|
+
* // name: "APPSYNC_JS", // required
|
|
57
|
+
* // runtimeVersion: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // code: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // nextToken: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
36
65
|
* ```
|
|
37
66
|
*
|
|
38
67
|
* @param ListFunctionsCommandInput - {@link ListFunctionsCommandInput}
|
|
@@ -42,18 +71,21 @@ export interface ListFunctionsCommandOutput extends ListFunctionsResponse, __Met
|
|
|
42
71
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
43
72
|
*
|
|
44
73
|
* @throws {@link BadRequestException} (client fault)
|
|
45
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
46
|
-
* field values, and then try again.</p>
|
|
74
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
75
|
+
* missing. Check the field values, and then try again.</p>
|
|
47
76
|
*
|
|
48
77
|
* @throws {@link InternalFailureException} (server fault)
|
|
49
78
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
50
79
|
*
|
|
51
80
|
* @throws {@link NotFoundException} (client fault)
|
|
52
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
81
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
82
|
+
* again.</p>
|
|
53
83
|
*
|
|
54
84
|
* @throws {@link UnauthorizedException} (client fault)
|
|
55
85
|
* <p>You aren't authorized to perform this operation.</p>
|
|
56
86
|
*
|
|
87
|
+
* @throws {@link AppSyncServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
57
89
|
*
|
|
58
90
|
*/
|
|
59
91
|
export declare class ListFunctionsCommand extends $Command<ListFunctionsCommandInput, ListFunctionsCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -32,6 +32,73 @@ export interface ListGraphqlApisCommandOutput extends ListGraphqlApisResponse, _
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new ListGraphqlApisCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // ListGraphqlApisResponse
|
|
36
|
+
* // graphqlApis: [ // GraphqlApis
|
|
37
|
+
* // { // GraphqlApi
|
|
38
|
+
* // name: "STRING_VALUE",
|
|
39
|
+
* // apiId: "STRING_VALUE",
|
|
40
|
+
* // authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
|
|
41
|
+
* // logConfig: { // LogConfig
|
|
42
|
+
* // fieldLogLevel: "NONE" || "ERROR" || "ALL", // required
|
|
43
|
+
* // cloudWatchLogsRoleArn: "STRING_VALUE", // required
|
|
44
|
+
* // excludeVerboseContent: true || false,
|
|
45
|
+
* // },
|
|
46
|
+
* // userPoolConfig: { // UserPoolConfig
|
|
47
|
+
* // userPoolId: "STRING_VALUE", // required
|
|
48
|
+
* // awsRegion: "STRING_VALUE", // required
|
|
49
|
+
* // defaultAction: "ALLOW" || "DENY", // required
|
|
50
|
+
* // appIdClientRegex: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // openIDConnectConfig: { // OpenIDConnectConfig
|
|
53
|
+
* // issuer: "STRING_VALUE", // required
|
|
54
|
+
* // clientId: "STRING_VALUE",
|
|
55
|
+
* // iatTTL: Number("long"),
|
|
56
|
+
* // authTTL: Number("long"),
|
|
57
|
+
* // },
|
|
58
|
+
* // arn: "STRING_VALUE",
|
|
59
|
+
* // uris: { // MapOfStringToString
|
|
60
|
+
* // "<keys>": "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // tags: { // TagMap
|
|
63
|
+
* // "<keys>": "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // additionalAuthenticationProviders: [ // AdditionalAuthenticationProviders
|
|
66
|
+
* // { // AdditionalAuthenticationProvider
|
|
67
|
+
* // authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
|
|
68
|
+
* // openIDConnectConfig: {
|
|
69
|
+
* // issuer: "STRING_VALUE", // required
|
|
70
|
+
* // clientId: "STRING_VALUE",
|
|
71
|
+
* // iatTTL: Number("long"),
|
|
72
|
+
* // authTTL: Number("long"),
|
|
73
|
+
* // },
|
|
74
|
+
* // userPoolConfig: { // CognitoUserPoolConfig
|
|
75
|
+
* // userPoolId: "STRING_VALUE", // required
|
|
76
|
+
* // awsRegion: "STRING_VALUE", // required
|
|
77
|
+
* // appIdClientRegex: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // lambdaAuthorizerConfig: { // LambdaAuthorizerConfig
|
|
80
|
+
* // authorizerResultTtlInSeconds: Number("int"),
|
|
81
|
+
* // authorizerUri: "STRING_VALUE", // required
|
|
82
|
+
* // identityValidationExpression: "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // xrayEnabled: true || false,
|
|
87
|
+
* // wafWebAclArn: "STRING_VALUE",
|
|
88
|
+
* // lambdaAuthorizerConfig: {
|
|
89
|
+
* // authorizerResultTtlInSeconds: Number("int"),
|
|
90
|
+
* // authorizerUri: "STRING_VALUE", // required
|
|
91
|
+
* // identityValidationExpression: "STRING_VALUE",
|
|
92
|
+
* // },
|
|
93
|
+
* // dns: {
|
|
94
|
+
* // "<keys>": "STRING_VALUE",
|
|
95
|
+
* // },
|
|
96
|
+
* // visibility: "GLOBAL" || "PRIVATE",
|
|
97
|
+
* // },
|
|
98
|
+
* // ],
|
|
99
|
+
* // nextToken: "STRING_VALUE",
|
|
100
|
+
* // };
|
|
101
|
+
*
|
|
35
102
|
* ```
|
|
36
103
|
*
|
|
37
104
|
* @param ListGraphqlApisCommandInput - {@link ListGraphqlApisCommandInput}
|
|
@@ -41,8 +108,8 @@ export interface ListGraphqlApisCommandOutput extends ListGraphqlApisResponse, _
|
|
|
41
108
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
42
109
|
*
|
|
43
110
|
* @throws {@link BadRequestException} (client fault)
|
|
44
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
45
|
-
* field values, and then try again.</p>
|
|
111
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
112
|
+
* missing. Check the field values, and then try again.</p>
|
|
46
113
|
*
|
|
47
114
|
* @throws {@link InternalFailureException} (server fault)
|
|
48
115
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
@@ -50,6 +117,8 @@ export interface ListGraphqlApisCommandOutput extends ListGraphqlApisResponse, _
|
|
|
50
117
|
* @throws {@link UnauthorizedException} (client fault)
|
|
51
118
|
* <p>You aren't authorized to perform this operation.</p>
|
|
52
119
|
*
|
|
120
|
+
* @throws {@link AppSyncServiceException}
|
|
121
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
53
122
|
*
|
|
54
123
|
*/
|
|
55
124
|
export declare class ListGraphqlApisCommand extends $Command<ListGraphqlApisCommandInput, ListGraphqlApisCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -34,6 +34,45 @@ export interface ListResolversByFunctionCommandOutput extends ListResolversByFun
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListResolversByFunctionCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // ListResolversByFunctionResponse
|
|
38
|
+
* // resolvers: [ // Resolvers
|
|
39
|
+
* // { // Resolver
|
|
40
|
+
* // typeName: "STRING_VALUE",
|
|
41
|
+
* // fieldName: "STRING_VALUE",
|
|
42
|
+
* // dataSourceName: "STRING_VALUE",
|
|
43
|
+
* // resolverArn: "STRING_VALUE",
|
|
44
|
+
* // requestMappingTemplate: "STRING_VALUE",
|
|
45
|
+
* // responseMappingTemplate: "STRING_VALUE",
|
|
46
|
+
* // kind: "UNIT" || "PIPELINE",
|
|
47
|
+
* // pipelineConfig: { // PipelineConfig
|
|
48
|
+
* // functions: [ // FunctionsIds
|
|
49
|
+
* // "STRING_VALUE",
|
|
50
|
+
* // ],
|
|
51
|
+
* // },
|
|
52
|
+
* // syncConfig: { // SyncConfig
|
|
53
|
+
* // conflictHandler: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
|
|
54
|
+
* // conflictDetection: "VERSION" || "NONE",
|
|
55
|
+
* // lambdaConflictHandlerConfig: { // LambdaConflictHandlerConfig
|
|
56
|
+
* // lambdaConflictHandlerArn: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // cachingConfig: { // CachingConfig
|
|
60
|
+
* // ttl: Number("long"), // required
|
|
61
|
+
* // cachingKeys: [ // CachingKeys
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // },
|
|
65
|
+
* // maxBatchSize: Number("int"),
|
|
66
|
+
* // runtime: { // AppSyncRuntime
|
|
67
|
+
* // name: "APPSYNC_JS", // required
|
|
68
|
+
* // runtimeVersion: "STRING_VALUE", // required
|
|
69
|
+
* // },
|
|
70
|
+
* // code: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // nextToken: "STRING_VALUE",
|
|
74
|
+
* // };
|
|
75
|
+
*
|
|
37
76
|
* ```
|
|
38
77
|
*
|
|
39
78
|
* @param ListResolversByFunctionCommandInput - {@link ListResolversByFunctionCommandInput}
|
|
@@ -43,18 +82,21 @@ export interface ListResolversByFunctionCommandOutput extends ListResolversByFun
|
|
|
43
82
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
44
83
|
*
|
|
45
84
|
* @throws {@link BadRequestException} (client fault)
|
|
46
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
47
|
-
* field values, and then try again.</p>
|
|
85
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
86
|
+
* missing. Check the field values, and then try again.</p>
|
|
48
87
|
*
|
|
49
88
|
* @throws {@link InternalFailureException} (server fault)
|
|
50
89
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
51
90
|
*
|
|
52
91
|
* @throws {@link NotFoundException} (client fault)
|
|
53
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
92
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
93
|
+
* again.</p>
|
|
54
94
|
*
|
|
55
95
|
* @throws {@link UnauthorizedException} (client fault)
|
|
56
96
|
* <p>You aren't authorized to perform this operation.</p>
|
|
57
97
|
*
|
|
98
|
+
* @throws {@link AppSyncServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
58
100
|
*
|
|
59
101
|
*/
|
|
60
102
|
export declare class ListResolversByFunctionCommand extends $Command<ListResolversByFunctionCommandInput, ListResolversByFunctionCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -34,6 +34,45 @@ export interface ListResolversCommandOutput extends ListResolversResponse, __Met
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListResolversCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // ListResolversResponse
|
|
38
|
+
* // resolvers: [ // Resolvers
|
|
39
|
+
* // { // Resolver
|
|
40
|
+
* // typeName: "STRING_VALUE",
|
|
41
|
+
* // fieldName: "STRING_VALUE",
|
|
42
|
+
* // dataSourceName: "STRING_VALUE",
|
|
43
|
+
* // resolverArn: "STRING_VALUE",
|
|
44
|
+
* // requestMappingTemplate: "STRING_VALUE",
|
|
45
|
+
* // responseMappingTemplate: "STRING_VALUE",
|
|
46
|
+
* // kind: "UNIT" || "PIPELINE",
|
|
47
|
+
* // pipelineConfig: { // PipelineConfig
|
|
48
|
+
* // functions: [ // FunctionsIds
|
|
49
|
+
* // "STRING_VALUE",
|
|
50
|
+
* // ],
|
|
51
|
+
* // },
|
|
52
|
+
* // syncConfig: { // SyncConfig
|
|
53
|
+
* // conflictHandler: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
|
|
54
|
+
* // conflictDetection: "VERSION" || "NONE",
|
|
55
|
+
* // lambdaConflictHandlerConfig: { // LambdaConflictHandlerConfig
|
|
56
|
+
* // lambdaConflictHandlerArn: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // cachingConfig: { // CachingConfig
|
|
60
|
+
* // ttl: Number("long"), // required
|
|
61
|
+
* // cachingKeys: [ // CachingKeys
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // },
|
|
65
|
+
* // maxBatchSize: Number("int"),
|
|
66
|
+
* // runtime: { // AppSyncRuntime
|
|
67
|
+
* // name: "APPSYNC_JS", // required
|
|
68
|
+
* // runtimeVersion: "STRING_VALUE", // required
|
|
69
|
+
* // },
|
|
70
|
+
* // code: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // nextToken: "STRING_VALUE",
|
|
74
|
+
* // };
|
|
75
|
+
*
|
|
37
76
|
* ```
|
|
38
77
|
*
|
|
39
78
|
* @param ListResolversCommandInput - {@link ListResolversCommandInput}
|
|
@@ -43,18 +82,21 @@ export interface ListResolversCommandOutput extends ListResolversResponse, __Met
|
|
|
43
82
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
44
83
|
*
|
|
45
84
|
* @throws {@link BadRequestException} (client fault)
|
|
46
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
47
|
-
* field values, and then try again.</p>
|
|
85
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
86
|
+
* missing. Check the field values, and then try again.</p>
|
|
48
87
|
*
|
|
49
88
|
* @throws {@link InternalFailureException} (server fault)
|
|
50
89
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
51
90
|
*
|
|
52
91
|
* @throws {@link NotFoundException} (client fault)
|
|
53
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
92
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
93
|
+
* again.</p>
|
|
54
94
|
*
|
|
55
95
|
* @throws {@link UnauthorizedException} (client fault)
|
|
56
96
|
* <p>You aren't authorized to perform this operation.</p>
|
|
57
97
|
*
|
|
98
|
+
* @throws {@link AppSyncServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
58
100
|
*
|
|
59
101
|
*/
|
|
60
102
|
export declare class ListResolversCommand extends $Command<ListResolversCommandInput, ListResolversCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -31,6 +31,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // ListTagsForResourceResponse
|
|
35
|
+
* // tags: { // TagMap
|
|
36
|
+
* // "<keys>": "STRING_VALUE",
|
|
37
|
+
* // },
|
|
38
|
+
* // };
|
|
39
|
+
*
|
|
34
40
|
* ```
|
|
35
41
|
*
|
|
36
42
|
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
@@ -43,8 +49,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
43
49
|
* <p>You don't have access to perform this operation on this resource.</p>
|
|
44
50
|
*
|
|
45
51
|
* @throws {@link BadRequestException} (client fault)
|
|
46
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
47
|
-
* field values, and then try again.</p>
|
|
52
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
53
|
+
* missing. Check the field values, and then try again.</p>
|
|
48
54
|
*
|
|
49
55
|
* @throws {@link InternalFailureException} (server fault)
|
|
50
56
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
@@ -53,11 +59,14 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
53
59
|
* <p>The request exceeded a limit. Try your request again.</p>
|
|
54
60
|
*
|
|
55
61
|
* @throws {@link NotFoundException} (client fault)
|
|
56
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
62
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
63
|
+
* again.</p>
|
|
57
64
|
*
|
|
58
65
|
* @throws {@link UnauthorizedException} (client fault)
|
|
59
66
|
* <p>You aren't authorized to perform this operation.</p>
|
|
60
67
|
*
|
|
68
|
+
* @throws {@link AppSyncServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
61
70
|
*
|
|
62
71
|
*/
|
|
63
72
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -34,6 +34,19 @@ export interface ListTypesCommandOutput extends ListTypesResponse, __MetadataBea
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListTypesCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // ListTypesResponse
|
|
38
|
+
* // types: [ // TypeList
|
|
39
|
+
* // { // Type
|
|
40
|
+
* // name: "STRING_VALUE",
|
|
41
|
+
* // description: "STRING_VALUE",
|
|
42
|
+
* // arn: "STRING_VALUE",
|
|
43
|
+
* // definition: "STRING_VALUE",
|
|
44
|
+
* // format: "SDL" || "JSON",
|
|
45
|
+
* // },
|
|
46
|
+
* // ],
|
|
47
|
+
* // nextToken: "STRING_VALUE",
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
37
50
|
* ```
|
|
38
51
|
*
|
|
39
52
|
* @param ListTypesCommandInput - {@link ListTypesCommandInput}
|
|
@@ -43,22 +56,25 @@ export interface ListTypesCommandOutput extends ListTypesResponse, __MetadataBea
|
|
|
43
56
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
44
57
|
*
|
|
45
58
|
* @throws {@link BadRequestException} (client fault)
|
|
46
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
47
|
-
* field values, and then try again.</p>
|
|
59
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
60
|
+
* missing. Check the field values, and then try again.</p>
|
|
48
61
|
*
|
|
49
62
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
50
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
51
|
-
* change.</p>
|
|
63
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
64
|
+
* make your change.</p>
|
|
52
65
|
*
|
|
53
66
|
* @throws {@link InternalFailureException} (server fault)
|
|
54
67
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
55
68
|
*
|
|
56
69
|
* @throws {@link NotFoundException} (client fault)
|
|
57
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
70
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
71
|
+
* again.</p>
|
|
58
72
|
*
|
|
59
73
|
* @throws {@link UnauthorizedException} (client fault)
|
|
60
74
|
* <p>You aren't authorized to perform this operation.</p>
|
|
61
75
|
*
|
|
76
|
+
* @throws {@link AppSyncServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
62
78
|
*
|
|
63
79
|
*/
|
|
64
80
|
export declare class ListTypesCommand extends $Command<ListTypesCommandInput, ListTypesCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -20,8 +20,8 @@ export interface StartSchemaCreationCommandOutput extends StartSchemaCreationRes
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Adds a new schema to your GraphQL API.</p>
|
|
23
|
-
* <p>This operation is asynchronous. Use to
|
|
24
|
-
* completed.</p>
|
|
23
|
+
* <p>This operation is asynchronous. Use to
|
|
24
|
+
* determine when it has completed.</p>
|
|
25
25
|
* @example
|
|
26
26
|
* Use a bare-bones client and the command you need to make an API call.
|
|
27
27
|
* ```javascript
|
|
@@ -34,6 +34,10 @@ export interface StartSchemaCreationCommandOutput extends StartSchemaCreationRes
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new StartSchemaCreationCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // StartSchemaCreationResponse
|
|
38
|
+
* // status: "PROCESSING" || "ACTIVE" || "DELETING" || "FAILED" || "SUCCESS" || "NOT_APPLICABLE",
|
|
39
|
+
* // };
|
|
40
|
+
*
|
|
37
41
|
* ```
|
|
38
42
|
*
|
|
39
43
|
* @param StartSchemaCreationCommandInput - {@link StartSchemaCreationCommandInput}
|
|
@@ -43,22 +47,25 @@ export interface StartSchemaCreationCommandOutput extends StartSchemaCreationRes
|
|
|
43
47
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
44
48
|
*
|
|
45
49
|
* @throws {@link BadRequestException} (client fault)
|
|
46
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
47
|
-
* field values, and then try again.</p>
|
|
50
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
51
|
+
* missing. Check the field values, and then try again.</p>
|
|
48
52
|
*
|
|
49
53
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
50
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
51
|
-
* change.</p>
|
|
54
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
55
|
+
* make your change.</p>
|
|
52
56
|
*
|
|
53
57
|
* @throws {@link InternalFailureException} (server fault)
|
|
54
58
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
55
59
|
*
|
|
56
60
|
* @throws {@link NotFoundException} (client fault)
|
|
57
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
61
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
62
|
+
* again.</p>
|
|
58
63
|
*
|
|
59
64
|
* @throws {@link UnauthorizedException} (client fault)
|
|
60
65
|
* <p>You aren't authorized to perform this operation.</p>
|
|
61
66
|
*
|
|
67
|
+
* @throws {@link AppSyncServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
62
69
|
*
|
|
63
70
|
*/
|
|
64
71
|
export declare class StartSchemaCreationCommand extends $Command<StartSchemaCreationCommandInput, StartSchemaCreationCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new TagResourceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
@@ -46,8 +48,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
46
48
|
* <p>You don't have access to perform this operation on this resource.</p>
|
|
47
49
|
*
|
|
48
50
|
* @throws {@link BadRequestException} (client fault)
|
|
49
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
50
|
-
* field values, and then try again.</p>
|
|
51
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
52
|
+
* missing. Check the field values, and then try again.</p>
|
|
51
53
|
*
|
|
52
54
|
* @throws {@link InternalFailureException} (server fault)
|
|
53
55
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
@@ -56,11 +58,14 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
56
58
|
* <p>The request exceeded a limit. Try your request again.</p>
|
|
57
59
|
*
|
|
58
60
|
* @throws {@link NotFoundException} (client fault)
|
|
59
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
61
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
62
|
+
* again.</p>
|
|
60
63
|
*
|
|
61
64
|
* @throws {@link UnauthorizedException} (client fault)
|
|
62
65
|
* <p>You aren't authorized to perform this operation.</p>
|
|
63
66
|
*
|
|
67
|
+
* @throws {@link AppSyncServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
64
69
|
*
|
|
65
70
|
*/
|
|
66
71
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UntagResourceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
@@ -46,8 +48,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
46
48
|
* <p>You don't have access to perform this operation on this resource.</p>
|
|
47
49
|
*
|
|
48
50
|
* @throws {@link BadRequestException} (client fault)
|
|
49
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
50
|
-
* field values, and then try again.</p>
|
|
51
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
52
|
+
* missing. Check the field values, and then try again.</p>
|
|
51
53
|
*
|
|
52
54
|
* @throws {@link InternalFailureException} (server fault)
|
|
53
55
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
@@ -56,11 +58,14 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
56
58
|
* <p>The request exceeded a limit. Try your request again.</p>
|
|
57
59
|
*
|
|
58
60
|
* @throws {@link NotFoundException} (client fault)
|
|
59
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
61
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
62
|
+
* again.</p>
|
|
60
63
|
*
|
|
61
64
|
* @throws {@link UnauthorizedException} (client fault)
|
|
62
65
|
* <p>You aren't authorized to perform this operation.</p>
|
|
63
66
|
*
|
|
67
|
+
* @throws {@link AppSyncServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
64
69
|
*
|
|
65
70
|
*/
|
|
66
71
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, AppSyncClientResolvedConfig> {
|