@aws-sdk/client-appsync 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/AppSync.js +0 -5
- package/dist-cjs/AppSyncClient.js +0 -10
- package/dist-cjs/commands/CreateApiCacheCommand.js +0 -25
- package/dist-cjs/commands/CreateApiKeyCommand.js +0 -26
- package/dist-cjs/commands/CreateDataSourceCommand.js +0 -25
- package/dist-cjs/commands/CreateFunctionCommand.js +0 -27
- package/dist-cjs/commands/CreateGraphqlApiCommand.js +0 -25
- package/dist-cjs/commands/CreateResolverCommand.js +0 -27
- package/dist-cjs/commands/CreateTypeCommand.js +0 -25
- package/dist-cjs/commands/DeleteApiCacheCommand.js +0 -25
- package/dist-cjs/commands/DeleteApiKeyCommand.js +0 -25
- package/dist-cjs/commands/DeleteDataSourceCommand.js +0 -25
- package/dist-cjs/commands/DeleteFunctionCommand.js +0 -25
- package/dist-cjs/commands/DeleteGraphqlApiCommand.js +0 -25
- package/dist-cjs/commands/DeleteResolverCommand.js +0 -25
- package/dist-cjs/commands/DeleteTypeCommand.js +0 -25
- package/dist-cjs/commands/FlushApiCacheCommand.js +0 -25
- package/dist-cjs/commands/GetApiCacheCommand.js +0 -25
- package/dist-cjs/commands/GetDataSourceCommand.js +0 -25
- package/dist-cjs/commands/GetFunctionCommand.js +0 -25
- package/dist-cjs/commands/GetGraphqlApiCommand.js +0 -25
- package/dist-cjs/commands/GetIntrospectionSchemaCommand.js +0 -25
- package/dist-cjs/commands/GetResolverCommand.js +0 -25
- package/dist-cjs/commands/GetSchemaCreationStatusCommand.js +0 -25
- package/dist-cjs/commands/GetTypeCommand.js +0 -25
- package/dist-cjs/commands/ListApiKeysCommand.js +0 -31
- package/dist-cjs/commands/ListDataSourcesCommand.js +0 -25
- package/dist-cjs/commands/ListFunctionsCommand.js +0 -25
- package/dist-cjs/commands/ListGraphqlApisCommand.js +0 -25
- package/dist-cjs/commands/ListResolversByFunctionCommand.js +0 -25
- package/dist-cjs/commands/ListResolversCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/ListTypesCommand.js +0 -25
- package/dist-cjs/commands/StartSchemaCreationCommand.js +0 -27
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateApiCacheCommand.js +0 -25
- package/dist-cjs/commands/UpdateApiKeyCommand.js +0 -25
- package/dist-cjs/commands/UpdateDataSourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateFunctionCommand.js +0 -25
- package/dist-cjs/commands/UpdateGraphqlApiCommand.js +0 -25
- package/dist-cjs/commands/UpdateResolverCommand.js +0 -25
- package/dist-cjs/commands/UpdateTypeCommand.js +0 -25
- package/dist-cjs/commands/index.js +44 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +3 -44
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -361
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/AppSync.js +0 -1
- package/dist-es/AppSyncClient.js +0 -1
- package/dist-es/commands/CreateApiCacheCommand.js +0 -1
- package/dist-es/commands/CreateApiKeyCommand.js +0 -1
- package/dist-es/commands/CreateDataSourceCommand.js +0 -1
- package/dist-es/commands/CreateFunctionCommand.js +0 -1
- package/dist-es/commands/CreateGraphqlApiCommand.js +0 -1
- package/dist-es/commands/CreateResolverCommand.js +0 -1
- package/dist-es/commands/CreateTypeCommand.js +0 -1
- package/dist-es/commands/DeleteApiCacheCommand.js +0 -1
- package/dist-es/commands/DeleteApiKeyCommand.js +0 -1
- package/dist-es/commands/DeleteDataSourceCommand.js +0 -1
- package/dist-es/commands/DeleteFunctionCommand.js +0 -1
- package/dist-es/commands/DeleteGraphqlApiCommand.js +0 -1
- package/dist-es/commands/DeleteResolverCommand.js +0 -1
- package/dist-es/commands/DeleteTypeCommand.js +0 -1
- package/dist-es/commands/FlushApiCacheCommand.js +0 -1
- package/dist-es/commands/GetApiCacheCommand.js +0 -1
- package/dist-es/commands/GetDataSourceCommand.js +0 -1
- package/dist-es/commands/GetFunctionCommand.js +0 -1
- package/dist-es/commands/GetGraphqlApiCommand.js +0 -1
- package/dist-es/commands/GetIntrospectionSchemaCommand.js +0 -1
- package/dist-es/commands/GetResolverCommand.js +0 -1
- package/dist-es/commands/GetSchemaCreationStatusCommand.js +0 -1
- package/dist-es/commands/GetTypeCommand.js +0 -1
- package/dist-es/commands/ListApiKeysCommand.js +0 -1
- package/dist-es/commands/ListDataSourcesCommand.js +0 -1
- package/dist-es/commands/ListFunctionsCommand.js +0 -1
- package/dist-es/commands/ListGraphqlApisCommand.js +0 -1
- package/dist-es/commands/ListResolversByFunctionCommand.js +0 -1
- package/dist-es/commands/ListResolversCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListTypesCommand.js +0 -1
- package/dist-es/commands/StartSchemaCreationCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateApiCacheCommand.js +0 -1
- package/dist-es/commands/UpdateApiKeyCommand.js +0 -1
- package/dist-es/commands/UpdateDataSourceCommand.js +0 -1
- package/dist-es/commands/UpdateFunctionCommand.js +0 -1
- package/dist-es/commands/UpdateGraphqlApiCommand.js +0 -1
- package/dist-es/commands/UpdateResolverCommand.js +0 -1
- package/dist-es/commands/UpdateTypeCommand.js +0 -1
- package/dist-es/commands/index.js +41 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +3 -44
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +41 -0
- package/dist-types/index.d.ts +3 -43
- package/dist-types/ts3.4/AppSync.d.ts +42 -140
- package/dist-types/ts3.4/AppSyncClient.d.ts +24 -90
- package/dist-types/ts3.4/commands/CreateApiCacheCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateApiKeyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateGraphqlApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateResolverCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateTypeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteApiCacheCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteApiKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteGraphqlApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteResolverCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteTypeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/FlushApiCacheCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApiCacheCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetGraphqlApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetIntrospectionSchemaCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetResolverCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSchemaCreationStatusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetTypeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListApiKeysCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGraphqlApisCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListResolversByFunctionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListResolversCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTypesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartSchemaCreationCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApiCacheCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApiKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateGraphqlApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateResolverCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateTypeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +41 -0
- package/dist-types/ts3.4/index.d.ts +3 -43
- package/dist-types/ts3.4/models/models_0.d.ts +480 -2066
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/AppSync.js.map +0 -1
- package/dist-cjs/AppSyncClient.js.map +0 -1
- package/dist-cjs/commands/CreateApiCacheCommand.js.map +0 -1
- package/dist-cjs/commands/CreateApiKeyCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDataSourceCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateGraphqlApiCommand.js.map +0 -1
- package/dist-cjs/commands/CreateResolverCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTypeCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteApiCacheCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteApiKeyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDataSourceCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteGraphqlApiCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteResolverCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTypeCommand.js.map +0 -1
- package/dist-cjs/commands/FlushApiCacheCommand.js.map +0 -1
- package/dist-cjs/commands/GetApiCacheCommand.js.map +0 -1
- package/dist-cjs/commands/GetDataSourceCommand.js.map +0 -1
- package/dist-cjs/commands/GetFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/GetGraphqlApiCommand.js.map +0 -1
- package/dist-cjs/commands/GetIntrospectionSchemaCommand.js.map +0 -1
- package/dist-cjs/commands/GetResolverCommand.js.map +0 -1
- package/dist-cjs/commands/GetSchemaCreationStatusCommand.js.map +0 -1
- package/dist-cjs/commands/GetTypeCommand.js.map +0 -1
- package/dist-cjs/commands/ListApiKeysCommand.js.map +0 -1
- package/dist-cjs/commands/ListDataSourcesCommand.js.map +0 -1
- package/dist-cjs/commands/ListFunctionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListGraphqlApisCommand.js.map +0 -1
- package/dist-cjs/commands/ListResolversByFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/ListResolversCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListTypesCommand.js.map +0 -1
- package/dist-cjs/commands/StartSchemaCreationCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateApiCacheCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateApiKeyCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDataSourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateGraphqlApiCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateResolverCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateTypeCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/AppSync.js.map +0 -1
- package/dist-es/AppSyncClient.js.map +0 -1
- package/dist-es/commands/CreateApiCacheCommand.js.map +0 -1
- package/dist-es/commands/CreateApiKeyCommand.js.map +0 -1
- package/dist-es/commands/CreateDataSourceCommand.js.map +0 -1
- package/dist-es/commands/CreateFunctionCommand.js.map +0 -1
- package/dist-es/commands/CreateGraphqlApiCommand.js.map +0 -1
- package/dist-es/commands/CreateResolverCommand.js.map +0 -1
- package/dist-es/commands/CreateTypeCommand.js.map +0 -1
- package/dist-es/commands/DeleteApiCacheCommand.js.map +0 -1
- package/dist-es/commands/DeleteApiKeyCommand.js.map +0 -1
- package/dist-es/commands/DeleteDataSourceCommand.js.map +0 -1
- package/dist-es/commands/DeleteFunctionCommand.js.map +0 -1
- package/dist-es/commands/DeleteGraphqlApiCommand.js.map +0 -1
- package/dist-es/commands/DeleteResolverCommand.js.map +0 -1
- package/dist-es/commands/DeleteTypeCommand.js.map +0 -1
- package/dist-es/commands/FlushApiCacheCommand.js.map +0 -1
- package/dist-es/commands/GetApiCacheCommand.js.map +0 -1
- package/dist-es/commands/GetDataSourceCommand.js.map +0 -1
- package/dist-es/commands/GetFunctionCommand.js.map +0 -1
- package/dist-es/commands/GetGraphqlApiCommand.js.map +0 -1
- package/dist-es/commands/GetIntrospectionSchemaCommand.js.map +0 -1
- package/dist-es/commands/GetResolverCommand.js.map +0 -1
- package/dist-es/commands/GetSchemaCreationStatusCommand.js.map +0 -1
- package/dist-es/commands/GetTypeCommand.js.map +0 -1
- package/dist-es/commands/ListApiKeysCommand.js.map +0 -1
- package/dist-es/commands/ListDataSourcesCommand.js.map +0 -1
- package/dist-es/commands/ListFunctionsCommand.js.map +0 -1
- package/dist-es/commands/ListGraphqlApisCommand.js.map +0 -1
- package/dist-es/commands/ListResolversByFunctionCommand.js.map +0 -1
- package/dist-es/commands/ListResolversCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListTypesCommand.js.map +0 -1
- package/dist-es/commands/StartSchemaCreationCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateApiCacheCommand.js.map +0 -1
- package/dist-es/commands/UpdateApiKeyCommand.js.map +0 -1
- package/dist-es/commands/UpdateDataSourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateFunctionCommand.js.map +0 -1
- package/dist-es/commands/UpdateGraphqlApiCommand.js.map +0 -1
- package/dist-es/commands/UpdateResolverCommand.js.map +0 -1
- package/dist-es/commands/UpdateTypeCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/AppSync.ts +0 -1430
- package/src/AppSyncClient.ts +0 -375
- package/src/commands/CreateApiCacheCommand.ts +0 -95
- package/src/commands/CreateApiKeyCommand.ts +0 -96
- package/src/commands/CreateDataSourceCommand.ts +0 -95
- package/src/commands/CreateFunctionCommand.ts +0 -97
- package/src/commands/CreateGraphqlApiCommand.ts +0 -95
- package/src/commands/CreateResolverCommand.ts +0 -97
- package/src/commands/CreateTypeCommand.ts +0 -95
- package/src/commands/DeleteApiCacheCommand.ts +0 -95
- package/src/commands/DeleteApiKeyCommand.ts +0 -95
- package/src/commands/DeleteDataSourceCommand.ts +0 -95
- package/src/commands/DeleteFunctionCommand.ts +0 -95
- package/src/commands/DeleteGraphqlApiCommand.ts +0 -95
- package/src/commands/DeleteResolverCommand.ts +0 -95
- package/src/commands/DeleteTypeCommand.ts +0 -95
- package/src/commands/FlushApiCacheCommand.ts +0 -95
- package/src/commands/GetApiCacheCommand.ts +0 -95
- package/src/commands/GetDataSourceCommand.ts +0 -95
- package/src/commands/GetFunctionCommand.ts +0 -95
- package/src/commands/GetGraphqlApiCommand.ts +0 -95
- package/src/commands/GetIntrospectionSchemaCommand.ts +0 -95
- package/src/commands/GetResolverCommand.ts +0 -95
- package/src/commands/GetSchemaCreationStatusCommand.ts +0 -95
- package/src/commands/GetTypeCommand.ts +0 -91
- package/src/commands/ListApiKeysCommand.ts +0 -101
- package/src/commands/ListDataSourcesCommand.ts +0 -95
- package/src/commands/ListFunctionsCommand.ts +0 -95
- package/src/commands/ListGraphqlApisCommand.ts +0 -95
- package/src/commands/ListResolversByFunctionCommand.ts +0 -95
- package/src/commands/ListResolversCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/ListTypesCommand.ts +0 -95
- package/src/commands/StartSchemaCreationCommand.ts +0 -97
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateApiCacheCommand.ts +0 -95
- package/src/commands/UpdateApiKeyCommand.ts +0 -95
- package/src/commands/UpdateDataSourceCommand.ts +0 -95
- package/src/commands/UpdateFunctionCommand.ts +0 -95
- package/src/commands/UpdateGraphqlApiCommand.ts +0 -95
- package/src/commands/UpdateResolverCommand.ts +0 -95
- package/src/commands/UpdateTypeCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -44
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -3799
- package/src/protocols/Aws_restJson1.ts +0 -6249
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
* <p>You do not have access to perform this operation on this resource.</p>
|
|
4
|
-
*/
|
|
2
|
+
|
|
5
3
|
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
6
4
|
name: "AccessDeniedException";
|
|
7
5
|
$fault: "client";
|
|
8
6
|
message?: string;
|
|
9
7
|
}
|
|
10
8
|
export declare namespace AccessDeniedException {
|
|
11
|
-
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
9
|
+
|
|
14
10
|
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
15
11
|
}
|
|
16
12
|
export declare enum AuthenticationType {
|
|
@@ -20,125 +16,60 @@ export declare enum AuthenticationType {
|
|
|
20
16
|
AWS_LAMBDA = "AWS_LAMBDA",
|
|
21
17
|
OPENID_CONNECT = "OPENID_CONNECT"
|
|
22
18
|
}
|
|
23
|
-
|
|
24
|
-
* <p>A <code>LambdaAuthorizerConfig</code> holds configuration on how to authorize AppSync
|
|
25
|
-
* API access when using the <code>AWS_LAMBDA</code> authorizer mode. Be aware that an AppSync
|
|
26
|
-
* API may have only one Lambda authorizer configured at a time.</p>
|
|
27
|
-
*/
|
|
19
|
+
|
|
28
20
|
export interface LambdaAuthorizerConfig {
|
|
29
|
-
|
|
30
|
-
* <p>The number of seconds a response should be cached for. The default is 5 minutes (300
|
|
31
|
-
* seconds). The Lambda function can override this by returning a <code>ttlOverride</code> key
|
|
32
|
-
* in its response. A value of 0 disables caching of responses.</p>
|
|
33
|
-
*/
|
|
21
|
+
|
|
34
22
|
authorizerResultTtlInSeconds?: number;
|
|
35
|
-
|
|
36
|
-
* <p>The ARN of the Lambda function to be called for authorization. This may be a standard
|
|
37
|
-
* Lambda ARN, a version ARN (<code>.../v3</code>) or alias ARN. </p>
|
|
38
|
-
* <p>
|
|
39
|
-
* <i>Note</i>: This Lambda function must have the following resource-based
|
|
40
|
-
* policy assigned to it. When configuring Lambda authorizers in the Console, this is done for
|
|
41
|
-
* you. To do so with the Amazon Web Services CLI, run the following:</p>
|
|
42
|
-
* <p>
|
|
43
|
-
* <code>aws lambda add-permission --function-name
|
|
44
|
-
* "arn:aws:lambda:us-east-2:111122223333:function:my-function" --statement-id "appsync"
|
|
45
|
-
* --principal appsync.amazonaws.com --action lambda:InvokeFunction</code>
|
|
46
|
-
* </p>
|
|
47
|
-
*/
|
|
23
|
+
|
|
48
24
|
authorizerUri: string | undefined;
|
|
49
|
-
|
|
50
|
-
* <p>A regular expression for validation of tokens before the Lambda function is
|
|
51
|
-
* called.</p>
|
|
52
|
-
*/
|
|
25
|
+
|
|
53
26
|
identityValidationExpression?: string;
|
|
54
27
|
}
|
|
55
28
|
export declare namespace LambdaAuthorizerConfig {
|
|
56
|
-
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
29
|
+
|
|
59
30
|
const filterSensitiveLog: (obj: LambdaAuthorizerConfig) => any;
|
|
60
31
|
}
|
|
61
|
-
|
|
62
|
-
* <p>Describes an OpenID Connect configuration.</p>
|
|
63
|
-
*/
|
|
32
|
+
|
|
64
33
|
export interface OpenIDConnectConfig {
|
|
65
|
-
|
|
66
|
-
* <p>The issuer for the OpenID Connect configuration. The issuer returned by discovery must
|
|
67
|
-
* exactly match the value of <code>iss</code> in the ID token.</p>
|
|
68
|
-
*/
|
|
34
|
+
|
|
69
35
|
issuer: string | undefined;
|
|
70
|
-
|
|
71
|
-
* <p>The client identifier of the Relying party at the OpenID identity provider. This
|
|
72
|
-
* identifier is typically obtained when the Relying party is registered with the OpenID
|
|
73
|
-
* identity provider. You can specify a regular expression so the AppSync can
|
|
74
|
-
* validate against multiple client identifiers at a time.</p>
|
|
75
|
-
*/
|
|
36
|
+
|
|
76
37
|
clientId?: string;
|
|
77
|
-
|
|
78
|
-
* <p>The number of milliseconds a token is valid after being issued to a user.</p>
|
|
79
|
-
*/
|
|
38
|
+
|
|
80
39
|
iatTTL?: number;
|
|
81
|
-
|
|
82
|
-
* <p>The number of milliseconds a token is valid after being authenticated.</p>
|
|
83
|
-
*/
|
|
40
|
+
|
|
84
41
|
authTTL?: number;
|
|
85
42
|
}
|
|
86
43
|
export declare namespace OpenIDConnectConfig {
|
|
87
|
-
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
44
|
+
|
|
90
45
|
const filterSensitiveLog: (obj: OpenIDConnectConfig) => any;
|
|
91
46
|
}
|
|
92
|
-
|
|
93
|
-
* <p>Describes an Amazon Cognito user pool configuration.</p>
|
|
94
|
-
*/
|
|
47
|
+
|
|
95
48
|
export interface CognitoUserPoolConfig {
|
|
96
|
-
|
|
97
|
-
* <p>The user pool ID.</p>
|
|
98
|
-
*/
|
|
49
|
+
|
|
99
50
|
userPoolId: string | undefined;
|
|
100
|
-
|
|
101
|
-
* <p>The Amazon Web Services Region in which the user pool was created.</p>
|
|
102
|
-
*/
|
|
51
|
+
|
|
103
52
|
awsRegion: string | undefined;
|
|
104
|
-
|
|
105
|
-
* <p>A regular expression for validating the incoming Amazon Cognito user pool app client
|
|
106
|
-
* ID.</p>
|
|
107
|
-
*/
|
|
53
|
+
|
|
108
54
|
appIdClientRegex?: string;
|
|
109
55
|
}
|
|
110
56
|
export declare namespace CognitoUserPoolConfig {
|
|
111
|
-
|
|
112
|
-
* @internal
|
|
113
|
-
*/
|
|
57
|
+
|
|
114
58
|
const filterSensitiveLog: (obj: CognitoUserPoolConfig) => any;
|
|
115
59
|
}
|
|
116
|
-
|
|
117
|
-
* <p>Describes an additional authentication provider.</p>
|
|
118
|
-
*/
|
|
60
|
+
|
|
119
61
|
export interface AdditionalAuthenticationProvider {
|
|
120
|
-
|
|
121
|
-
* <p>The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user
|
|
122
|
-
* pools, or Amazon Web Services Lambda.</p>
|
|
123
|
-
*/
|
|
62
|
+
|
|
124
63
|
authenticationType?: AuthenticationType | string;
|
|
125
|
-
|
|
126
|
-
* <p>The OpenID Connect configuration.</p>
|
|
127
|
-
*/
|
|
64
|
+
|
|
128
65
|
openIDConnectConfig?: OpenIDConnectConfig;
|
|
129
|
-
|
|
130
|
-
* <p>The Amazon Cognito user pool configuration.</p>
|
|
131
|
-
*/
|
|
66
|
+
|
|
132
67
|
userPoolConfig?: CognitoUserPoolConfig;
|
|
133
|
-
|
|
134
|
-
* <p>Configuration for Amazon Web Services Lambda function authorization.</p>
|
|
135
|
-
*/
|
|
68
|
+
|
|
136
69
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
137
70
|
}
|
|
138
71
|
export declare namespace AdditionalAuthenticationProvider {
|
|
139
|
-
|
|
140
|
-
* @internal
|
|
141
|
-
*/
|
|
72
|
+
|
|
142
73
|
const filterSensitiveLog: (obj: AdditionalAuthenticationProvider) => any;
|
|
143
74
|
}
|
|
144
75
|
export declare enum ApiCachingBehavior {
|
|
@@ -169,790 +100,304 @@ export declare enum ApiCacheType {
|
|
|
169
100
|
T2_SMALL = "T2_SMALL",
|
|
170
101
|
XLARGE = "XLARGE"
|
|
171
102
|
}
|
|
172
|
-
|
|
173
|
-
* <p>The <code>ApiCache</code> object.</p>
|
|
174
|
-
*/
|
|
103
|
+
|
|
175
104
|
export interface ApiCache {
|
|
176
|
-
|
|
177
|
-
* <p>TTL in seconds for cache entries.</p>
|
|
178
|
-
* <p>Valid values are between 1 and 3600 seconds.</p>
|
|
179
|
-
*/
|
|
105
|
+
|
|
180
106
|
ttl?: number;
|
|
181
|
-
|
|
182
|
-
* <p>Caching behavior.</p>
|
|
183
|
-
* <ul>
|
|
184
|
-
* <li>
|
|
185
|
-
* <p>
|
|
186
|
-
* <b>FULL_REQUEST_CACHING</b>: All requests are fully
|
|
187
|
-
* cached.</p>
|
|
188
|
-
* </li>
|
|
189
|
-
* <li>
|
|
190
|
-
* <p>
|
|
191
|
-
* <b>PER_RESOLVER_CACHING</b>: Individual resolvers
|
|
192
|
-
* that you specify are cached.</p>
|
|
193
|
-
* </li>
|
|
194
|
-
* </ul>
|
|
195
|
-
*/
|
|
107
|
+
|
|
196
108
|
apiCachingBehavior?: ApiCachingBehavior | string;
|
|
197
|
-
|
|
198
|
-
* <p>Transit encryption flag when connecting to cache. This setting cannot be updated after
|
|
199
|
-
* creation.</p>
|
|
200
|
-
*/
|
|
109
|
+
|
|
201
110
|
transitEncryptionEnabled?: boolean;
|
|
202
|
-
|
|
203
|
-
* <p>At rest encryption flag for cache. This setting cannot be updated after creation.</p>
|
|
204
|
-
*/
|
|
111
|
+
|
|
205
112
|
atRestEncryptionEnabled?: boolean;
|
|
206
|
-
|
|
207
|
-
* <p>The cache instance type. Valid values are </p>
|
|
208
|
-
* <ul>
|
|
209
|
-
* <li>
|
|
210
|
-
* <p>
|
|
211
|
-
* <code>SMALL</code>
|
|
212
|
-
* </p>
|
|
213
|
-
* </li>
|
|
214
|
-
* <li>
|
|
215
|
-
* <p>
|
|
216
|
-
* <code>MEDIUM</code>
|
|
217
|
-
* </p>
|
|
218
|
-
* </li>
|
|
219
|
-
* <li>
|
|
220
|
-
* <p>
|
|
221
|
-
* <code>LARGE</code>
|
|
222
|
-
* </p>
|
|
223
|
-
* </li>
|
|
224
|
-
* <li>
|
|
225
|
-
* <p>
|
|
226
|
-
* <code>XLARGE</code>
|
|
227
|
-
* </p>
|
|
228
|
-
* </li>
|
|
229
|
-
* <li>
|
|
230
|
-
* <p>
|
|
231
|
-
* <code>LARGE_2X</code>
|
|
232
|
-
* </p>
|
|
233
|
-
* </li>
|
|
234
|
-
* <li>
|
|
235
|
-
* <p>
|
|
236
|
-
* <code>LARGE_4X</code>
|
|
237
|
-
* </p>
|
|
238
|
-
* </li>
|
|
239
|
-
* <li>
|
|
240
|
-
* <p>
|
|
241
|
-
* <code>LARGE_8X</code> (not available in all regions)</p>
|
|
242
|
-
* </li>
|
|
243
|
-
* <li>
|
|
244
|
-
* <p>
|
|
245
|
-
* <code>LARGE_12X</code>
|
|
246
|
-
* </p>
|
|
247
|
-
* </li>
|
|
248
|
-
* </ul>
|
|
249
|
-
* <p>Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.</p>
|
|
250
|
-
* <p>The following legacy instance types are available, but their use is discouraged:</p>
|
|
251
|
-
* <ul>
|
|
252
|
-
* <li>
|
|
253
|
-
* <p>
|
|
254
|
-
* <b>T2_SMALL</b>: A t2.small instance type.</p>
|
|
255
|
-
* </li>
|
|
256
|
-
* <li>
|
|
257
|
-
* <p>
|
|
258
|
-
* <b>T2_MEDIUM</b>: A t2.medium instance type.</p>
|
|
259
|
-
* </li>
|
|
260
|
-
* <li>
|
|
261
|
-
* <p>
|
|
262
|
-
* <b>R4_LARGE</b>: A r4.large instance type.</p>
|
|
263
|
-
* </li>
|
|
264
|
-
* <li>
|
|
265
|
-
* <p>
|
|
266
|
-
* <b>R4_XLARGE</b>: A r4.xlarge instance type.</p>
|
|
267
|
-
* </li>
|
|
268
|
-
* <li>
|
|
269
|
-
* <p>
|
|
270
|
-
* <b>R4_2XLARGE</b>: A r4.2xlarge instance type.</p>
|
|
271
|
-
* </li>
|
|
272
|
-
* <li>
|
|
273
|
-
* <p>
|
|
274
|
-
* <b>R4_4XLARGE</b>: A r4.4xlarge instance type.</p>
|
|
275
|
-
* </li>
|
|
276
|
-
* <li>
|
|
277
|
-
* <p>
|
|
278
|
-
* <b>R4_8XLARGE</b>: A r4.8xlarge instance type.</p>
|
|
279
|
-
* </li>
|
|
280
|
-
* </ul>
|
|
281
|
-
*/
|
|
113
|
+
|
|
282
114
|
type?: ApiCacheType | string;
|
|
283
|
-
|
|
284
|
-
* <p>The cache instance status.</p>
|
|
285
|
-
* <ul>
|
|
286
|
-
* <li>
|
|
287
|
-
* <p>
|
|
288
|
-
* <b>AVAILABLE</b>: The instance is available for
|
|
289
|
-
* use.</p>
|
|
290
|
-
* </li>
|
|
291
|
-
* <li>
|
|
292
|
-
* <p>
|
|
293
|
-
* <b>CREATING</b>: The instance is currently
|
|
294
|
-
* creating.</p>
|
|
295
|
-
* </li>
|
|
296
|
-
* <li>
|
|
297
|
-
* <p>
|
|
298
|
-
* <b>DELETING</b>: The instance is currently
|
|
299
|
-
* deleting.</p>
|
|
300
|
-
* </li>
|
|
301
|
-
* <li>
|
|
302
|
-
* <p>
|
|
303
|
-
* <b>MODIFYING</b>: The instance is currently
|
|
304
|
-
* modifying.</p>
|
|
305
|
-
* </li>
|
|
306
|
-
* <li>
|
|
307
|
-
* <p>
|
|
308
|
-
* <b>FAILED</b>: The instance has failed
|
|
309
|
-
* creation.</p>
|
|
310
|
-
* </li>
|
|
311
|
-
* </ul>
|
|
312
|
-
*/
|
|
115
|
+
|
|
313
116
|
status?: ApiCacheStatus | string;
|
|
314
117
|
}
|
|
315
118
|
export declare namespace ApiCache {
|
|
316
|
-
|
|
317
|
-
* @internal
|
|
318
|
-
*/
|
|
119
|
+
|
|
319
120
|
const filterSensitiveLog: (obj: ApiCache) => any;
|
|
320
121
|
}
|
|
321
|
-
|
|
322
|
-
* <p>Describes an API key.</p>
|
|
323
|
-
* <p>Customers invoke AppSync GraphQL API operations with API keys as an
|
|
324
|
-
* identity mechanism. There are two key versions:</p>
|
|
325
|
-
* <p>
|
|
326
|
-
* <b>da1</b>: This version was introduced at launch in November
|
|
327
|
-
* 2017. These keys always expire after 7 days. Key expiration is managed by Amazon DynamoDB
|
|
328
|
-
* TTL. The keys ceased to be valid after February 21, 2018 and should not be used after that
|
|
329
|
-
* date.</p>
|
|
330
|
-
* <ul>
|
|
331
|
-
* <li>
|
|
332
|
-
* <p>
|
|
333
|
-
* <code>ListApiKeys</code> returns the expiration time in milliseconds.</p>
|
|
334
|
-
* </li>
|
|
335
|
-
* <li>
|
|
336
|
-
* <p>
|
|
337
|
-
* <code>CreateApiKey</code> returns the expiration time in
|
|
338
|
-
* milliseconds.</p>
|
|
339
|
-
* </li>
|
|
340
|
-
* <li>
|
|
341
|
-
* <p>
|
|
342
|
-
* <code>UpdateApiKey</code> is not available for this key version.</p>
|
|
343
|
-
* </li>
|
|
344
|
-
* <li>
|
|
345
|
-
* <p>
|
|
346
|
-
* <code>DeleteApiKey</code> deletes the item from the table.</p>
|
|
347
|
-
* </li>
|
|
348
|
-
* <li>
|
|
349
|
-
* <p>Expiration is stored in Amazon DynamoDB as milliseconds. This results in a bug
|
|
350
|
-
* where keys are not automatically deleted because DynamoDB expects the TTL to be
|
|
351
|
-
* stored in seconds. As a one-time action, we will delete these keys from the table
|
|
352
|
-
* after February 21, 2018.</p>
|
|
353
|
-
* </li>
|
|
354
|
-
* </ul>
|
|
355
|
-
* <p>
|
|
356
|
-
* <b>da2</b>: This version was introduced in February 2018 when
|
|
357
|
-
* AppSync added support to extend key expiration.</p>
|
|
358
|
-
* <ul>
|
|
359
|
-
* <li>
|
|
360
|
-
* <p>
|
|
361
|
-
* <code>ListApiKeys</code> returns the expiration time and deletion time in
|
|
362
|
-
* seconds.</p>
|
|
363
|
-
* </li>
|
|
364
|
-
* <li>
|
|
365
|
-
* <p>
|
|
366
|
-
* <code>CreateApiKey</code> returns the expiration time and deletion time in
|
|
367
|
-
* seconds and accepts a user-provided expiration time in seconds.</p>
|
|
368
|
-
* </li>
|
|
369
|
-
* <li>
|
|
370
|
-
* <p>
|
|
371
|
-
* <code>UpdateApiKey</code> returns the expiration time and and deletion time in
|
|
372
|
-
* seconds and accepts a user-provided expiration time in seconds. Expired API keys are
|
|
373
|
-
* kept for 60 days after the expiration time. Key expiration time can be updated while
|
|
374
|
-
* the key is not deleted. </p>
|
|
375
|
-
* </li>
|
|
376
|
-
* <li>
|
|
377
|
-
* <p>
|
|
378
|
-
* <code>DeleteApiKey</code> deletes the item from the table.</p>
|
|
379
|
-
* </li>
|
|
380
|
-
* <li>
|
|
381
|
-
* <p>Expiration is stored in Amazon DynamoDB as seconds. After the expiration time,
|
|
382
|
-
* using the key to authenticate will fail. But the key can be reinstated before
|
|
383
|
-
* deletion.</p>
|
|
384
|
-
* </li>
|
|
385
|
-
* <li>
|
|
386
|
-
* <p>Deletion is stored in Amazon DynamoDB as seconds. The key will be deleted after
|
|
387
|
-
* deletion time. </p>
|
|
388
|
-
* </li>
|
|
389
|
-
* </ul>
|
|
390
|
-
*/
|
|
122
|
+
|
|
391
123
|
export interface ApiKey {
|
|
392
|
-
|
|
393
|
-
* <p>The API key ID.</p>
|
|
394
|
-
*/
|
|
124
|
+
|
|
395
125
|
id?: string;
|
|
396
|
-
|
|
397
|
-
* <p>A description of the purpose of the API key.</p>
|
|
398
|
-
*/
|
|
126
|
+
|
|
399
127
|
description?: string;
|
|
400
|
-
|
|
401
|
-
* <p>The time after which the API key expires. The date is represented as seconds since the
|
|
402
|
-
* epoch, rounded down to the nearest hour.</p>
|
|
403
|
-
*/
|
|
128
|
+
|
|
404
129
|
expires?: number;
|
|
405
|
-
|
|
406
|
-
* <p>The time after which the API key is deleted. The date is represented as seconds since
|
|
407
|
-
* the epoch, rounded down to the nearest hour.</p>
|
|
408
|
-
*/
|
|
130
|
+
|
|
409
131
|
deletes?: number;
|
|
410
132
|
}
|
|
411
133
|
export declare namespace ApiKey {
|
|
412
|
-
|
|
413
|
-
* @internal
|
|
414
|
-
*/
|
|
134
|
+
|
|
415
135
|
const filterSensitiveLog: (obj: ApiKey) => any;
|
|
416
136
|
}
|
|
417
|
-
|
|
418
|
-
* <p>The API key exceeded a limit. Try your request again.</p>
|
|
419
|
-
*/
|
|
137
|
+
|
|
420
138
|
export interface ApiKeyLimitExceededException extends __SmithyException, $MetadataBearer {
|
|
421
139
|
name: "ApiKeyLimitExceededException";
|
|
422
140
|
$fault: "client";
|
|
423
141
|
message?: string;
|
|
424
142
|
}
|
|
425
143
|
export declare namespace ApiKeyLimitExceededException {
|
|
426
|
-
|
|
427
|
-
* @internal
|
|
428
|
-
*/
|
|
144
|
+
|
|
429
145
|
const filterSensitiveLog: (obj: ApiKeyLimitExceededException) => any;
|
|
430
146
|
}
|
|
431
|
-
|
|
432
|
-
* <p>The API key expiration must be set to a value between 1 and 365 days from creation (for
|
|
433
|
-
* <code>CreateApiKey</code>) or from update (for <code>UpdateApiKey</code>).</p>
|
|
434
|
-
*/
|
|
147
|
+
|
|
435
148
|
export interface ApiKeyValidityOutOfBoundsException extends __SmithyException, $MetadataBearer {
|
|
436
149
|
name: "ApiKeyValidityOutOfBoundsException";
|
|
437
150
|
$fault: "client";
|
|
438
151
|
message?: string;
|
|
439
152
|
}
|
|
440
153
|
export declare namespace ApiKeyValidityOutOfBoundsException {
|
|
441
|
-
|
|
442
|
-
* @internal
|
|
443
|
-
*/
|
|
154
|
+
|
|
444
155
|
const filterSensitiveLog: (obj: ApiKeyValidityOutOfBoundsException) => any;
|
|
445
156
|
}
|
|
446
|
-
|
|
447
|
-
* <p>The GraphQL API exceeded a limit. Try your request again.</p>
|
|
448
|
-
*/
|
|
157
|
+
|
|
449
158
|
export interface ApiLimitExceededException extends __SmithyException, $MetadataBearer {
|
|
450
159
|
name: "ApiLimitExceededException";
|
|
451
160
|
$fault: "client";
|
|
452
161
|
message?: string;
|
|
453
162
|
}
|
|
454
163
|
export declare namespace ApiLimitExceededException {
|
|
455
|
-
|
|
456
|
-
* @internal
|
|
457
|
-
*/
|
|
164
|
+
|
|
458
165
|
const filterSensitiveLog: (obj: ApiLimitExceededException) => any;
|
|
459
166
|
}
|
|
460
167
|
export declare enum AuthorizationType {
|
|
461
168
|
AWS_IAM = "AWS_IAM"
|
|
462
169
|
}
|
|
463
|
-
|
|
464
|
-
* <p>The Identity and Access Management configuration.</p>
|
|
465
|
-
*/
|
|
170
|
+
|
|
466
171
|
export interface AwsIamConfig {
|
|
467
|
-
|
|
468
|
-
* <p>The signing region for Identity and Access Management authorization.</p>
|
|
469
|
-
*/
|
|
172
|
+
|
|
470
173
|
signingRegion?: string;
|
|
471
|
-
|
|
472
|
-
* <p>The signing service name for Identity and Access Management authorization.</p>
|
|
473
|
-
*/
|
|
174
|
+
|
|
474
175
|
signingServiceName?: string;
|
|
475
176
|
}
|
|
476
177
|
export declare namespace AwsIamConfig {
|
|
477
|
-
|
|
478
|
-
* @internal
|
|
479
|
-
*/
|
|
178
|
+
|
|
480
179
|
const filterSensitiveLog: (obj: AwsIamConfig) => any;
|
|
481
180
|
}
|
|
482
|
-
|
|
483
|
-
* <p>The authorization config in case the HTTP endpoint requires authorization.</p>
|
|
484
|
-
*/
|
|
181
|
+
|
|
485
182
|
export interface AuthorizationConfig {
|
|
486
|
-
|
|
487
|
-
* <p>The authorization type required by the HTTP endpoint.</p>
|
|
488
|
-
* <ul>
|
|
489
|
-
* <li>
|
|
490
|
-
* <p>
|
|
491
|
-
* <b>AWS_IAM</b>: The authorization type is
|
|
492
|
-
* Sigv4.</p>
|
|
493
|
-
* </li>
|
|
494
|
-
* </ul>
|
|
495
|
-
*/
|
|
183
|
+
|
|
496
184
|
authorizationType: AuthorizationType | string | undefined;
|
|
497
|
-
|
|
498
|
-
* <p>The Identity and Access Management settings.</p>
|
|
499
|
-
*/
|
|
185
|
+
|
|
500
186
|
awsIamConfig?: AwsIamConfig;
|
|
501
187
|
}
|
|
502
188
|
export declare namespace AuthorizationConfig {
|
|
503
|
-
|
|
504
|
-
* @internal
|
|
505
|
-
*/
|
|
189
|
+
|
|
506
190
|
const filterSensitiveLog: (obj: AuthorizationConfig) => any;
|
|
507
191
|
}
|
|
508
|
-
|
|
509
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
510
|
-
* missing. Check the field values, and then try again. </p>
|
|
511
|
-
*/
|
|
192
|
+
|
|
512
193
|
export interface BadRequestException extends __SmithyException, $MetadataBearer {
|
|
513
194
|
name: "BadRequestException";
|
|
514
195
|
$fault: "client";
|
|
515
196
|
message?: string;
|
|
516
197
|
}
|
|
517
198
|
export declare namespace BadRequestException {
|
|
518
|
-
|
|
519
|
-
* @internal
|
|
520
|
-
*/
|
|
199
|
+
|
|
521
200
|
const filterSensitiveLog: (obj: BadRequestException) => any;
|
|
522
201
|
}
|
|
523
|
-
|
|
524
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
525
|
-
* make your change. </p>
|
|
526
|
-
*/
|
|
202
|
+
|
|
527
203
|
export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
|
|
528
204
|
name: "ConcurrentModificationException";
|
|
529
205
|
$fault: "client";
|
|
530
206
|
message?: string;
|
|
531
207
|
}
|
|
532
208
|
export declare namespace ConcurrentModificationException {
|
|
533
|
-
|
|
534
|
-
* @internal
|
|
535
|
-
*/
|
|
209
|
+
|
|
536
210
|
const filterSensitiveLog: (obj: ConcurrentModificationException) => any;
|
|
537
211
|
}
|
|
538
|
-
|
|
539
|
-
* <p>Represents the input of a <code>CreateApiCache</code> operation.</p>
|
|
540
|
-
*/
|
|
212
|
+
|
|
541
213
|
export interface CreateApiCacheRequest {
|
|
542
|
-
|
|
543
|
-
* <p>The GraphQL API Id.</p>
|
|
544
|
-
*/
|
|
214
|
+
|
|
545
215
|
apiId: string | undefined;
|
|
546
|
-
|
|
547
|
-
* <p>TTL in seconds for cache entries.</p>
|
|
548
|
-
* <p>Valid values are between 1 and 3600 seconds.</p>
|
|
549
|
-
*/
|
|
216
|
+
|
|
550
217
|
ttl: number | undefined;
|
|
551
|
-
|
|
552
|
-
* <p>Transit encryption flag when connecting to cache. This setting cannot be updated after
|
|
553
|
-
* creation.</p>
|
|
554
|
-
*/
|
|
218
|
+
|
|
555
219
|
transitEncryptionEnabled?: boolean;
|
|
556
|
-
|
|
557
|
-
* <p>At rest encryption flag for cache. This setting cannot be updated after creation.</p>
|
|
558
|
-
*/
|
|
220
|
+
|
|
559
221
|
atRestEncryptionEnabled?: boolean;
|
|
560
|
-
|
|
561
|
-
* <p>Caching behavior.</p>
|
|
562
|
-
* <ul>
|
|
563
|
-
* <li>
|
|
564
|
-
* <p>
|
|
565
|
-
* <b>FULL_REQUEST_CACHING</b>: All requests are fully
|
|
566
|
-
* cached.</p>
|
|
567
|
-
* </li>
|
|
568
|
-
* <li>
|
|
569
|
-
* <p>
|
|
570
|
-
* <b>PER_RESOLVER_CACHING</b>: Individual resolvers
|
|
571
|
-
* that you specify are cached.</p>
|
|
572
|
-
* </li>
|
|
573
|
-
* </ul>
|
|
574
|
-
*/
|
|
222
|
+
|
|
575
223
|
apiCachingBehavior: ApiCachingBehavior | string | undefined;
|
|
576
|
-
|
|
577
|
-
* <p>The cache instance type. Valid values are </p>
|
|
578
|
-
* <ul>
|
|
579
|
-
* <li>
|
|
580
|
-
* <p>
|
|
581
|
-
* <code>SMALL</code>
|
|
582
|
-
* </p>
|
|
583
|
-
* </li>
|
|
584
|
-
* <li>
|
|
585
|
-
* <p>
|
|
586
|
-
* <code>MEDIUM</code>
|
|
587
|
-
* </p>
|
|
588
|
-
* </li>
|
|
589
|
-
* <li>
|
|
590
|
-
* <p>
|
|
591
|
-
* <code>LARGE</code>
|
|
592
|
-
* </p>
|
|
593
|
-
* </li>
|
|
594
|
-
* <li>
|
|
595
|
-
* <p>
|
|
596
|
-
* <code>XLARGE</code>
|
|
597
|
-
* </p>
|
|
598
|
-
* </li>
|
|
599
|
-
* <li>
|
|
600
|
-
* <p>
|
|
601
|
-
* <code>LARGE_2X</code>
|
|
602
|
-
* </p>
|
|
603
|
-
* </li>
|
|
604
|
-
* <li>
|
|
605
|
-
* <p>
|
|
606
|
-
* <code>LARGE_4X</code>
|
|
607
|
-
* </p>
|
|
608
|
-
* </li>
|
|
609
|
-
* <li>
|
|
610
|
-
* <p>
|
|
611
|
-
* <code>LARGE_8X</code> (not available in all regions)</p>
|
|
612
|
-
* </li>
|
|
613
|
-
* <li>
|
|
614
|
-
* <p>
|
|
615
|
-
* <code>LARGE_12X</code>
|
|
616
|
-
* </p>
|
|
617
|
-
* </li>
|
|
618
|
-
* </ul>
|
|
619
|
-
* <p>Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.</p>
|
|
620
|
-
* <p>The following legacy instance types are available, but their use is discouraged:</p>
|
|
621
|
-
* <ul>
|
|
622
|
-
* <li>
|
|
623
|
-
* <p>
|
|
624
|
-
* <b>T2_SMALL</b>: A t2.small instance type.</p>
|
|
625
|
-
* </li>
|
|
626
|
-
* <li>
|
|
627
|
-
* <p>
|
|
628
|
-
* <b>T2_MEDIUM</b>: A t2.medium instance type.</p>
|
|
629
|
-
* </li>
|
|
630
|
-
* <li>
|
|
631
|
-
* <p>
|
|
632
|
-
* <b>R4_LARGE</b>: A r4.large instance type.</p>
|
|
633
|
-
* </li>
|
|
634
|
-
* <li>
|
|
635
|
-
* <p>
|
|
636
|
-
* <b>R4_XLARGE</b>: A r4.xlarge instance type.</p>
|
|
637
|
-
* </li>
|
|
638
|
-
* <li>
|
|
639
|
-
* <p>
|
|
640
|
-
* <b>R4_2XLARGE</b>: A r4.2xlarge instance type.</p>
|
|
641
|
-
* </li>
|
|
642
|
-
* <li>
|
|
643
|
-
* <p>
|
|
644
|
-
* <b>R4_4XLARGE</b>: A r4.4xlarge instance type.</p>
|
|
645
|
-
* </li>
|
|
646
|
-
* <li>
|
|
647
|
-
* <p>
|
|
648
|
-
* <b>R4_8XLARGE</b>: A r4.8xlarge instance type.</p>
|
|
649
|
-
* </li>
|
|
650
|
-
* </ul>
|
|
651
|
-
*/
|
|
224
|
+
|
|
652
225
|
type: ApiCacheType | string | undefined;
|
|
653
226
|
}
|
|
654
227
|
export declare namespace CreateApiCacheRequest {
|
|
655
|
-
|
|
656
|
-
* @internal
|
|
657
|
-
*/
|
|
228
|
+
|
|
658
229
|
const filterSensitiveLog: (obj: CreateApiCacheRequest) => any;
|
|
659
230
|
}
|
|
660
|
-
|
|
661
|
-
* <p>Represents the output of a <code>CreateApiCache</code> operation.</p>
|
|
662
|
-
*/
|
|
231
|
+
|
|
663
232
|
export interface CreateApiCacheResponse {
|
|
664
|
-
|
|
665
|
-
* <p>The <code>ApiCache</code> object.</p>
|
|
666
|
-
*/
|
|
233
|
+
|
|
667
234
|
apiCache?: ApiCache;
|
|
668
235
|
}
|
|
669
236
|
export declare namespace CreateApiCacheResponse {
|
|
670
|
-
|
|
671
|
-
* @internal
|
|
672
|
-
*/
|
|
237
|
+
|
|
673
238
|
const filterSensitiveLog: (obj: CreateApiCacheResponse) => any;
|
|
674
239
|
}
|
|
675
|
-
|
|
676
|
-
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
677
|
-
*/
|
|
240
|
+
|
|
678
241
|
export interface InternalFailureException extends __SmithyException, $MetadataBearer {
|
|
679
242
|
name: "InternalFailureException";
|
|
680
243
|
$fault: "server";
|
|
681
244
|
message?: string;
|
|
682
245
|
}
|
|
683
246
|
export declare namespace InternalFailureException {
|
|
684
|
-
|
|
685
|
-
* @internal
|
|
686
|
-
*/
|
|
247
|
+
|
|
687
248
|
const filterSensitiveLog: (obj: InternalFailureException) => any;
|
|
688
249
|
}
|
|
689
|
-
|
|
690
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
691
|
-
* again.</p>
|
|
692
|
-
*/
|
|
250
|
+
|
|
693
251
|
export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
694
252
|
name: "NotFoundException";
|
|
695
253
|
$fault: "client";
|
|
696
254
|
message?: string;
|
|
697
255
|
}
|
|
698
256
|
export declare namespace NotFoundException {
|
|
699
|
-
|
|
700
|
-
* @internal
|
|
701
|
-
*/
|
|
257
|
+
|
|
702
258
|
const filterSensitiveLog: (obj: NotFoundException) => any;
|
|
703
259
|
}
|
|
704
|
-
|
|
705
|
-
* <p>You are not authorized to perform this operation.</p>
|
|
706
|
-
*/
|
|
260
|
+
|
|
707
261
|
export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
|
|
708
262
|
name: "UnauthorizedException";
|
|
709
263
|
$fault: "client";
|
|
710
264
|
message?: string;
|
|
711
265
|
}
|
|
712
266
|
export declare namespace UnauthorizedException {
|
|
713
|
-
|
|
714
|
-
* @internal
|
|
715
|
-
*/
|
|
267
|
+
|
|
716
268
|
const filterSensitiveLog: (obj: UnauthorizedException) => any;
|
|
717
269
|
}
|
|
718
270
|
export interface CreateApiKeyRequest {
|
|
719
|
-
|
|
720
|
-
* <p>The ID for your GraphQL API.</p>
|
|
721
|
-
*/
|
|
271
|
+
|
|
722
272
|
apiId: string | undefined;
|
|
723
|
-
|
|
724
|
-
* <p>A description of the purpose of the API key.</p>
|
|
725
|
-
*/
|
|
273
|
+
|
|
726
274
|
description?: string;
|
|
727
|
-
|
|
728
|
-
* <p>The time from creation time after which the API key expires. The date is represented as
|
|
729
|
-
* seconds since the epoch, rounded down to the nearest hour. The default value for this
|
|
730
|
-
* parameter is 7 days from creation time. For more information, see .</p>
|
|
731
|
-
*/
|
|
275
|
+
|
|
732
276
|
expires?: number;
|
|
733
277
|
}
|
|
734
278
|
export declare namespace CreateApiKeyRequest {
|
|
735
|
-
|
|
736
|
-
* @internal
|
|
737
|
-
*/
|
|
279
|
+
|
|
738
280
|
const filterSensitiveLog: (obj: CreateApiKeyRequest) => any;
|
|
739
281
|
}
|
|
740
282
|
export interface CreateApiKeyResponse {
|
|
741
|
-
|
|
742
|
-
* <p>The API key.</p>
|
|
743
|
-
*/
|
|
283
|
+
|
|
744
284
|
apiKey?: ApiKey;
|
|
745
285
|
}
|
|
746
286
|
export declare namespace CreateApiKeyResponse {
|
|
747
|
-
|
|
748
|
-
* @internal
|
|
749
|
-
*/
|
|
287
|
+
|
|
750
288
|
const filterSensitiveLog: (obj: CreateApiKeyResponse) => any;
|
|
751
289
|
}
|
|
752
|
-
|
|
753
|
-
* <p>The request exceeded a limit. Try your request again.</p>
|
|
754
|
-
*/
|
|
290
|
+
|
|
755
291
|
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
756
292
|
name: "LimitExceededException";
|
|
757
293
|
$fault: "client";
|
|
758
294
|
message?: string;
|
|
759
295
|
}
|
|
760
296
|
export declare namespace LimitExceededException {
|
|
761
|
-
|
|
762
|
-
* @internal
|
|
763
|
-
*/
|
|
297
|
+
|
|
764
298
|
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
765
299
|
}
|
|
766
|
-
|
|
767
|
-
* <p>Describes a Delta Sync configuration.</p>
|
|
768
|
-
*/
|
|
300
|
+
|
|
769
301
|
export interface DeltaSyncConfig {
|
|
770
|
-
|
|
771
|
-
* <p>The number of minutes an Item is stored in the datasource.</p>
|
|
772
|
-
*/
|
|
302
|
+
|
|
773
303
|
baseTableTTL?: number;
|
|
774
|
-
|
|
775
|
-
* <p>The Delta Sync table name.</p>
|
|
776
|
-
*/
|
|
304
|
+
|
|
777
305
|
deltaSyncTableName?: string;
|
|
778
|
-
|
|
779
|
-
* <p>The number of minutes a Delta Sync log entry is stored in the Delta Sync table.</p>
|
|
780
|
-
*/
|
|
306
|
+
|
|
781
307
|
deltaSyncTableTTL?: number;
|
|
782
308
|
}
|
|
783
309
|
export declare namespace DeltaSyncConfig {
|
|
784
|
-
|
|
785
|
-
* @internal
|
|
786
|
-
*/
|
|
310
|
+
|
|
787
311
|
const filterSensitiveLog: (obj: DeltaSyncConfig) => any;
|
|
788
312
|
}
|
|
789
|
-
|
|
790
|
-
* <p>Describes an Amazon DynamoDB data source configuration.</p>
|
|
791
|
-
*/
|
|
313
|
+
|
|
792
314
|
export interface DynamodbDataSourceConfig {
|
|
793
|
-
|
|
794
|
-
* <p>The table name.</p>
|
|
795
|
-
*/
|
|
315
|
+
|
|
796
316
|
tableName: string | undefined;
|
|
797
|
-
|
|
798
|
-
* <p>The Amazon Web Services Region.</p>
|
|
799
|
-
*/
|
|
317
|
+
|
|
800
318
|
awsRegion: string | undefined;
|
|
801
|
-
|
|
802
|
-
* <p>Set to TRUE to use Amazon Cognito credentials with this data source.</p>
|
|
803
|
-
*/
|
|
319
|
+
|
|
804
320
|
useCallerCredentials?: boolean;
|
|
805
|
-
|
|
806
|
-
* <p>The <code>DeltaSyncConfig</code> for a versioned datasource.</p>
|
|
807
|
-
*/
|
|
321
|
+
|
|
808
322
|
deltaSyncConfig?: DeltaSyncConfig;
|
|
809
|
-
|
|
810
|
-
* <p>Set to TRUE to use Conflict Detection and Resolution with this data source.</p>
|
|
811
|
-
*/
|
|
323
|
+
|
|
812
324
|
versioned?: boolean;
|
|
813
325
|
}
|
|
814
326
|
export declare namespace DynamodbDataSourceConfig {
|
|
815
|
-
|
|
816
|
-
* @internal
|
|
817
|
-
*/
|
|
327
|
+
|
|
818
328
|
const filterSensitiveLog: (obj: DynamodbDataSourceConfig) => any;
|
|
819
329
|
}
|
|
820
|
-
|
|
821
|
-
* <p>Describes an OpenSearch data source configuration.</p>
|
|
822
|
-
* <p>As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This
|
|
823
|
-
* configuration is deprecated. For new data sources, use <a>OpenSearchServiceDataSourceConfig</a> to specify an OpenSearch data
|
|
824
|
-
* source.</p>
|
|
825
|
-
*/
|
|
330
|
+
|
|
826
331
|
export interface ElasticsearchDataSourceConfig {
|
|
827
|
-
|
|
828
|
-
* <p>The endpoint.</p>
|
|
829
|
-
*/
|
|
332
|
+
|
|
830
333
|
endpoint: string | undefined;
|
|
831
|
-
|
|
832
|
-
* <p>The Amazon Web Services Region.</p>
|
|
833
|
-
*/
|
|
334
|
+
|
|
834
335
|
awsRegion: string | undefined;
|
|
835
336
|
}
|
|
836
337
|
export declare namespace ElasticsearchDataSourceConfig {
|
|
837
|
-
|
|
838
|
-
* @internal
|
|
839
|
-
*/
|
|
338
|
+
|
|
840
339
|
const filterSensitiveLog: (obj: ElasticsearchDataSourceConfig) => any;
|
|
841
340
|
}
|
|
842
|
-
|
|
843
|
-
* <p>Describes an HTTP data source configuration.</p>
|
|
844
|
-
*/
|
|
341
|
+
|
|
845
342
|
export interface HttpDataSourceConfig {
|
|
846
|
-
|
|
847
|
-
* <p>The HTTP URL endpoint. You can either specify the domain name or IP, and port
|
|
848
|
-
* combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified,
|
|
849
|
-
* AppSync uses the default port 80 for the HTTP endpoint and port 443 for
|
|
850
|
-
* HTTPS endpoints.</p>
|
|
851
|
-
*/
|
|
343
|
+
|
|
852
344
|
endpoint?: string;
|
|
853
|
-
|
|
854
|
-
* <p>The authorization config in case the HTTP endpoint requires authorization.</p>
|
|
855
|
-
*/
|
|
345
|
+
|
|
856
346
|
authorizationConfig?: AuthorizationConfig;
|
|
857
347
|
}
|
|
858
348
|
export declare namespace HttpDataSourceConfig {
|
|
859
|
-
|
|
860
|
-
* @internal
|
|
861
|
-
*/
|
|
349
|
+
|
|
862
350
|
const filterSensitiveLog: (obj: HttpDataSourceConfig) => any;
|
|
863
351
|
}
|
|
864
|
-
|
|
865
|
-
* <p>Describes an Amazon Web Services Lambda data source configuration.</p>
|
|
866
|
-
*/
|
|
352
|
+
|
|
867
353
|
export interface LambdaDataSourceConfig {
|
|
868
|
-
|
|
869
|
-
* <p>The ARN for the Lambda function.</p>
|
|
870
|
-
*/
|
|
354
|
+
|
|
871
355
|
lambdaFunctionArn: string | undefined;
|
|
872
356
|
}
|
|
873
357
|
export declare namespace LambdaDataSourceConfig {
|
|
874
|
-
|
|
875
|
-
* @internal
|
|
876
|
-
*/
|
|
358
|
+
|
|
877
359
|
const filterSensitiveLog: (obj: LambdaDataSourceConfig) => any;
|
|
878
360
|
}
|
|
879
|
-
|
|
880
|
-
* <p>Describes an OpenSearch data source configuration.</p>
|
|
881
|
-
*/
|
|
361
|
+
|
|
882
362
|
export interface OpenSearchServiceDataSourceConfig {
|
|
883
|
-
|
|
884
|
-
* <p>The endpoint.</p>
|
|
885
|
-
*/
|
|
363
|
+
|
|
886
364
|
endpoint: string | undefined;
|
|
887
|
-
|
|
888
|
-
* <p>The Amazon Web Services Region.</p>
|
|
889
|
-
*/
|
|
365
|
+
|
|
890
366
|
awsRegion: string | undefined;
|
|
891
367
|
}
|
|
892
368
|
export declare namespace OpenSearchServiceDataSourceConfig {
|
|
893
|
-
|
|
894
|
-
* @internal
|
|
895
|
-
*/
|
|
369
|
+
|
|
896
370
|
const filterSensitiveLog: (obj: OpenSearchServiceDataSourceConfig) => any;
|
|
897
371
|
}
|
|
898
|
-
|
|
899
|
-
* <p>The Amazon RDS HTTP endpoint configuration.</p>
|
|
900
|
-
*/
|
|
372
|
+
|
|
901
373
|
export interface RdsHttpEndpointConfig {
|
|
902
|
-
|
|
903
|
-
* <p>Amazon Web Services Region for RDS HTTP endpoint.</p>
|
|
904
|
-
*/
|
|
374
|
+
|
|
905
375
|
awsRegion?: string;
|
|
906
|
-
|
|
907
|
-
* <p>Amazon RDS cluster ARN.</p>
|
|
908
|
-
*/
|
|
376
|
+
|
|
909
377
|
dbClusterIdentifier?: string;
|
|
910
|
-
|
|
911
|
-
* <p>Logical database name.</p>
|
|
912
|
-
*/
|
|
378
|
+
|
|
913
379
|
databaseName?: string;
|
|
914
|
-
|
|
915
|
-
* <p>Logical schema name.</p>
|
|
916
|
-
*/
|
|
380
|
+
|
|
917
381
|
schema?: string;
|
|
918
|
-
|
|
919
|
-
* <p>Amazon Web Services secret store ARN for database credentials.</p>
|
|
920
|
-
*/
|
|
382
|
+
|
|
921
383
|
awsSecretStoreArn?: string;
|
|
922
384
|
}
|
|
923
385
|
export declare namespace RdsHttpEndpointConfig {
|
|
924
|
-
|
|
925
|
-
* @internal
|
|
926
|
-
*/
|
|
386
|
+
|
|
927
387
|
const filterSensitiveLog: (obj: RdsHttpEndpointConfig) => any;
|
|
928
388
|
}
|
|
929
389
|
export declare enum RelationalDatabaseSourceType {
|
|
930
390
|
RDS_HTTP_ENDPOINT = "RDS_HTTP_ENDPOINT"
|
|
931
391
|
}
|
|
932
|
-
|
|
933
|
-
* <p>Describes a relational database data source configuration.</p>
|
|
934
|
-
*/
|
|
392
|
+
|
|
935
393
|
export interface RelationalDatabaseDataSourceConfig {
|
|
936
|
-
|
|
937
|
-
* <p>Source type for the relational database.</p>
|
|
938
|
-
* <ul>
|
|
939
|
-
* <li>
|
|
940
|
-
* <p>
|
|
941
|
-
* <b>RDS_HTTP_ENDPOINT</b>: The relational database
|
|
942
|
-
* source type is an Amazon RDS HTTP endpoint.</p>
|
|
943
|
-
* </li>
|
|
944
|
-
* </ul>
|
|
945
|
-
*/
|
|
394
|
+
|
|
946
395
|
relationalDatabaseSourceType?: RelationalDatabaseSourceType | string;
|
|
947
|
-
|
|
948
|
-
* <p>Amazon RDS HTTP endpoint settings.</p>
|
|
949
|
-
*/
|
|
396
|
+
|
|
950
397
|
rdsHttpEndpointConfig?: RdsHttpEndpointConfig;
|
|
951
398
|
}
|
|
952
399
|
export declare namespace RelationalDatabaseDataSourceConfig {
|
|
953
|
-
|
|
954
|
-
* @internal
|
|
955
|
-
*/
|
|
400
|
+
|
|
956
401
|
const filterSensitiveLog: (obj: RelationalDatabaseDataSourceConfig) => any;
|
|
957
402
|
}
|
|
958
403
|
export declare enum DataSourceType {
|
|
@@ -965,164 +410,68 @@ export declare enum DataSourceType {
|
|
|
965
410
|
RELATIONAL_DATABASE = "RELATIONAL_DATABASE"
|
|
966
411
|
}
|
|
967
412
|
export interface CreateDataSourceRequest {
|
|
968
|
-
|
|
969
|
-
* <p>The API ID for the GraphQL API for the <code>DataSource</code>.</p>
|
|
970
|
-
*/
|
|
413
|
+
|
|
971
414
|
apiId: string | undefined;
|
|
972
|
-
|
|
973
|
-
* <p>A user-supplied name for the <code>DataSource</code>.</p>
|
|
974
|
-
*/
|
|
415
|
+
|
|
975
416
|
name: string | undefined;
|
|
976
|
-
|
|
977
|
-
* <p>A description of the <code>DataSource</code>.</p>
|
|
978
|
-
*/
|
|
417
|
+
|
|
979
418
|
description?: string;
|
|
980
|
-
|
|
981
|
-
* <p>The type of the <code>DataSource</code>.</p>
|
|
982
|
-
*/
|
|
419
|
+
|
|
983
420
|
type: DataSourceType | string | undefined;
|
|
984
|
-
|
|
985
|
-
* <p>The Identity and Access Management service role ARN for the data source. The system assumes this
|
|
986
|
-
* role when accessing the data source.</p>
|
|
987
|
-
*/
|
|
421
|
+
|
|
988
422
|
serviceRoleArn?: string;
|
|
989
|
-
|
|
990
|
-
* <p>Amazon DynamoDB settings.</p>
|
|
991
|
-
*/
|
|
423
|
+
|
|
992
424
|
dynamodbConfig?: DynamodbDataSourceConfig;
|
|
993
|
-
|
|
994
|
-
* <p>Amazon Web Services Lambda settings.</p>
|
|
995
|
-
*/
|
|
425
|
+
|
|
996
426
|
lambdaConfig?: LambdaDataSourceConfig;
|
|
997
|
-
|
|
998
|
-
* <p>Amazon OpenSearch Service settings.</p>
|
|
999
|
-
* <p>As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This
|
|
1000
|
-
* configuration is deprecated. For new data sources, use <a>CreateDataSourceRequest$openSearchServiceConfig</a> to create an OpenSearch data source.</p>
|
|
1001
|
-
*/
|
|
427
|
+
|
|
1002
428
|
elasticsearchConfig?: ElasticsearchDataSourceConfig;
|
|
1003
|
-
|
|
1004
|
-
* <p>Amazon OpenSearch Service settings.</p>
|
|
1005
|
-
*/
|
|
429
|
+
|
|
1006
430
|
openSearchServiceConfig?: OpenSearchServiceDataSourceConfig;
|
|
1007
|
-
|
|
1008
|
-
* <p>HTTP endpoint settings.</p>
|
|
1009
|
-
*/
|
|
431
|
+
|
|
1010
432
|
httpConfig?: HttpDataSourceConfig;
|
|
1011
|
-
|
|
1012
|
-
* <p>Relational database settings.</p>
|
|
1013
|
-
*/
|
|
433
|
+
|
|
1014
434
|
relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig;
|
|
1015
435
|
}
|
|
1016
436
|
export declare namespace CreateDataSourceRequest {
|
|
1017
|
-
|
|
1018
|
-
* @internal
|
|
1019
|
-
*/
|
|
437
|
+
|
|
1020
438
|
const filterSensitiveLog: (obj: CreateDataSourceRequest) => any;
|
|
1021
439
|
}
|
|
1022
|
-
|
|
1023
|
-
* <p>Describes a data source.</p>
|
|
1024
|
-
*/
|
|
440
|
+
|
|
1025
441
|
export interface DataSource {
|
|
1026
|
-
|
|
1027
|
-
* <p>The data source ARN.</p>
|
|
1028
|
-
*/
|
|
442
|
+
|
|
1029
443
|
dataSourceArn?: string;
|
|
1030
|
-
|
|
1031
|
-
* <p>The name of the data source.</p>
|
|
1032
|
-
*/
|
|
444
|
+
|
|
1033
445
|
name?: string;
|
|
1034
|
-
|
|
1035
|
-
* <p>The description of the data source.</p>
|
|
1036
|
-
*/
|
|
446
|
+
|
|
1037
447
|
description?: string;
|
|
1038
|
-
|
|
1039
|
-
* <p>The type of the data source.</p>
|
|
1040
|
-
* <ul>
|
|
1041
|
-
* <li>
|
|
1042
|
-
* <p>
|
|
1043
|
-
* <b>AWS_LAMBDA</b>: The data source is an Amazon Web Services Lambda function.</p>
|
|
1044
|
-
* </li>
|
|
1045
|
-
* <li>
|
|
1046
|
-
* <p>
|
|
1047
|
-
* <b>AMAZON_DYNAMODB</b>: The data source is an Amazon
|
|
1048
|
-
* DynamoDB table.</p>
|
|
1049
|
-
* </li>
|
|
1050
|
-
* <li>
|
|
1051
|
-
* <p>
|
|
1052
|
-
* <b>AMAZON_ELASTICSEARCH</b>: The data source is an
|
|
1053
|
-
* Amazon OpenSearch Service domain.</p>
|
|
1054
|
-
* </li>
|
|
1055
|
-
* <li>
|
|
1056
|
-
* <p>
|
|
1057
|
-
* <b>AMAZON_OPENSEARCH_SERVICE</b>: The data source is
|
|
1058
|
-
* an Amazon OpenSearch Service domain.</p>
|
|
1059
|
-
* </li>
|
|
1060
|
-
* <li>
|
|
1061
|
-
* <p>
|
|
1062
|
-
* <b>NONE</b>: There is no data source. This type is
|
|
1063
|
-
* used when you wish to invoke a GraphQL operation without connecting to a data source,
|
|
1064
|
-
* such as performing data transformation with resolvers or triggering a subscription to
|
|
1065
|
-
* be invoked from a mutation.</p>
|
|
1066
|
-
* </li>
|
|
1067
|
-
* <li>
|
|
1068
|
-
* <p>
|
|
1069
|
-
* <b>HTTP</b>: The data source is an HTTP
|
|
1070
|
-
* endpoint.</p>
|
|
1071
|
-
* </li>
|
|
1072
|
-
* <li>
|
|
1073
|
-
* <p>
|
|
1074
|
-
* <b>RELATIONAL_DATABASE</b>: The data source is a
|
|
1075
|
-
* relational database.</p>
|
|
1076
|
-
* </li>
|
|
1077
|
-
* </ul>
|
|
1078
|
-
*/
|
|
448
|
+
|
|
1079
449
|
type?: DataSourceType | string;
|
|
1080
|
-
|
|
1081
|
-
* <p>The Identity and Access Management service role ARN for the data source. The system assumes this
|
|
1082
|
-
* role when accessing the data source.</p>
|
|
1083
|
-
*/
|
|
450
|
+
|
|
1084
451
|
serviceRoleArn?: string;
|
|
1085
|
-
|
|
1086
|
-
* <p>Amazon DynamoDB settings.</p>
|
|
1087
|
-
*/
|
|
452
|
+
|
|
1088
453
|
dynamodbConfig?: DynamodbDataSourceConfig;
|
|
1089
|
-
|
|
1090
|
-
* <p>Amazon Web Services Lambda settings.</p>
|
|
1091
|
-
*/
|
|
454
|
+
|
|
1092
455
|
lambdaConfig?: LambdaDataSourceConfig;
|
|
1093
|
-
|
|
1094
|
-
* <p>Amazon OpenSearch Service settings.</p>
|
|
1095
|
-
*/
|
|
456
|
+
|
|
1096
457
|
elasticsearchConfig?: ElasticsearchDataSourceConfig;
|
|
1097
|
-
|
|
1098
|
-
* <p>Amazon OpenSearch Service settings.</p>
|
|
1099
|
-
*/
|
|
458
|
+
|
|
1100
459
|
openSearchServiceConfig?: OpenSearchServiceDataSourceConfig;
|
|
1101
|
-
|
|
1102
|
-
* <p>HTTP endpoint settings.</p>
|
|
1103
|
-
*/
|
|
460
|
+
|
|
1104
461
|
httpConfig?: HttpDataSourceConfig;
|
|
1105
|
-
|
|
1106
|
-
* <p>Relational database settings.</p>
|
|
1107
|
-
*/
|
|
462
|
+
|
|
1108
463
|
relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig;
|
|
1109
464
|
}
|
|
1110
465
|
export declare namespace DataSource {
|
|
1111
|
-
|
|
1112
|
-
* @internal
|
|
1113
|
-
*/
|
|
466
|
+
|
|
1114
467
|
const filterSensitiveLog: (obj: DataSource) => any;
|
|
1115
468
|
}
|
|
1116
469
|
export interface CreateDataSourceResponse {
|
|
1117
|
-
|
|
1118
|
-
* <p>The <code>DataSource</code> object.</p>
|
|
1119
|
-
*/
|
|
470
|
+
|
|
1120
471
|
dataSource?: DataSource;
|
|
1121
472
|
}
|
|
1122
473
|
export declare namespace CreateDataSourceResponse {
|
|
1123
|
-
|
|
1124
|
-
* @internal
|
|
1125
|
-
*/
|
|
474
|
+
|
|
1126
475
|
const filterSensitiveLog: (obj: CreateDataSourceResponse) => any;
|
|
1127
476
|
}
|
|
1128
477
|
export declare enum ConflictDetectionType {
|
|
@@ -1135,185 +484,81 @@ export declare enum ConflictHandlerType {
|
|
|
1135
484
|
NONE = "NONE",
|
|
1136
485
|
OPTIMISTIC_CONCURRENCY = "OPTIMISTIC_CONCURRENCY"
|
|
1137
486
|
}
|
|
1138
|
-
|
|
1139
|
-
* <p>The <code>LambdaConflictHandlerConfig</code> object when configuring LAMBDA as the
|
|
1140
|
-
* Conflict Handler.</p>
|
|
1141
|
-
*/
|
|
487
|
+
|
|
1142
488
|
export interface LambdaConflictHandlerConfig {
|
|
1143
|
-
|
|
1144
|
-
* <p>The Arn for the Lambda function to use as the Conflict Handler.</p>
|
|
1145
|
-
*/
|
|
489
|
+
|
|
1146
490
|
lambdaConflictHandlerArn?: string;
|
|
1147
491
|
}
|
|
1148
492
|
export declare namespace LambdaConflictHandlerConfig {
|
|
1149
|
-
|
|
1150
|
-
* @internal
|
|
1151
|
-
*/
|
|
493
|
+
|
|
1152
494
|
const filterSensitiveLog: (obj: LambdaConflictHandlerConfig) => any;
|
|
1153
495
|
}
|
|
1154
|
-
|
|
1155
|
-
* <p>Describes a Sync configuration for a resolver.</p>
|
|
1156
|
-
* <p>Contains information on which Conflict Detection as well as Resolution strategy should
|
|
1157
|
-
* be performed when the resolver is invoked.</p>
|
|
1158
|
-
*/
|
|
496
|
+
|
|
1159
497
|
export interface SyncConfig {
|
|
1160
|
-
|
|
1161
|
-
* <p>The Conflict Resolution strategy to perform in the event of a conflict.</p>
|
|
1162
|
-
* <ul>
|
|
1163
|
-
* <li>
|
|
1164
|
-
* <p>
|
|
1165
|
-
* <b>OPTIMISTIC_CONCURRENCY</b>: Resolve conflicts by
|
|
1166
|
-
* rejecting mutations when versions do not match the latest version at the
|
|
1167
|
-
* server.</p>
|
|
1168
|
-
* </li>
|
|
1169
|
-
* <li>
|
|
1170
|
-
* <p>
|
|
1171
|
-
* <b>AUTOMERGE</b>: Resolve conflicts with the
|
|
1172
|
-
* Automerge conflict resolution strategy.</p>
|
|
1173
|
-
* </li>
|
|
1174
|
-
* <li>
|
|
1175
|
-
* <p>
|
|
1176
|
-
* <b>LAMBDA</b>: Resolve conflicts with a Lambda
|
|
1177
|
-
* function supplied in the LambdaConflictHandlerConfig.</p>
|
|
1178
|
-
* </li>
|
|
1179
|
-
* </ul>
|
|
1180
|
-
*/
|
|
498
|
+
|
|
1181
499
|
conflictHandler?: ConflictHandlerType | string;
|
|
1182
|
-
|
|
1183
|
-
* <p>The Conflict Detection strategy to use.</p>
|
|
1184
|
-
* <ul>
|
|
1185
|
-
* <li>
|
|
1186
|
-
* <p>
|
|
1187
|
-
* <b>VERSION</b>: Detect conflicts based on object
|
|
1188
|
-
* versions for this resolver.</p>
|
|
1189
|
-
* </li>
|
|
1190
|
-
* <li>
|
|
1191
|
-
* <p>
|
|
1192
|
-
* <b>NONE</b>: Do not detect conflicts when executing
|
|
1193
|
-
* this resolver.</p>
|
|
1194
|
-
* </li>
|
|
1195
|
-
* </ul>
|
|
1196
|
-
*/
|
|
500
|
+
|
|
1197
501
|
conflictDetection?: ConflictDetectionType | string;
|
|
1198
|
-
|
|
1199
|
-
* <p>The <code>LambdaConflictHandlerConfig</code> when configuring LAMBDA as the Conflict
|
|
1200
|
-
* Handler.</p>
|
|
1201
|
-
*/
|
|
502
|
+
|
|
1202
503
|
lambdaConflictHandlerConfig?: LambdaConflictHandlerConfig;
|
|
1203
504
|
}
|
|
1204
505
|
export declare namespace SyncConfig {
|
|
1205
|
-
|
|
1206
|
-
* @internal
|
|
1207
|
-
*/
|
|
506
|
+
|
|
1208
507
|
const filterSensitiveLog: (obj: SyncConfig) => any;
|
|
1209
508
|
}
|
|
1210
509
|
export interface CreateFunctionRequest {
|
|
1211
|
-
|
|
1212
|
-
* <p>The GraphQL API ID.</p>
|
|
1213
|
-
*/
|
|
510
|
+
|
|
1214
511
|
apiId: string | undefined;
|
|
1215
|
-
|
|
1216
|
-
* <p>The <code>Function</code> name. The function name does not have to be unique.</p>
|
|
1217
|
-
*/
|
|
512
|
+
|
|
1218
513
|
name: string | undefined;
|
|
1219
|
-
|
|
1220
|
-
* <p>The <code>Function</code> description.</p>
|
|
1221
|
-
*/
|
|
514
|
+
|
|
1222
515
|
description?: string;
|
|
1223
|
-
|
|
1224
|
-
* <p>The <code>Function</code>
|
|
1225
|
-
* <code>DataSource</code> name.</p>
|
|
1226
|
-
*/
|
|
516
|
+
|
|
1227
517
|
dataSourceName: string | undefined;
|
|
1228
|
-
|
|
1229
|
-
* <p>The <code>Function</code> request mapping template. Functions support only the
|
|
1230
|
-
* 2018-05-29 version of the request mapping template.</p>
|
|
1231
|
-
*/
|
|
518
|
+
|
|
1232
519
|
requestMappingTemplate?: string;
|
|
1233
|
-
|
|
1234
|
-
* <p>The <code>Function</code> response mapping template. </p>
|
|
1235
|
-
*/
|
|
520
|
+
|
|
1236
521
|
responseMappingTemplate?: string;
|
|
1237
|
-
|
|
1238
|
-
* <p>The <code>version</code> of the request mapping template. Currently the supported value
|
|
1239
|
-
* is 2018-05-29. </p>
|
|
1240
|
-
*/
|
|
522
|
+
|
|
1241
523
|
functionVersion: string | undefined;
|
|
1242
|
-
|
|
1243
|
-
* <p>Describes a Sync configuration for a resolver.</p>
|
|
1244
|
-
* <p>Contains information on which Conflict Detection as well as Resolution strategy should
|
|
1245
|
-
* be performed when the resolver is invoked.</p>
|
|
1246
|
-
*/
|
|
524
|
+
|
|
1247
525
|
syncConfig?: SyncConfig;
|
|
1248
526
|
}
|
|
1249
527
|
export declare namespace CreateFunctionRequest {
|
|
1250
|
-
|
|
1251
|
-
* @internal
|
|
1252
|
-
*/
|
|
528
|
+
|
|
1253
529
|
const filterSensitiveLog: (obj: CreateFunctionRequest) => any;
|
|
1254
530
|
}
|
|
1255
|
-
|
|
1256
|
-
* <p>A function is a reusable entity. Multiple functions can be used to compose the resolver
|
|
1257
|
-
* logic.</p>
|
|
1258
|
-
*/
|
|
531
|
+
|
|
1259
532
|
export interface FunctionConfiguration {
|
|
1260
|
-
|
|
1261
|
-
* <p>A unique ID representing the <code>Function</code> object.</p>
|
|
1262
|
-
*/
|
|
533
|
+
|
|
1263
534
|
functionId?: string;
|
|
1264
|
-
|
|
1265
|
-
* <p>The ARN of the <code>Function</code> object.</p>
|
|
1266
|
-
*/
|
|
535
|
+
|
|
1267
536
|
functionArn?: string;
|
|
1268
|
-
|
|
1269
|
-
* <p>The name of the <code>Function</code> object.</p>
|
|
1270
|
-
*/
|
|
537
|
+
|
|
1271
538
|
name?: string;
|
|
1272
|
-
|
|
1273
|
-
* <p>The <code>Function</code> description.</p>
|
|
1274
|
-
*/
|
|
539
|
+
|
|
1275
540
|
description?: string;
|
|
1276
|
-
|
|
1277
|
-
* <p>The name of the <code>DataSource</code>.</p>
|
|
1278
|
-
*/
|
|
541
|
+
|
|
1279
542
|
dataSourceName?: string;
|
|
1280
|
-
|
|
1281
|
-
* <p>The <code>Function</code> request mapping template. Functions support only the
|
|
1282
|
-
* 2018-05-29 version of the request mapping template.</p>
|
|
1283
|
-
*/
|
|
543
|
+
|
|
1284
544
|
requestMappingTemplate?: string;
|
|
1285
|
-
|
|
1286
|
-
* <p>The <code>Function</code> response mapping template.</p>
|
|
1287
|
-
*/
|
|
545
|
+
|
|
1288
546
|
responseMappingTemplate?: string;
|
|
1289
|
-
|
|
1290
|
-
* <p>The version of the request mapping template. Currently only the 2018-05-29 version of
|
|
1291
|
-
* the template is supported.</p>
|
|
1292
|
-
*/
|
|
547
|
+
|
|
1293
548
|
functionVersion?: string;
|
|
1294
|
-
|
|
1295
|
-
* <p>Describes a Sync configuration for a resolver.</p>
|
|
1296
|
-
* <p>Contains information on which Conflict Detection as well as Resolution strategy should
|
|
1297
|
-
* be performed when the resolver is invoked.</p>
|
|
1298
|
-
*/
|
|
549
|
+
|
|
1299
550
|
syncConfig?: SyncConfig;
|
|
1300
551
|
}
|
|
1301
552
|
export declare namespace FunctionConfiguration {
|
|
1302
|
-
|
|
1303
|
-
* @internal
|
|
1304
|
-
*/
|
|
553
|
+
|
|
1305
554
|
const filterSensitiveLog: (obj: FunctionConfiguration) => any;
|
|
1306
555
|
}
|
|
1307
556
|
export interface CreateFunctionResponse {
|
|
1308
|
-
|
|
1309
|
-
* <p>The <code>Function</code> object.</p>
|
|
1310
|
-
*/
|
|
557
|
+
|
|
1311
558
|
functionConfiguration?: FunctionConfiguration;
|
|
1312
559
|
}
|
|
1313
560
|
export declare namespace CreateFunctionResponse {
|
|
1314
|
-
|
|
1315
|
-
* @internal
|
|
1316
|
-
*/
|
|
561
|
+
|
|
1317
562
|
const filterSensitiveLog: (obj: CreateFunctionResponse) => any;
|
|
1318
563
|
}
|
|
1319
564
|
export declare enum FieldLogLevel {
|
|
@@ -1321,419 +566,192 @@ export declare enum FieldLogLevel {
|
|
|
1321
566
|
ERROR = "ERROR",
|
|
1322
567
|
NONE = "NONE"
|
|
1323
568
|
}
|
|
1324
|
-
|
|
1325
|
-
* <p>The CloudWatch Logs configuration.</p>
|
|
1326
|
-
*/
|
|
569
|
+
|
|
1327
570
|
export interface LogConfig {
|
|
1328
|
-
|
|
1329
|
-
* <p>The field logging level. Values can be NONE, ERROR, or ALL. </p>
|
|
1330
|
-
* <ul>
|
|
1331
|
-
* <li>
|
|
1332
|
-
* <p>
|
|
1333
|
-
* <b>NONE</b>: No field-level logs are
|
|
1334
|
-
* captured.</p>
|
|
1335
|
-
* </li>
|
|
1336
|
-
* <li>
|
|
1337
|
-
* <p>
|
|
1338
|
-
* <b>ERROR</b>: Logs the following information only for
|
|
1339
|
-
* the fields that are in error:</p>
|
|
1340
|
-
* <ul>
|
|
1341
|
-
* <li>
|
|
1342
|
-
* <p>The error section in the server response.</p>
|
|
1343
|
-
* </li>
|
|
1344
|
-
* <li>
|
|
1345
|
-
* <p>Field-level errors.</p>
|
|
1346
|
-
* </li>
|
|
1347
|
-
* <li>
|
|
1348
|
-
* <p>The generated request/response functions that got resolved for error
|
|
1349
|
-
* fields.</p>
|
|
1350
|
-
* </li>
|
|
1351
|
-
* </ul>
|
|
1352
|
-
* </li>
|
|
1353
|
-
* <li>
|
|
1354
|
-
* <p>
|
|
1355
|
-
* <b>ALL</b>: The following information is logged for
|
|
1356
|
-
* all fields in the query:</p>
|
|
1357
|
-
* <ul>
|
|
1358
|
-
* <li>
|
|
1359
|
-
* <p>Field-level tracing information.</p>
|
|
1360
|
-
* </li>
|
|
1361
|
-
* <li>
|
|
1362
|
-
* <p>The generated request/response functions that got resolved for each
|
|
1363
|
-
* field.</p>
|
|
1364
|
-
* </li>
|
|
1365
|
-
* </ul>
|
|
1366
|
-
* </li>
|
|
1367
|
-
* </ul>
|
|
1368
|
-
*/
|
|
571
|
+
|
|
1369
572
|
fieldLogLevel: FieldLogLevel | string | undefined;
|
|
1370
|
-
|
|
1371
|
-
* <p>The service role that AppSync will assume to publish to Amazon
|
|
1372
|
-
* CloudWatch logs in your account. </p>
|
|
1373
|
-
*/
|
|
573
|
+
|
|
1374
574
|
cloudWatchLogsRoleArn: string | undefined;
|
|
1375
|
-
|
|
1376
|
-
* <p>Set to TRUE to exclude sections that contain information such as headers, context, and
|
|
1377
|
-
* evaluated mapping templates, regardless of logging level.</p>
|
|
1378
|
-
*/
|
|
575
|
+
|
|
1379
576
|
excludeVerboseContent?: boolean;
|
|
1380
577
|
}
|
|
1381
578
|
export declare namespace LogConfig {
|
|
1382
|
-
|
|
1383
|
-
* @internal
|
|
1384
|
-
*/
|
|
579
|
+
|
|
1385
580
|
const filterSensitiveLog: (obj: LogConfig) => any;
|
|
1386
581
|
}
|
|
1387
582
|
export declare enum DefaultAction {
|
|
1388
583
|
ALLOW = "ALLOW",
|
|
1389
584
|
DENY = "DENY"
|
|
1390
585
|
}
|
|
1391
|
-
|
|
1392
|
-
* <p>Describes an Amazon Cognito user pool configuration.</p>
|
|
1393
|
-
*/
|
|
586
|
+
|
|
1394
587
|
export interface UserPoolConfig {
|
|
1395
|
-
|
|
1396
|
-
* <p>The user pool ID.</p>
|
|
1397
|
-
*/
|
|
588
|
+
|
|
1398
589
|
userPoolId: string | undefined;
|
|
1399
|
-
|
|
1400
|
-
* <p>The Amazon Web Services Region in which the user pool was created.</p>
|
|
1401
|
-
*/
|
|
590
|
+
|
|
1402
591
|
awsRegion: string | undefined;
|
|
1403
|
-
|
|
1404
|
-
* <p>The action that you want your GraphQL API to take when a request that uses Amazon
|
|
1405
|
-
* Cognito user pool authentication doesn't match the Amazon Cognito user pool
|
|
1406
|
-
* configuration.</p>
|
|
1407
|
-
*/
|
|
592
|
+
|
|
1408
593
|
defaultAction: DefaultAction | string | undefined;
|
|
1409
|
-
|
|
1410
|
-
* <p>A regular expression for validating the incoming Amazon Cognito user pool app client
|
|
1411
|
-
* ID.</p>
|
|
1412
|
-
*/
|
|
594
|
+
|
|
1413
595
|
appIdClientRegex?: string;
|
|
1414
596
|
}
|
|
1415
597
|
export declare namespace UserPoolConfig {
|
|
1416
|
-
|
|
1417
|
-
* @internal
|
|
1418
|
-
*/
|
|
598
|
+
|
|
1419
599
|
const filterSensitiveLog: (obj: UserPoolConfig) => any;
|
|
1420
600
|
}
|
|
1421
601
|
export interface CreateGraphqlApiRequest {
|
|
1422
|
-
|
|
1423
|
-
* <p>A user-supplied name for the <code>GraphqlApi</code>.</p>
|
|
1424
|
-
*/
|
|
602
|
+
|
|
1425
603
|
name: string | undefined;
|
|
1426
|
-
|
|
1427
|
-
* <p>The Amazon CloudWatch Logs configuration.</p>
|
|
1428
|
-
*/
|
|
604
|
+
|
|
1429
605
|
logConfig?: LogConfig;
|
|
1430
|
-
|
|
1431
|
-
* <p>The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user
|
|
1432
|
-
* pools, or Amazon Web Services Lambda.</p>
|
|
1433
|
-
*/
|
|
606
|
+
|
|
1434
607
|
authenticationType: AuthenticationType | string | undefined;
|
|
1435
|
-
|
|
1436
|
-
* <p>The Amazon Cognito user pool configuration.</p>
|
|
1437
|
-
*/
|
|
608
|
+
|
|
1438
609
|
userPoolConfig?: UserPoolConfig;
|
|
1439
|
-
|
|
1440
|
-
* <p>The OpenID Connect configuration.</p>
|
|
1441
|
-
*/
|
|
610
|
+
|
|
1442
611
|
openIDConnectConfig?: OpenIDConnectConfig;
|
|
1443
|
-
|
|
1444
|
-
* <p>A <code>TagMap</code> object.</p>
|
|
1445
|
-
*/
|
|
612
|
+
|
|
1446
613
|
tags?: {
|
|
1447
614
|
[key: string]: string;
|
|
1448
615
|
};
|
|
1449
|
-
|
|
1450
|
-
* <p>A list of additional authentication providers for the <code>GraphqlApi</code>
|
|
1451
|
-
* API.</p>
|
|
1452
|
-
*/
|
|
616
|
+
|
|
1453
617
|
additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
|
|
1454
|
-
|
|
1455
|
-
* <p>A flag indicating whether to enable X-Ray tracing for the
|
|
1456
|
-
* <code>GraphqlApi</code>.</p>
|
|
1457
|
-
*/
|
|
618
|
+
|
|
1458
619
|
xrayEnabled?: boolean;
|
|
1459
|
-
|
|
1460
|
-
* <p>Configuration for Amazon Web Services Lambda function authorization.</p>
|
|
1461
|
-
*/
|
|
620
|
+
|
|
1462
621
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
1463
622
|
}
|
|
1464
623
|
export declare namespace CreateGraphqlApiRequest {
|
|
1465
|
-
|
|
1466
|
-
* @internal
|
|
1467
|
-
*/
|
|
624
|
+
|
|
1468
625
|
const filterSensitiveLog: (obj: CreateGraphqlApiRequest) => any;
|
|
1469
626
|
}
|
|
1470
|
-
|
|
1471
|
-
* <p>Describes a GraphQL API.</p>
|
|
1472
|
-
*/
|
|
627
|
+
|
|
1473
628
|
export interface GraphqlApi {
|
|
1474
|
-
|
|
1475
|
-
* <p>The API name.</p>
|
|
1476
|
-
*/
|
|
629
|
+
|
|
1477
630
|
name?: string;
|
|
1478
|
-
|
|
1479
|
-
* <p>The API ID.</p>
|
|
1480
|
-
*/
|
|
631
|
+
|
|
1481
632
|
apiId?: string;
|
|
1482
|
-
|
|
1483
|
-
* <p>The authentication type.</p>
|
|
1484
|
-
*/
|
|
633
|
+
|
|
1485
634
|
authenticationType?: AuthenticationType | string;
|
|
1486
|
-
|
|
1487
|
-
* <p>The Amazon CloudWatch Logs configuration.</p>
|
|
1488
|
-
*/
|
|
635
|
+
|
|
1489
636
|
logConfig?: LogConfig;
|
|
1490
|
-
|
|
1491
|
-
* <p>The Amazon Cognito user pool configuration.</p>
|
|
1492
|
-
*/
|
|
637
|
+
|
|
1493
638
|
userPoolConfig?: UserPoolConfig;
|
|
1494
|
-
|
|
1495
|
-
* <p>The OpenID Connect configuration.</p>
|
|
1496
|
-
*/
|
|
639
|
+
|
|
1497
640
|
openIDConnectConfig?: OpenIDConnectConfig;
|
|
1498
|
-
|
|
1499
|
-
* <p>The ARN.</p>
|
|
1500
|
-
*/
|
|
641
|
+
|
|
1501
642
|
arn?: string;
|
|
1502
|
-
|
|
1503
|
-
* <p>The URIs.</p>
|
|
1504
|
-
*/
|
|
643
|
+
|
|
1505
644
|
uris?: {
|
|
1506
645
|
[key: string]: string;
|
|
1507
646
|
};
|
|
1508
|
-
|
|
1509
|
-
* <p>The tags.</p>
|
|
1510
|
-
*/
|
|
647
|
+
|
|
1511
648
|
tags?: {
|
|
1512
649
|
[key: string]: string;
|
|
1513
650
|
};
|
|
1514
|
-
|
|
1515
|
-
* <p>A list of additional authentication providers for the <code>GraphqlApi</code>
|
|
1516
|
-
* API.</p>
|
|
1517
|
-
*/
|
|
651
|
+
|
|
1518
652
|
additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
|
|
1519
|
-
|
|
1520
|
-
* <p>A flag representing whether X-Ray tracing is enabled for this
|
|
1521
|
-
* <code>GraphqlApi</code>.</p>
|
|
1522
|
-
*/
|
|
653
|
+
|
|
1523
654
|
xrayEnabled?: boolean;
|
|
1524
|
-
|
|
1525
|
-
* <p>The ARN of the WAF ACL associated with this <code>GraphqlApi</code>,
|
|
1526
|
-
* if one exists.</p>
|
|
1527
|
-
*/
|
|
655
|
+
|
|
1528
656
|
wafWebAclArn?: string;
|
|
1529
|
-
|
|
1530
|
-
* <p>Configuration for Amazon Web Services Lambda function authorization.</p>
|
|
1531
|
-
*/
|
|
657
|
+
|
|
1532
658
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
1533
659
|
}
|
|
1534
660
|
export declare namespace GraphqlApi {
|
|
1535
|
-
|
|
1536
|
-
* @internal
|
|
1537
|
-
*/
|
|
661
|
+
|
|
1538
662
|
const filterSensitiveLog: (obj: GraphqlApi) => any;
|
|
1539
663
|
}
|
|
1540
664
|
export interface CreateGraphqlApiResponse {
|
|
1541
|
-
|
|
1542
|
-
* <p>The <code>GraphqlApi</code>.</p>
|
|
1543
|
-
*/
|
|
665
|
+
|
|
1544
666
|
graphqlApi?: GraphqlApi;
|
|
1545
667
|
}
|
|
1546
668
|
export declare namespace CreateGraphqlApiResponse {
|
|
1547
|
-
|
|
1548
|
-
* @internal
|
|
1549
|
-
*/
|
|
669
|
+
|
|
1550
670
|
const filterSensitiveLog: (obj: CreateGraphqlApiResponse) => any;
|
|
1551
671
|
}
|
|
1552
|
-
|
|
1553
|
-
* <p>The caching configuration for a resolver that has caching enabled.</p>
|
|
1554
|
-
*/
|
|
672
|
+
|
|
1555
673
|
export interface CachingConfig {
|
|
1556
|
-
|
|
1557
|
-
* <p>The TTL in seconds for a resolver that has caching enabled.</p>
|
|
1558
|
-
* <p>Valid values are between 1 and 3600 seconds.</p>
|
|
1559
|
-
*/
|
|
674
|
+
|
|
1560
675
|
ttl?: number;
|
|
1561
|
-
|
|
1562
|
-
* <p>The caching keys for a resolver that has caching enabled.</p>
|
|
1563
|
-
* <p>Valid values are entries from the <code>$context.arguments</code>,
|
|
1564
|
-
* <code>$context.source</code>, and <code>$context.identity</code> maps.</p>
|
|
1565
|
-
*/
|
|
676
|
+
|
|
1566
677
|
cachingKeys?: string[];
|
|
1567
678
|
}
|
|
1568
679
|
export declare namespace CachingConfig {
|
|
1569
|
-
|
|
1570
|
-
* @internal
|
|
1571
|
-
*/
|
|
680
|
+
|
|
1572
681
|
const filterSensitiveLog: (obj: CachingConfig) => any;
|
|
1573
682
|
}
|
|
1574
683
|
export declare enum ResolverKind {
|
|
1575
684
|
PIPELINE = "PIPELINE",
|
|
1576
685
|
UNIT = "UNIT"
|
|
1577
686
|
}
|
|
1578
|
-
|
|
1579
|
-
* <p>The pipeline configuration for a resolver of kind <code>PIPELINE</code>.</p>
|
|
1580
|
-
*/
|
|
687
|
+
|
|
1581
688
|
export interface PipelineConfig {
|
|
1582
|
-
|
|
1583
|
-
* <p>A list of <code>Function</code> objects.</p>
|
|
1584
|
-
*/
|
|
689
|
+
|
|
1585
690
|
functions?: string[];
|
|
1586
691
|
}
|
|
1587
692
|
export declare namespace PipelineConfig {
|
|
1588
|
-
|
|
1589
|
-
* @internal
|
|
1590
|
-
*/
|
|
693
|
+
|
|
1591
694
|
const filterSensitiveLog: (obj: PipelineConfig) => any;
|
|
1592
695
|
}
|
|
1593
696
|
export interface CreateResolverRequest {
|
|
1594
|
-
|
|
1595
|
-
* <p>The ID for the GraphQL API for which the resolver is being created.</p>
|
|
1596
|
-
*/
|
|
697
|
+
|
|
1597
698
|
apiId: string | undefined;
|
|
1598
|
-
|
|
1599
|
-
* <p>The name of the <code>Type</code>.</p>
|
|
1600
|
-
*/
|
|
699
|
+
|
|
1601
700
|
typeName: string | undefined;
|
|
1602
|
-
|
|
1603
|
-
* <p>The name of the field to attach the resolver to.</p>
|
|
1604
|
-
*/
|
|
701
|
+
|
|
1605
702
|
fieldName: string | undefined;
|
|
1606
|
-
|
|
1607
|
-
* <p>The name of the data source for which the resolver is being created.</p>
|
|
1608
|
-
*/
|
|
703
|
+
|
|
1609
704
|
dataSourceName?: string;
|
|
1610
|
-
|
|
1611
|
-
* <p>The mapping template to be used for requests.</p>
|
|
1612
|
-
* <p>A resolver uses a request mapping template to convert a GraphQL expression into a format
|
|
1613
|
-
* that a data source can understand. Mapping templates are written in Apache Velocity
|
|
1614
|
-
* Template Language (VTL).</p>
|
|
1615
|
-
* <p>VTL request mapping templates are optional when using a Lambda data source. For all
|
|
1616
|
-
* other data sources, VTL request and response mapping templates are required.</p>
|
|
1617
|
-
*/
|
|
705
|
+
|
|
1618
706
|
requestMappingTemplate?: string;
|
|
1619
|
-
|
|
1620
|
-
* <p>The mapping template to be used for responses from the data source.</p>
|
|
1621
|
-
*/
|
|
707
|
+
|
|
1622
708
|
responseMappingTemplate?: string;
|
|
1623
|
-
|
|
1624
|
-
* <p>The resolver type.</p>
|
|
1625
|
-
* <ul>
|
|
1626
|
-
* <li>
|
|
1627
|
-
* <p>
|
|
1628
|
-
* <b>UNIT</b>: A UNIT resolver type. A UNIT resolver is
|
|
1629
|
-
* the default resolver type. A UNIT resolver enables you to execute a GraphQL query
|
|
1630
|
-
* against a single data source.</p>
|
|
1631
|
-
* </li>
|
|
1632
|
-
* <li>
|
|
1633
|
-
* <p>
|
|
1634
|
-
* <b>PIPELINE</b>: A PIPELINE resolver type. A PIPELINE
|
|
1635
|
-
* resolver enables you to execute a series of <code>Function</code> in a serial manner.
|
|
1636
|
-
* You can use a pipeline resolver to execute a GraphQL query against multiple data
|
|
1637
|
-
* sources.</p>
|
|
1638
|
-
* </li>
|
|
1639
|
-
* </ul>
|
|
1640
|
-
*/
|
|
709
|
+
|
|
1641
710
|
kind?: ResolverKind | string;
|
|
1642
|
-
|
|
1643
|
-
* <p>The <code>PipelineConfig</code>.</p>
|
|
1644
|
-
*/
|
|
711
|
+
|
|
1645
712
|
pipelineConfig?: PipelineConfig;
|
|
1646
|
-
|
|
1647
|
-
* <p>The <code>SyncConfig</code> for a resolver attached to a versioned datasource.</p>
|
|
1648
|
-
*/
|
|
713
|
+
|
|
1649
714
|
syncConfig?: SyncConfig;
|
|
1650
|
-
|
|
1651
|
-
* <p>The caching configuration for the resolver.</p>
|
|
1652
|
-
*/
|
|
715
|
+
|
|
1653
716
|
cachingConfig?: CachingConfig;
|
|
1654
717
|
}
|
|
1655
718
|
export declare namespace CreateResolverRequest {
|
|
1656
|
-
|
|
1657
|
-
* @internal
|
|
1658
|
-
*/
|
|
719
|
+
|
|
1659
720
|
const filterSensitiveLog: (obj: CreateResolverRequest) => any;
|
|
1660
721
|
}
|
|
1661
|
-
|
|
1662
|
-
* <p>Describes a resolver.</p>
|
|
1663
|
-
*/
|
|
722
|
+
|
|
1664
723
|
export interface Resolver {
|
|
1665
|
-
|
|
1666
|
-
* <p>The resolver type name.</p>
|
|
1667
|
-
*/
|
|
724
|
+
|
|
1668
725
|
typeName?: string;
|
|
1669
|
-
|
|
1670
|
-
* <p>The resolver field name.</p>
|
|
1671
|
-
*/
|
|
726
|
+
|
|
1672
727
|
fieldName?: string;
|
|
1673
|
-
|
|
1674
|
-
* <p>The resolver data source name.</p>
|
|
1675
|
-
*/
|
|
728
|
+
|
|
1676
729
|
dataSourceName?: string;
|
|
1677
|
-
|
|
1678
|
-
* <p>The resolver ARN.</p>
|
|
1679
|
-
*/
|
|
730
|
+
|
|
1680
731
|
resolverArn?: string;
|
|
1681
|
-
|
|
1682
|
-
* <p>The request mapping template.</p>
|
|
1683
|
-
*/
|
|
732
|
+
|
|
1684
733
|
requestMappingTemplate?: string;
|
|
1685
|
-
|
|
1686
|
-
* <p>The response mapping template.</p>
|
|
1687
|
-
*/
|
|
734
|
+
|
|
1688
735
|
responseMappingTemplate?: string;
|
|
1689
|
-
|
|
1690
|
-
* <p>The resolver type.</p>
|
|
1691
|
-
* <ul>
|
|
1692
|
-
* <li>
|
|
1693
|
-
* <p>
|
|
1694
|
-
* <b>UNIT</b>: A UNIT resolver type. A UNIT resolver is
|
|
1695
|
-
* the default resolver type. A UNIT resolver enables you to execute a GraphQL query
|
|
1696
|
-
* against a single data source.</p>
|
|
1697
|
-
* </li>
|
|
1698
|
-
* <li>
|
|
1699
|
-
* <p>
|
|
1700
|
-
* <b>PIPELINE</b>: A PIPELINE resolver type. A PIPELINE
|
|
1701
|
-
* resolver enables you to execute a series of <code>Function</code> in a serial manner.
|
|
1702
|
-
* You can use a pipeline resolver to execute a GraphQL query against multiple data
|
|
1703
|
-
* sources.</p>
|
|
1704
|
-
* </li>
|
|
1705
|
-
* </ul>
|
|
1706
|
-
*/
|
|
736
|
+
|
|
1707
737
|
kind?: ResolverKind | string;
|
|
1708
|
-
|
|
1709
|
-
* <p>The <code>PipelineConfig</code>.</p>
|
|
1710
|
-
*/
|
|
738
|
+
|
|
1711
739
|
pipelineConfig?: PipelineConfig;
|
|
1712
|
-
|
|
1713
|
-
* <p>The <code>SyncConfig</code> for a resolver attached to a versioned datasource.</p>
|
|
1714
|
-
*/
|
|
740
|
+
|
|
1715
741
|
syncConfig?: SyncConfig;
|
|
1716
|
-
|
|
1717
|
-
* <p>The caching configuration for the resolver.</p>
|
|
1718
|
-
*/
|
|
742
|
+
|
|
1719
743
|
cachingConfig?: CachingConfig;
|
|
1720
744
|
}
|
|
1721
745
|
export declare namespace Resolver {
|
|
1722
|
-
|
|
1723
|
-
* @internal
|
|
1724
|
-
*/
|
|
746
|
+
|
|
1725
747
|
const filterSensitiveLog: (obj: Resolver) => any;
|
|
1726
748
|
}
|
|
1727
749
|
export interface CreateResolverResponse {
|
|
1728
|
-
|
|
1729
|
-
* <p>The <code>Resolver</code> object.</p>
|
|
1730
|
-
*/
|
|
750
|
+
|
|
1731
751
|
resolver?: Resolver;
|
|
1732
752
|
}
|
|
1733
753
|
export declare namespace CreateResolverResponse {
|
|
1734
|
-
|
|
1735
|
-
* @internal
|
|
1736
|
-
*/
|
|
754
|
+
|
|
1737
755
|
const filterSensitiveLog: (obj: CreateResolverResponse) => any;
|
|
1738
756
|
}
|
|
1739
757
|
export declare enum TypeDefinitionFormat {
|
|
@@ -1741,374 +759,238 @@ export declare enum TypeDefinitionFormat {
|
|
|
1741
759
|
SDL = "SDL"
|
|
1742
760
|
}
|
|
1743
761
|
export interface CreateTypeRequest {
|
|
1744
|
-
|
|
1745
|
-
* <p>The API ID.</p>
|
|
1746
|
-
*/
|
|
762
|
+
|
|
1747
763
|
apiId: string | undefined;
|
|
1748
|
-
|
|
1749
|
-
* <p>The type definition, in GraphQL Schema Definition Language (SDL) format.</p>
|
|
1750
|
-
* <p>For more information, see the <a href="http://graphql.org/learn/schema/">GraphQL SDL
|
|
1751
|
-
* documentation</a>.</p>
|
|
1752
|
-
*/
|
|
764
|
+
|
|
1753
765
|
definition: string | undefined;
|
|
1754
|
-
|
|
1755
|
-
* <p>The type format: SDL or JSON.</p>
|
|
1756
|
-
*/
|
|
766
|
+
|
|
1757
767
|
format: TypeDefinitionFormat | string | undefined;
|
|
1758
768
|
}
|
|
1759
769
|
export declare namespace CreateTypeRequest {
|
|
1760
|
-
|
|
1761
|
-
* @internal
|
|
1762
|
-
*/
|
|
770
|
+
|
|
1763
771
|
const filterSensitiveLog: (obj: CreateTypeRequest) => any;
|
|
1764
772
|
}
|
|
1765
|
-
|
|
1766
|
-
* <p>Describes a type.</p>
|
|
1767
|
-
*/
|
|
773
|
+
|
|
1768
774
|
export interface Type {
|
|
1769
|
-
|
|
1770
|
-
* <p>The type name.</p>
|
|
1771
|
-
*/
|
|
775
|
+
|
|
1772
776
|
name?: string;
|
|
1773
|
-
|
|
1774
|
-
* <p>The type description.</p>
|
|
1775
|
-
*/
|
|
777
|
+
|
|
1776
778
|
description?: string;
|
|
1777
|
-
|
|
1778
|
-
* <p>The type ARN.</p>
|
|
1779
|
-
*/
|
|
779
|
+
|
|
1780
780
|
arn?: string;
|
|
1781
|
-
|
|
1782
|
-
* <p>The type definition.</p>
|
|
1783
|
-
*/
|
|
781
|
+
|
|
1784
782
|
definition?: string;
|
|
1785
|
-
|
|
1786
|
-
* <p>The type format: SDL or JSON.</p>
|
|
1787
|
-
*/
|
|
783
|
+
|
|
1788
784
|
format?: TypeDefinitionFormat | string;
|
|
1789
785
|
}
|
|
1790
786
|
export declare namespace Type {
|
|
1791
|
-
|
|
1792
|
-
* @internal
|
|
1793
|
-
*/
|
|
787
|
+
|
|
1794
788
|
const filterSensitiveLog: (obj: Type) => any;
|
|
1795
789
|
}
|
|
1796
790
|
export interface CreateTypeResponse {
|
|
1797
|
-
|
|
1798
|
-
* <p>The <code>Type</code> object.</p>
|
|
1799
|
-
*/
|
|
791
|
+
|
|
1800
792
|
type?: Type;
|
|
1801
793
|
}
|
|
1802
794
|
export declare namespace CreateTypeResponse {
|
|
1803
|
-
|
|
1804
|
-
* @internal
|
|
1805
|
-
*/
|
|
795
|
+
|
|
1806
796
|
const filterSensitiveLog: (obj: CreateTypeResponse) => any;
|
|
1807
797
|
}
|
|
1808
|
-
|
|
1809
|
-
* <p>Represents the input of a <code>DeleteApiCache</code> operation.</p>
|
|
1810
|
-
*/
|
|
798
|
+
|
|
1811
799
|
export interface DeleteApiCacheRequest {
|
|
1812
|
-
|
|
1813
|
-
* <p>The API ID.</p>
|
|
1814
|
-
*/
|
|
800
|
+
|
|
1815
801
|
apiId: string | undefined;
|
|
1816
802
|
}
|
|
1817
803
|
export declare namespace DeleteApiCacheRequest {
|
|
1818
|
-
|
|
1819
|
-
* @internal
|
|
1820
|
-
*/
|
|
804
|
+
|
|
1821
805
|
const filterSensitiveLog: (obj: DeleteApiCacheRequest) => any;
|
|
1822
806
|
}
|
|
1823
|
-
|
|
1824
|
-
* <p>Represents the output of a <code>DeleteApiCache</code> operation.</p>
|
|
1825
|
-
*/
|
|
807
|
+
|
|
1826
808
|
export interface DeleteApiCacheResponse {
|
|
1827
809
|
}
|
|
1828
810
|
export declare namespace DeleteApiCacheResponse {
|
|
1829
|
-
|
|
1830
|
-
* @internal
|
|
1831
|
-
*/
|
|
811
|
+
|
|
1832
812
|
const filterSensitiveLog: (obj: DeleteApiCacheResponse) => any;
|
|
1833
813
|
}
|
|
1834
814
|
export interface DeleteApiKeyRequest {
|
|
1835
|
-
|
|
1836
|
-
* <p>The API ID.</p>
|
|
1837
|
-
*/
|
|
815
|
+
|
|
1838
816
|
apiId: string | undefined;
|
|
1839
|
-
|
|
1840
|
-
* <p>The ID for the API key.</p>
|
|
1841
|
-
*/
|
|
817
|
+
|
|
1842
818
|
id: string | undefined;
|
|
1843
819
|
}
|
|
1844
820
|
export declare namespace DeleteApiKeyRequest {
|
|
1845
|
-
|
|
1846
|
-
* @internal
|
|
1847
|
-
*/
|
|
821
|
+
|
|
1848
822
|
const filterSensitiveLog: (obj: DeleteApiKeyRequest) => any;
|
|
1849
823
|
}
|
|
1850
824
|
export interface DeleteApiKeyResponse {
|
|
1851
825
|
}
|
|
1852
826
|
export declare namespace DeleteApiKeyResponse {
|
|
1853
|
-
|
|
1854
|
-
* @internal
|
|
1855
|
-
*/
|
|
827
|
+
|
|
1856
828
|
const filterSensitiveLog: (obj: DeleteApiKeyResponse) => any;
|
|
1857
829
|
}
|
|
1858
830
|
export interface DeleteDataSourceRequest {
|
|
1859
|
-
|
|
1860
|
-
* <p>The API ID.</p>
|
|
1861
|
-
*/
|
|
831
|
+
|
|
1862
832
|
apiId: string | undefined;
|
|
1863
|
-
|
|
1864
|
-
* <p>The name of the data source.</p>
|
|
1865
|
-
*/
|
|
833
|
+
|
|
1866
834
|
name: string | undefined;
|
|
1867
835
|
}
|
|
1868
836
|
export declare namespace DeleteDataSourceRequest {
|
|
1869
|
-
|
|
1870
|
-
* @internal
|
|
1871
|
-
*/
|
|
837
|
+
|
|
1872
838
|
const filterSensitiveLog: (obj: DeleteDataSourceRequest) => any;
|
|
1873
839
|
}
|
|
1874
840
|
export interface DeleteDataSourceResponse {
|
|
1875
841
|
}
|
|
1876
842
|
export declare namespace DeleteDataSourceResponse {
|
|
1877
|
-
|
|
1878
|
-
* @internal
|
|
1879
|
-
*/
|
|
843
|
+
|
|
1880
844
|
const filterSensitiveLog: (obj: DeleteDataSourceResponse) => any;
|
|
1881
845
|
}
|
|
1882
846
|
export interface DeleteFunctionRequest {
|
|
1883
|
-
|
|
1884
|
-
* <p>The GraphQL API ID.</p>
|
|
1885
|
-
*/
|
|
847
|
+
|
|
1886
848
|
apiId: string | undefined;
|
|
1887
|
-
|
|
1888
|
-
* <p>The <code>Function</code> ID.</p>
|
|
1889
|
-
*/
|
|
849
|
+
|
|
1890
850
|
functionId: string | undefined;
|
|
1891
851
|
}
|
|
1892
852
|
export declare namespace DeleteFunctionRequest {
|
|
1893
|
-
|
|
1894
|
-
* @internal
|
|
1895
|
-
*/
|
|
853
|
+
|
|
1896
854
|
const filterSensitiveLog: (obj: DeleteFunctionRequest) => any;
|
|
1897
855
|
}
|
|
1898
856
|
export interface DeleteFunctionResponse {
|
|
1899
857
|
}
|
|
1900
858
|
export declare namespace DeleteFunctionResponse {
|
|
1901
|
-
|
|
1902
|
-
* @internal
|
|
1903
|
-
*/
|
|
859
|
+
|
|
1904
860
|
const filterSensitiveLog: (obj: DeleteFunctionResponse) => any;
|
|
1905
861
|
}
|
|
1906
862
|
export interface DeleteGraphqlApiRequest {
|
|
1907
|
-
|
|
1908
|
-
* <p>The API ID.</p>
|
|
1909
|
-
*/
|
|
863
|
+
|
|
1910
864
|
apiId: string | undefined;
|
|
1911
865
|
}
|
|
1912
866
|
export declare namespace DeleteGraphqlApiRequest {
|
|
1913
|
-
|
|
1914
|
-
* @internal
|
|
1915
|
-
*/
|
|
867
|
+
|
|
1916
868
|
const filterSensitiveLog: (obj: DeleteGraphqlApiRequest) => any;
|
|
1917
869
|
}
|
|
1918
870
|
export interface DeleteGraphqlApiResponse {
|
|
1919
871
|
}
|
|
1920
872
|
export declare namespace DeleteGraphqlApiResponse {
|
|
1921
|
-
|
|
1922
|
-
* @internal
|
|
1923
|
-
*/
|
|
873
|
+
|
|
1924
874
|
const filterSensitiveLog: (obj: DeleteGraphqlApiResponse) => any;
|
|
1925
875
|
}
|
|
1926
876
|
export interface DeleteResolverRequest {
|
|
1927
|
-
|
|
1928
|
-
* <p>The API ID.</p>
|
|
1929
|
-
*/
|
|
877
|
+
|
|
1930
878
|
apiId: string | undefined;
|
|
1931
|
-
|
|
1932
|
-
* <p>The name of the resolver type.</p>
|
|
1933
|
-
*/
|
|
879
|
+
|
|
1934
880
|
typeName: string | undefined;
|
|
1935
|
-
|
|
1936
|
-
* <p>The resolver field name.</p>
|
|
1937
|
-
*/
|
|
881
|
+
|
|
1938
882
|
fieldName: string | undefined;
|
|
1939
883
|
}
|
|
1940
884
|
export declare namespace DeleteResolverRequest {
|
|
1941
|
-
|
|
1942
|
-
* @internal
|
|
1943
|
-
*/
|
|
885
|
+
|
|
1944
886
|
const filterSensitiveLog: (obj: DeleteResolverRequest) => any;
|
|
1945
887
|
}
|
|
1946
888
|
export interface DeleteResolverResponse {
|
|
1947
889
|
}
|
|
1948
890
|
export declare namespace DeleteResolverResponse {
|
|
1949
|
-
|
|
1950
|
-
* @internal
|
|
1951
|
-
*/
|
|
891
|
+
|
|
1952
892
|
const filterSensitiveLog: (obj: DeleteResolverResponse) => any;
|
|
1953
893
|
}
|
|
1954
894
|
export interface DeleteTypeRequest {
|
|
1955
|
-
|
|
1956
|
-
* <p>The API ID.</p>
|
|
1957
|
-
*/
|
|
895
|
+
|
|
1958
896
|
apiId: string | undefined;
|
|
1959
|
-
|
|
1960
|
-
* <p>The type name.</p>
|
|
1961
|
-
*/
|
|
897
|
+
|
|
1962
898
|
typeName: string | undefined;
|
|
1963
899
|
}
|
|
1964
900
|
export declare namespace DeleteTypeRequest {
|
|
1965
|
-
|
|
1966
|
-
* @internal
|
|
1967
|
-
*/
|
|
901
|
+
|
|
1968
902
|
const filterSensitiveLog: (obj: DeleteTypeRequest) => any;
|
|
1969
903
|
}
|
|
1970
904
|
export interface DeleteTypeResponse {
|
|
1971
905
|
}
|
|
1972
906
|
export declare namespace DeleteTypeResponse {
|
|
1973
|
-
|
|
1974
|
-
* @internal
|
|
1975
|
-
*/
|
|
907
|
+
|
|
1976
908
|
const filterSensitiveLog: (obj: DeleteTypeResponse) => any;
|
|
1977
909
|
}
|
|
1978
|
-
|
|
1979
|
-
* <p>Represents the input of a <code>FlushApiCache</code> operation.</p>
|
|
1980
|
-
*/
|
|
910
|
+
|
|
1981
911
|
export interface FlushApiCacheRequest {
|
|
1982
|
-
|
|
1983
|
-
* <p>The API ID.</p>
|
|
1984
|
-
*/
|
|
912
|
+
|
|
1985
913
|
apiId: string | undefined;
|
|
1986
914
|
}
|
|
1987
915
|
export declare namespace FlushApiCacheRequest {
|
|
1988
|
-
|
|
1989
|
-
* @internal
|
|
1990
|
-
*/
|
|
916
|
+
|
|
1991
917
|
const filterSensitiveLog: (obj: FlushApiCacheRequest) => any;
|
|
1992
918
|
}
|
|
1993
|
-
|
|
1994
|
-
* <p>Represents the output of a <code>FlushApiCache</code> operation.</p>
|
|
1995
|
-
*/
|
|
919
|
+
|
|
1996
920
|
export interface FlushApiCacheResponse {
|
|
1997
921
|
}
|
|
1998
922
|
export declare namespace FlushApiCacheResponse {
|
|
1999
|
-
|
|
2000
|
-
* @internal
|
|
2001
|
-
*/
|
|
923
|
+
|
|
2002
924
|
const filterSensitiveLog: (obj: FlushApiCacheResponse) => any;
|
|
2003
925
|
}
|
|
2004
|
-
|
|
2005
|
-
* <p>Represents the input of a <code>GetApiCache</code> operation.</p>
|
|
2006
|
-
*/
|
|
926
|
+
|
|
2007
927
|
export interface GetApiCacheRequest {
|
|
2008
|
-
|
|
2009
|
-
* <p>The API ID.</p>
|
|
2010
|
-
*/
|
|
928
|
+
|
|
2011
929
|
apiId: string | undefined;
|
|
2012
930
|
}
|
|
2013
931
|
export declare namespace GetApiCacheRequest {
|
|
2014
|
-
|
|
2015
|
-
* @internal
|
|
2016
|
-
*/
|
|
932
|
+
|
|
2017
933
|
const filterSensitiveLog: (obj: GetApiCacheRequest) => any;
|
|
2018
934
|
}
|
|
2019
|
-
|
|
2020
|
-
* <p>Represents the output of a <code>GetApiCache</code> operation.</p>
|
|
2021
|
-
*/
|
|
935
|
+
|
|
2022
936
|
export interface GetApiCacheResponse {
|
|
2023
|
-
|
|
2024
|
-
* <p>The <code>ApiCache</code> object.</p>
|
|
2025
|
-
*/
|
|
937
|
+
|
|
2026
938
|
apiCache?: ApiCache;
|
|
2027
939
|
}
|
|
2028
940
|
export declare namespace GetApiCacheResponse {
|
|
2029
|
-
|
|
2030
|
-
* @internal
|
|
2031
|
-
*/
|
|
941
|
+
|
|
2032
942
|
const filterSensitiveLog: (obj: GetApiCacheResponse) => any;
|
|
2033
943
|
}
|
|
2034
944
|
export interface GetDataSourceRequest {
|
|
2035
|
-
|
|
2036
|
-
* <p>The API ID.</p>
|
|
2037
|
-
*/
|
|
945
|
+
|
|
2038
946
|
apiId: string | undefined;
|
|
2039
|
-
|
|
2040
|
-
* <p>The name of the data source.</p>
|
|
2041
|
-
*/
|
|
947
|
+
|
|
2042
948
|
name: string | undefined;
|
|
2043
949
|
}
|
|
2044
950
|
export declare namespace GetDataSourceRequest {
|
|
2045
|
-
|
|
2046
|
-
* @internal
|
|
2047
|
-
*/
|
|
951
|
+
|
|
2048
952
|
const filterSensitiveLog: (obj: GetDataSourceRequest) => any;
|
|
2049
953
|
}
|
|
2050
954
|
export interface GetDataSourceResponse {
|
|
2051
|
-
|
|
2052
|
-
* <p>The <code>DataSource</code> object.</p>
|
|
2053
|
-
*/
|
|
955
|
+
|
|
2054
956
|
dataSource?: DataSource;
|
|
2055
957
|
}
|
|
2056
958
|
export declare namespace GetDataSourceResponse {
|
|
2057
|
-
|
|
2058
|
-
* @internal
|
|
2059
|
-
*/
|
|
959
|
+
|
|
2060
960
|
const filterSensitiveLog: (obj: GetDataSourceResponse) => any;
|
|
2061
961
|
}
|
|
2062
962
|
export interface GetFunctionRequest {
|
|
2063
|
-
|
|
2064
|
-
* <p>The GraphQL API ID.</p>
|
|
2065
|
-
*/
|
|
963
|
+
|
|
2066
964
|
apiId: string | undefined;
|
|
2067
|
-
|
|
2068
|
-
* <p>The <code>Function</code> ID.</p>
|
|
2069
|
-
*/
|
|
965
|
+
|
|
2070
966
|
functionId: string | undefined;
|
|
2071
967
|
}
|
|
2072
968
|
export declare namespace GetFunctionRequest {
|
|
2073
|
-
|
|
2074
|
-
* @internal
|
|
2075
|
-
*/
|
|
969
|
+
|
|
2076
970
|
const filterSensitiveLog: (obj: GetFunctionRequest) => any;
|
|
2077
971
|
}
|
|
2078
972
|
export interface GetFunctionResponse {
|
|
2079
|
-
|
|
2080
|
-
* <p>The <code>Function</code> object.</p>
|
|
2081
|
-
*/
|
|
973
|
+
|
|
2082
974
|
functionConfiguration?: FunctionConfiguration;
|
|
2083
975
|
}
|
|
2084
976
|
export declare namespace GetFunctionResponse {
|
|
2085
|
-
|
|
2086
|
-
* @internal
|
|
2087
|
-
*/
|
|
977
|
+
|
|
2088
978
|
const filterSensitiveLog: (obj: GetFunctionResponse) => any;
|
|
2089
979
|
}
|
|
2090
980
|
export interface GetGraphqlApiRequest {
|
|
2091
|
-
|
|
2092
|
-
* <p>The API ID for the GraphQL API.</p>
|
|
2093
|
-
*/
|
|
981
|
+
|
|
2094
982
|
apiId: string | undefined;
|
|
2095
983
|
}
|
|
2096
984
|
export declare namespace GetGraphqlApiRequest {
|
|
2097
|
-
|
|
2098
|
-
* @internal
|
|
2099
|
-
*/
|
|
985
|
+
|
|
2100
986
|
const filterSensitiveLog: (obj: GetGraphqlApiRequest) => any;
|
|
2101
987
|
}
|
|
2102
988
|
export interface GetGraphqlApiResponse {
|
|
2103
|
-
|
|
2104
|
-
* <p>The <code>GraphqlApi</code> object.</p>
|
|
2105
|
-
*/
|
|
989
|
+
|
|
2106
990
|
graphqlApi?: GraphqlApi;
|
|
2107
991
|
}
|
|
2108
992
|
export declare namespace GetGraphqlApiResponse {
|
|
2109
|
-
|
|
2110
|
-
* @internal
|
|
2111
|
-
*/
|
|
993
|
+
|
|
2112
994
|
const filterSensitiveLog: (obj: GetGraphqlApiResponse) => any;
|
|
2113
995
|
}
|
|
2114
996
|
export declare enum OutputType {
|
|
@@ -2116,95 +998,61 @@ export declare enum OutputType {
|
|
|
2116
998
|
SDL = "SDL"
|
|
2117
999
|
}
|
|
2118
1000
|
export interface GetIntrospectionSchemaRequest {
|
|
2119
|
-
|
|
2120
|
-
* <p>The API ID.</p>
|
|
2121
|
-
*/
|
|
1001
|
+
|
|
2122
1002
|
apiId: string | undefined;
|
|
2123
|
-
|
|
2124
|
-
* <p>The schema format: SDL or JSON.</p>
|
|
2125
|
-
*/
|
|
1003
|
+
|
|
2126
1004
|
format: OutputType | string | undefined;
|
|
2127
|
-
|
|
2128
|
-
* <p>A flag that specifies whether the schema introspection should contain directives.</p>
|
|
2129
|
-
*/
|
|
1005
|
+
|
|
2130
1006
|
includeDirectives?: boolean;
|
|
2131
1007
|
}
|
|
2132
1008
|
export declare namespace GetIntrospectionSchemaRequest {
|
|
2133
|
-
|
|
2134
|
-
* @internal
|
|
2135
|
-
*/
|
|
1009
|
+
|
|
2136
1010
|
const filterSensitiveLog: (obj: GetIntrospectionSchemaRequest) => any;
|
|
2137
1011
|
}
|
|
2138
1012
|
export interface GetIntrospectionSchemaResponse {
|
|
2139
|
-
|
|
2140
|
-
* <p>The schema, in GraphQL Schema Definition Language (SDL) format.</p>
|
|
2141
|
-
* <p>For more information, see the <a href="http://graphql.org/learn/schema/">GraphQL SDL
|
|
2142
|
-
* documentation</a>.</p>
|
|
2143
|
-
*/
|
|
1013
|
+
|
|
2144
1014
|
schema?: Uint8Array;
|
|
2145
1015
|
}
|
|
2146
1016
|
export declare namespace GetIntrospectionSchemaResponse {
|
|
2147
|
-
|
|
2148
|
-
* @internal
|
|
2149
|
-
*/
|
|
1017
|
+
|
|
2150
1018
|
const filterSensitiveLog: (obj: GetIntrospectionSchemaResponse) => any;
|
|
2151
1019
|
}
|
|
2152
|
-
|
|
2153
|
-
* <p>The GraphQL schema is not valid.</p>
|
|
2154
|
-
*/
|
|
1020
|
+
|
|
2155
1021
|
export interface GraphQLSchemaException extends __SmithyException, $MetadataBearer {
|
|
2156
1022
|
name: "GraphQLSchemaException";
|
|
2157
1023
|
$fault: "client";
|
|
2158
1024
|
message?: string;
|
|
2159
1025
|
}
|
|
2160
1026
|
export declare namespace GraphQLSchemaException {
|
|
2161
|
-
|
|
2162
|
-
* @internal
|
|
2163
|
-
*/
|
|
1027
|
+
|
|
2164
1028
|
const filterSensitiveLog: (obj: GraphQLSchemaException) => any;
|
|
2165
1029
|
}
|
|
2166
1030
|
export interface GetResolverRequest {
|
|
2167
|
-
|
|
2168
|
-
* <p>The API ID.</p>
|
|
2169
|
-
*/
|
|
1031
|
+
|
|
2170
1032
|
apiId: string | undefined;
|
|
2171
|
-
|
|
2172
|
-
* <p>The resolver type name.</p>
|
|
2173
|
-
*/
|
|
1033
|
+
|
|
2174
1034
|
typeName: string | undefined;
|
|
2175
|
-
|
|
2176
|
-
* <p>The resolver field name.</p>
|
|
2177
|
-
*/
|
|
1035
|
+
|
|
2178
1036
|
fieldName: string | undefined;
|
|
2179
1037
|
}
|
|
2180
1038
|
export declare namespace GetResolverRequest {
|
|
2181
|
-
|
|
2182
|
-
* @internal
|
|
2183
|
-
*/
|
|
1039
|
+
|
|
2184
1040
|
const filterSensitiveLog: (obj: GetResolverRequest) => any;
|
|
2185
1041
|
}
|
|
2186
1042
|
export interface GetResolverResponse {
|
|
2187
|
-
|
|
2188
|
-
* <p>The <code>Resolver</code> object.</p>
|
|
2189
|
-
*/
|
|
1043
|
+
|
|
2190
1044
|
resolver?: Resolver;
|
|
2191
1045
|
}
|
|
2192
1046
|
export declare namespace GetResolverResponse {
|
|
2193
|
-
|
|
2194
|
-
* @internal
|
|
2195
|
-
*/
|
|
1047
|
+
|
|
2196
1048
|
const filterSensitiveLog: (obj: GetResolverResponse) => any;
|
|
2197
1049
|
}
|
|
2198
1050
|
export interface GetSchemaCreationStatusRequest {
|
|
2199
|
-
|
|
2200
|
-
* <p>The API ID.</p>
|
|
2201
|
-
*/
|
|
1051
|
+
|
|
2202
1052
|
apiId: string | undefined;
|
|
2203
1053
|
}
|
|
2204
1054
|
export declare namespace GetSchemaCreationStatusRequest {
|
|
2205
|
-
|
|
2206
|
-
* @internal
|
|
2207
|
-
*/
|
|
1055
|
+
|
|
2208
1056
|
const filterSensitiveLog: (obj: GetSchemaCreationStatusRequest) => any;
|
|
2209
1057
|
}
|
|
2210
1058
|
export declare enum SchemaStatus {
|
|
@@ -2216,896 +1064,462 @@ export declare enum SchemaStatus {
|
|
|
2216
1064
|
Success = "SUCCESS"
|
|
2217
1065
|
}
|
|
2218
1066
|
export interface GetSchemaCreationStatusResponse {
|
|
2219
|
-
|
|
2220
|
-
* <p>The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When
|
|
2221
|
-
* the schema is in the ACTIVE state, you can add data.</p>
|
|
2222
|
-
*/
|
|
1067
|
+
|
|
2223
1068
|
status?: SchemaStatus | string;
|
|
2224
|
-
|
|
2225
|
-
* <p>Detailed information about the status of the schema creation operation.</p>
|
|
2226
|
-
*/
|
|
1069
|
+
|
|
2227
1070
|
details?: string;
|
|
2228
1071
|
}
|
|
2229
1072
|
export declare namespace GetSchemaCreationStatusResponse {
|
|
2230
|
-
|
|
2231
|
-
* @internal
|
|
2232
|
-
*/
|
|
1073
|
+
|
|
2233
1074
|
const filterSensitiveLog: (obj: GetSchemaCreationStatusResponse) => any;
|
|
2234
1075
|
}
|
|
2235
1076
|
export interface GetTypeRequest {
|
|
2236
|
-
|
|
2237
|
-
* <p>The API ID.</p>
|
|
2238
|
-
*/
|
|
1077
|
+
|
|
2239
1078
|
apiId: string | undefined;
|
|
2240
|
-
|
|
2241
|
-
* <p>The type name.</p>
|
|
2242
|
-
*/
|
|
1079
|
+
|
|
2243
1080
|
typeName: string | undefined;
|
|
2244
|
-
|
|
2245
|
-
* <p>The type format: SDL or JSON.</p>
|
|
2246
|
-
*/
|
|
1081
|
+
|
|
2247
1082
|
format: TypeDefinitionFormat | string | undefined;
|
|
2248
1083
|
}
|
|
2249
1084
|
export declare namespace GetTypeRequest {
|
|
2250
|
-
|
|
2251
|
-
* @internal
|
|
2252
|
-
*/
|
|
1085
|
+
|
|
2253
1086
|
const filterSensitiveLog: (obj: GetTypeRequest) => any;
|
|
2254
1087
|
}
|
|
2255
1088
|
export interface GetTypeResponse {
|
|
2256
|
-
|
|
2257
|
-
* <p>The <code>Type</code> object.</p>
|
|
2258
|
-
*/
|
|
1089
|
+
|
|
2259
1090
|
type?: Type;
|
|
2260
1091
|
}
|
|
2261
1092
|
export declare namespace GetTypeResponse {
|
|
2262
|
-
|
|
2263
|
-
* @internal
|
|
2264
|
-
*/
|
|
1093
|
+
|
|
2265
1094
|
const filterSensitiveLog: (obj: GetTypeResponse) => any;
|
|
2266
1095
|
}
|
|
2267
1096
|
export interface ListApiKeysRequest {
|
|
2268
|
-
|
|
2269
|
-
* <p>The API ID.</p>
|
|
2270
|
-
*/
|
|
1097
|
+
|
|
2271
1098
|
apiId: string | undefined;
|
|
2272
|
-
|
|
2273
|
-
* <p>An identifier that was returned from the previous call to this operation, which can be
|
|
2274
|
-
* used to return the next set of items in the list.</p>
|
|
2275
|
-
*/
|
|
1099
|
+
|
|
2276
1100
|
nextToken?: string;
|
|
2277
|
-
|
|
2278
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2279
|
-
*/
|
|
1101
|
+
|
|
2280
1102
|
maxResults?: number;
|
|
2281
1103
|
}
|
|
2282
1104
|
export declare namespace ListApiKeysRequest {
|
|
2283
|
-
|
|
2284
|
-
* @internal
|
|
2285
|
-
*/
|
|
1105
|
+
|
|
2286
1106
|
const filterSensitiveLog: (obj: ListApiKeysRequest) => any;
|
|
2287
1107
|
}
|
|
2288
1108
|
export interface ListApiKeysResponse {
|
|
2289
|
-
|
|
2290
|
-
* <p>The <code>ApiKey</code> objects.</p>
|
|
2291
|
-
*/
|
|
1109
|
+
|
|
2292
1110
|
apiKeys?: ApiKey[];
|
|
2293
|
-
|
|
2294
|
-
* <p>An identifier to be passed in the next request to this operation to return the next set
|
|
2295
|
-
* of items in the list.</p>
|
|
2296
|
-
*/
|
|
1111
|
+
|
|
2297
1112
|
nextToken?: string;
|
|
2298
1113
|
}
|
|
2299
1114
|
export declare namespace ListApiKeysResponse {
|
|
2300
|
-
|
|
2301
|
-
* @internal
|
|
2302
|
-
*/
|
|
1115
|
+
|
|
2303
1116
|
const filterSensitiveLog: (obj: ListApiKeysResponse) => any;
|
|
2304
1117
|
}
|
|
2305
1118
|
export interface ListDataSourcesRequest {
|
|
2306
|
-
|
|
2307
|
-
* <p>The API ID.</p>
|
|
2308
|
-
*/
|
|
1119
|
+
|
|
2309
1120
|
apiId: string | undefined;
|
|
2310
|
-
|
|
2311
|
-
* <p>An identifier that was returned from the previous call to this operation, which can be
|
|
2312
|
-
* used to return the next set of items in the list. </p>
|
|
2313
|
-
*/
|
|
1121
|
+
|
|
2314
1122
|
nextToken?: string;
|
|
2315
|
-
|
|
2316
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2317
|
-
*/
|
|
1123
|
+
|
|
2318
1124
|
maxResults?: number;
|
|
2319
1125
|
}
|
|
2320
1126
|
export declare namespace ListDataSourcesRequest {
|
|
2321
|
-
|
|
2322
|
-
* @internal
|
|
2323
|
-
*/
|
|
1127
|
+
|
|
2324
1128
|
const filterSensitiveLog: (obj: ListDataSourcesRequest) => any;
|
|
2325
1129
|
}
|
|
2326
1130
|
export interface ListDataSourcesResponse {
|
|
2327
|
-
|
|
2328
|
-
* <p>The <code>DataSource</code> objects.</p>
|
|
2329
|
-
*/
|
|
1131
|
+
|
|
2330
1132
|
dataSources?: DataSource[];
|
|
2331
|
-
|
|
2332
|
-
* <p>An identifier to be passed in the next request to this operation to return the next set
|
|
2333
|
-
* of items in the list.</p>
|
|
2334
|
-
*/
|
|
1133
|
+
|
|
2335
1134
|
nextToken?: string;
|
|
2336
1135
|
}
|
|
2337
1136
|
export declare namespace ListDataSourcesResponse {
|
|
2338
|
-
|
|
2339
|
-
* @internal
|
|
2340
|
-
*/
|
|
1137
|
+
|
|
2341
1138
|
const filterSensitiveLog: (obj: ListDataSourcesResponse) => any;
|
|
2342
1139
|
}
|
|
2343
1140
|
export interface ListFunctionsRequest {
|
|
2344
|
-
|
|
2345
|
-
* <p>The GraphQL API ID.</p>
|
|
2346
|
-
*/
|
|
1141
|
+
|
|
2347
1142
|
apiId: string | undefined;
|
|
2348
|
-
|
|
2349
|
-
* <p>An identifier that was returned from the previous call to this operation, which can be
|
|
2350
|
-
* used to return the next set of items in the list.</p>
|
|
2351
|
-
*/
|
|
1143
|
+
|
|
2352
1144
|
nextToken?: string;
|
|
2353
|
-
|
|
2354
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2355
|
-
*/
|
|
1145
|
+
|
|
2356
1146
|
maxResults?: number;
|
|
2357
1147
|
}
|
|
2358
1148
|
export declare namespace ListFunctionsRequest {
|
|
2359
|
-
|
|
2360
|
-
* @internal
|
|
2361
|
-
*/
|
|
1149
|
+
|
|
2362
1150
|
const filterSensitiveLog: (obj: ListFunctionsRequest) => any;
|
|
2363
1151
|
}
|
|
2364
1152
|
export interface ListFunctionsResponse {
|
|
2365
|
-
|
|
2366
|
-
* <p>A list of <code>Function</code> objects.</p>
|
|
2367
|
-
*/
|
|
1153
|
+
|
|
2368
1154
|
functions?: FunctionConfiguration[];
|
|
2369
|
-
|
|
2370
|
-
* <p>An identifier that was returned from the previous call to this operation, which can be
|
|
2371
|
-
* used to return the next set of items in the list.</p>
|
|
2372
|
-
*/
|
|
1155
|
+
|
|
2373
1156
|
nextToken?: string;
|
|
2374
1157
|
}
|
|
2375
1158
|
export declare namespace ListFunctionsResponse {
|
|
2376
|
-
|
|
2377
|
-
* @internal
|
|
2378
|
-
*/
|
|
1159
|
+
|
|
2379
1160
|
const filterSensitiveLog: (obj: ListFunctionsResponse) => any;
|
|
2380
1161
|
}
|
|
2381
1162
|
export interface ListGraphqlApisRequest {
|
|
2382
|
-
|
|
2383
|
-
* <p>An identifier that was returned from the previous call to this operation, which can be
|
|
2384
|
-
* used to return the next set of items in the list. </p>
|
|
2385
|
-
*/
|
|
1163
|
+
|
|
2386
1164
|
nextToken?: string;
|
|
2387
|
-
|
|
2388
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2389
|
-
*/
|
|
1165
|
+
|
|
2390
1166
|
maxResults?: number;
|
|
2391
1167
|
}
|
|
2392
1168
|
export declare namespace ListGraphqlApisRequest {
|
|
2393
|
-
|
|
2394
|
-
* @internal
|
|
2395
|
-
*/
|
|
1169
|
+
|
|
2396
1170
|
const filterSensitiveLog: (obj: ListGraphqlApisRequest) => any;
|
|
2397
1171
|
}
|
|
2398
1172
|
export interface ListGraphqlApisResponse {
|
|
2399
|
-
|
|
2400
|
-
* <p>The <code>GraphqlApi</code> objects.</p>
|
|
2401
|
-
*/
|
|
1173
|
+
|
|
2402
1174
|
graphqlApis?: GraphqlApi[];
|
|
2403
|
-
|
|
2404
|
-
* <p>An identifier to be passed in the next request to this operation to return the next set
|
|
2405
|
-
* of items in the list.</p>
|
|
2406
|
-
*/
|
|
1175
|
+
|
|
2407
1176
|
nextToken?: string;
|
|
2408
1177
|
}
|
|
2409
1178
|
export declare namespace ListGraphqlApisResponse {
|
|
2410
|
-
|
|
2411
|
-
* @internal
|
|
2412
|
-
*/
|
|
1179
|
+
|
|
2413
1180
|
const filterSensitiveLog: (obj: ListGraphqlApisResponse) => any;
|
|
2414
1181
|
}
|
|
2415
1182
|
export interface ListResolversRequest {
|
|
2416
|
-
|
|
2417
|
-
* <p>The API ID.</p>
|
|
2418
|
-
*/
|
|
1183
|
+
|
|
2419
1184
|
apiId: string | undefined;
|
|
2420
|
-
|
|
2421
|
-
* <p>The type name.</p>
|
|
2422
|
-
*/
|
|
1185
|
+
|
|
2423
1186
|
typeName: string | undefined;
|
|
2424
|
-
|
|
2425
|
-
* <p>An identifier that was returned from the previous call to this operation, which can be
|
|
2426
|
-
* used to return the next set of items in the list. </p>
|
|
2427
|
-
*/
|
|
1187
|
+
|
|
2428
1188
|
nextToken?: string;
|
|
2429
|
-
|
|
2430
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2431
|
-
*/
|
|
1189
|
+
|
|
2432
1190
|
maxResults?: number;
|
|
2433
1191
|
}
|
|
2434
1192
|
export declare namespace ListResolversRequest {
|
|
2435
|
-
|
|
2436
|
-
* @internal
|
|
2437
|
-
*/
|
|
1193
|
+
|
|
2438
1194
|
const filterSensitiveLog: (obj: ListResolversRequest) => any;
|
|
2439
1195
|
}
|
|
2440
1196
|
export interface ListResolversResponse {
|
|
2441
|
-
|
|
2442
|
-
* <p>The <code>Resolver</code> objects.</p>
|
|
2443
|
-
*/
|
|
1197
|
+
|
|
2444
1198
|
resolvers?: Resolver[];
|
|
2445
|
-
|
|
2446
|
-
* <p>An identifier to be passed in the next request to this operation to return the next set
|
|
2447
|
-
* of items in the list.</p>
|
|
2448
|
-
*/
|
|
1199
|
+
|
|
2449
1200
|
nextToken?: string;
|
|
2450
1201
|
}
|
|
2451
1202
|
export declare namespace ListResolversResponse {
|
|
2452
|
-
|
|
2453
|
-
* @internal
|
|
2454
|
-
*/
|
|
1203
|
+
|
|
2455
1204
|
const filterSensitiveLog: (obj: ListResolversResponse) => any;
|
|
2456
1205
|
}
|
|
2457
1206
|
export interface ListResolversByFunctionRequest {
|
|
2458
|
-
|
|
2459
|
-
* <p>The API ID.</p>
|
|
2460
|
-
*/
|
|
1207
|
+
|
|
2461
1208
|
apiId: string | undefined;
|
|
2462
|
-
|
|
2463
|
-
* <p>The Function ID.</p>
|
|
2464
|
-
*/
|
|
1209
|
+
|
|
2465
1210
|
functionId: string | undefined;
|
|
2466
|
-
|
|
2467
|
-
* <p>An identifier that was returned from the previous call to this operation, which you can
|
|
2468
|
-
* use to return the next set of items in the list.</p>
|
|
2469
|
-
*/
|
|
1211
|
+
|
|
2470
1212
|
nextToken?: string;
|
|
2471
|
-
|
|
2472
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2473
|
-
*/
|
|
1213
|
+
|
|
2474
1214
|
maxResults?: number;
|
|
2475
1215
|
}
|
|
2476
1216
|
export declare namespace ListResolversByFunctionRequest {
|
|
2477
|
-
|
|
2478
|
-
* @internal
|
|
2479
|
-
*/
|
|
1217
|
+
|
|
2480
1218
|
const filterSensitiveLog: (obj: ListResolversByFunctionRequest) => any;
|
|
2481
1219
|
}
|
|
2482
1220
|
export interface ListResolversByFunctionResponse {
|
|
2483
|
-
|
|
2484
|
-
* <p>The list of resolvers.</p>
|
|
2485
|
-
*/
|
|
1221
|
+
|
|
2486
1222
|
resolvers?: Resolver[];
|
|
2487
|
-
|
|
2488
|
-
* <p>An identifier that can be used to return the next set of items in the list.</p>
|
|
2489
|
-
*/
|
|
1223
|
+
|
|
2490
1224
|
nextToken?: string;
|
|
2491
1225
|
}
|
|
2492
1226
|
export declare namespace ListResolversByFunctionResponse {
|
|
2493
|
-
|
|
2494
|
-
* @internal
|
|
2495
|
-
*/
|
|
1227
|
+
|
|
2496
1228
|
const filterSensitiveLog: (obj: ListResolversByFunctionResponse) => any;
|
|
2497
1229
|
}
|
|
2498
1230
|
export interface ListTagsForResourceRequest {
|
|
2499
|
-
|
|
2500
|
-
* <p>The <code>GraphqlApi</code> ARN.</p>
|
|
2501
|
-
*/
|
|
1231
|
+
|
|
2502
1232
|
resourceArn: string | undefined;
|
|
2503
1233
|
}
|
|
2504
1234
|
export declare namespace ListTagsForResourceRequest {
|
|
2505
|
-
|
|
2506
|
-
* @internal
|
|
2507
|
-
*/
|
|
1235
|
+
|
|
2508
1236
|
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
2509
1237
|
}
|
|
2510
1238
|
export interface ListTagsForResourceResponse {
|
|
2511
|
-
|
|
2512
|
-
* <p>A <code>TagMap</code> object.</p>
|
|
2513
|
-
*/
|
|
1239
|
+
|
|
2514
1240
|
tags?: {
|
|
2515
1241
|
[key: string]: string;
|
|
2516
1242
|
};
|
|
2517
1243
|
}
|
|
2518
1244
|
export declare namespace ListTagsForResourceResponse {
|
|
2519
|
-
|
|
2520
|
-
* @internal
|
|
2521
|
-
*/
|
|
1245
|
+
|
|
2522
1246
|
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
2523
1247
|
}
|
|
2524
1248
|
export interface ListTypesRequest {
|
|
2525
|
-
|
|
2526
|
-
* <p>The API ID.</p>
|
|
2527
|
-
*/
|
|
1249
|
+
|
|
2528
1250
|
apiId: string | undefined;
|
|
2529
|
-
|
|
2530
|
-
* <p>The type format: SDL or JSON.</p>
|
|
2531
|
-
*/
|
|
1251
|
+
|
|
2532
1252
|
format: TypeDefinitionFormat | string | undefined;
|
|
2533
|
-
|
|
2534
|
-
* <p>An identifier that was returned from the previous call to this operation, which can be
|
|
2535
|
-
* used to return the next set of items in the list. </p>
|
|
2536
|
-
*/
|
|
1253
|
+
|
|
2537
1254
|
nextToken?: string;
|
|
2538
|
-
|
|
2539
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2540
|
-
*/
|
|
1255
|
+
|
|
2541
1256
|
maxResults?: number;
|
|
2542
1257
|
}
|
|
2543
1258
|
export declare namespace ListTypesRequest {
|
|
2544
|
-
|
|
2545
|
-
* @internal
|
|
2546
|
-
*/
|
|
1259
|
+
|
|
2547
1260
|
const filterSensitiveLog: (obj: ListTypesRequest) => any;
|
|
2548
1261
|
}
|
|
2549
1262
|
export interface ListTypesResponse {
|
|
2550
|
-
|
|
2551
|
-
* <p>The <code>Type</code> objects.</p>
|
|
2552
|
-
*/
|
|
1263
|
+
|
|
2553
1264
|
types?: Type[];
|
|
2554
|
-
|
|
2555
|
-
* <p>An identifier to be passed in the next request to this operation to return the next set
|
|
2556
|
-
* of items in the list.</p>
|
|
2557
|
-
*/
|
|
1265
|
+
|
|
2558
1266
|
nextToken?: string;
|
|
2559
1267
|
}
|
|
2560
1268
|
export declare namespace ListTypesResponse {
|
|
2561
|
-
|
|
2562
|
-
* @internal
|
|
2563
|
-
*/
|
|
1269
|
+
|
|
2564
1270
|
const filterSensitiveLog: (obj: ListTypesResponse) => any;
|
|
2565
1271
|
}
|
|
2566
1272
|
export interface StartSchemaCreationRequest {
|
|
2567
|
-
|
|
2568
|
-
* <p>The API ID.</p>
|
|
2569
|
-
*/
|
|
1273
|
+
|
|
2570
1274
|
apiId: string | undefined;
|
|
2571
|
-
|
|
2572
|
-
* <p>The schema definition, in GraphQL schema language format.</p>
|
|
2573
|
-
*/
|
|
1275
|
+
|
|
2574
1276
|
definition: Uint8Array | undefined;
|
|
2575
1277
|
}
|
|
2576
1278
|
export declare namespace StartSchemaCreationRequest {
|
|
2577
|
-
|
|
2578
|
-
* @internal
|
|
2579
|
-
*/
|
|
1279
|
+
|
|
2580
1280
|
const filterSensitiveLog: (obj: StartSchemaCreationRequest) => any;
|
|
2581
1281
|
}
|
|
2582
1282
|
export interface StartSchemaCreationResponse {
|
|
2583
|
-
|
|
2584
|
-
* <p>The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When
|
|
2585
|
-
* the schema is in the ACTIVE state, you can add data.</p>
|
|
2586
|
-
*/
|
|
1283
|
+
|
|
2587
1284
|
status?: SchemaStatus | string;
|
|
2588
1285
|
}
|
|
2589
1286
|
export declare namespace StartSchemaCreationResponse {
|
|
2590
|
-
|
|
2591
|
-
* @internal
|
|
2592
|
-
*/
|
|
1287
|
+
|
|
2593
1288
|
const filterSensitiveLog: (obj: StartSchemaCreationResponse) => any;
|
|
2594
1289
|
}
|
|
2595
1290
|
export interface TagResourceRequest {
|
|
2596
|
-
|
|
2597
|
-
* <p>The <code>GraphqlApi</code> ARN.</p>
|
|
2598
|
-
*/
|
|
1291
|
+
|
|
2599
1292
|
resourceArn: string | undefined;
|
|
2600
|
-
|
|
2601
|
-
* <p>A <code>TagMap</code> object.</p>
|
|
2602
|
-
*/
|
|
1293
|
+
|
|
2603
1294
|
tags: {
|
|
2604
1295
|
[key: string]: string;
|
|
2605
1296
|
} | undefined;
|
|
2606
1297
|
}
|
|
2607
1298
|
export declare namespace TagResourceRequest {
|
|
2608
|
-
|
|
2609
|
-
* @internal
|
|
2610
|
-
*/
|
|
1299
|
+
|
|
2611
1300
|
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
2612
1301
|
}
|
|
2613
1302
|
export interface TagResourceResponse {
|
|
2614
1303
|
}
|
|
2615
1304
|
export declare namespace TagResourceResponse {
|
|
2616
|
-
|
|
2617
|
-
* @internal
|
|
2618
|
-
*/
|
|
1305
|
+
|
|
2619
1306
|
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
2620
1307
|
}
|
|
2621
1308
|
export interface UntagResourceRequest {
|
|
2622
|
-
|
|
2623
|
-
* <p>The <code>GraphqlApi</code> ARN.</p>
|
|
2624
|
-
*/
|
|
1309
|
+
|
|
2625
1310
|
resourceArn: string | undefined;
|
|
2626
|
-
|
|
2627
|
-
* <p>A list of <code>TagKey</code> objects.</p>
|
|
2628
|
-
*/
|
|
1311
|
+
|
|
2629
1312
|
tagKeys: string[] | undefined;
|
|
2630
1313
|
}
|
|
2631
1314
|
export declare namespace UntagResourceRequest {
|
|
2632
|
-
|
|
2633
|
-
* @internal
|
|
2634
|
-
*/
|
|
1315
|
+
|
|
2635
1316
|
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
2636
1317
|
}
|
|
2637
1318
|
export interface UntagResourceResponse {
|
|
2638
1319
|
}
|
|
2639
1320
|
export declare namespace UntagResourceResponse {
|
|
2640
|
-
|
|
2641
|
-
* @internal
|
|
2642
|
-
*/
|
|
1321
|
+
|
|
2643
1322
|
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
2644
1323
|
}
|
|
2645
|
-
|
|
2646
|
-
* <p>Represents the input of a <code>UpdateApiCache</code> operation.</p>
|
|
2647
|
-
*/
|
|
1324
|
+
|
|
2648
1325
|
export interface UpdateApiCacheRequest {
|
|
2649
|
-
|
|
2650
|
-
* <p>The GraphQL API Id.</p>
|
|
2651
|
-
*/
|
|
1326
|
+
|
|
2652
1327
|
apiId: string | undefined;
|
|
2653
|
-
|
|
2654
|
-
* <p>TTL in seconds for cache entries.</p>
|
|
2655
|
-
* <p>Valid values are between 1 and 3600 seconds.</p>
|
|
2656
|
-
*/
|
|
1328
|
+
|
|
2657
1329
|
ttl: number | undefined;
|
|
2658
|
-
|
|
2659
|
-
* <p>Caching behavior.</p>
|
|
2660
|
-
* <ul>
|
|
2661
|
-
* <li>
|
|
2662
|
-
* <p>
|
|
2663
|
-
* <b>FULL_REQUEST_CACHING</b>: All requests are fully
|
|
2664
|
-
* cached.</p>
|
|
2665
|
-
* </li>
|
|
2666
|
-
* <li>
|
|
2667
|
-
* <p>
|
|
2668
|
-
* <b>PER_RESOLVER_CACHING</b>: Individual resolvers
|
|
2669
|
-
* that you specify are cached.</p>
|
|
2670
|
-
* </li>
|
|
2671
|
-
* </ul>
|
|
2672
|
-
*/
|
|
1330
|
+
|
|
2673
1331
|
apiCachingBehavior: ApiCachingBehavior | string | undefined;
|
|
2674
|
-
|
|
2675
|
-
* <p>The cache instance type. Valid values are </p>
|
|
2676
|
-
* <ul>
|
|
2677
|
-
* <li>
|
|
2678
|
-
* <p>
|
|
2679
|
-
* <code>SMALL</code>
|
|
2680
|
-
* </p>
|
|
2681
|
-
* </li>
|
|
2682
|
-
* <li>
|
|
2683
|
-
* <p>
|
|
2684
|
-
* <code>MEDIUM</code>
|
|
2685
|
-
* </p>
|
|
2686
|
-
* </li>
|
|
2687
|
-
* <li>
|
|
2688
|
-
* <p>
|
|
2689
|
-
* <code>LARGE</code>
|
|
2690
|
-
* </p>
|
|
2691
|
-
* </li>
|
|
2692
|
-
* <li>
|
|
2693
|
-
* <p>
|
|
2694
|
-
* <code>XLARGE</code>
|
|
2695
|
-
* </p>
|
|
2696
|
-
* </li>
|
|
2697
|
-
* <li>
|
|
2698
|
-
* <p>
|
|
2699
|
-
* <code>LARGE_2X</code>
|
|
2700
|
-
* </p>
|
|
2701
|
-
* </li>
|
|
2702
|
-
* <li>
|
|
2703
|
-
* <p>
|
|
2704
|
-
* <code>LARGE_4X</code>
|
|
2705
|
-
* </p>
|
|
2706
|
-
* </li>
|
|
2707
|
-
* <li>
|
|
2708
|
-
* <p>
|
|
2709
|
-
* <code>LARGE_8X</code> (not available in all regions)</p>
|
|
2710
|
-
* </li>
|
|
2711
|
-
* <li>
|
|
2712
|
-
* <p>
|
|
2713
|
-
* <code>LARGE_12X</code>
|
|
2714
|
-
* </p>
|
|
2715
|
-
* </li>
|
|
2716
|
-
* </ul>
|
|
2717
|
-
* <p>Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.</p>
|
|
2718
|
-
* <p>The following legacy instance types are available, but their use is discouraged:</p>
|
|
2719
|
-
* <ul>
|
|
2720
|
-
* <li>
|
|
2721
|
-
* <p>
|
|
2722
|
-
* <b>T2_SMALL</b>: A t2.small instance type.</p>
|
|
2723
|
-
* </li>
|
|
2724
|
-
* <li>
|
|
2725
|
-
* <p>
|
|
2726
|
-
* <b>T2_MEDIUM</b>: A t2.medium instance type.</p>
|
|
2727
|
-
* </li>
|
|
2728
|
-
* <li>
|
|
2729
|
-
* <p>
|
|
2730
|
-
* <b>R4_LARGE</b>: A r4.large instance type.</p>
|
|
2731
|
-
* </li>
|
|
2732
|
-
* <li>
|
|
2733
|
-
* <p>
|
|
2734
|
-
* <b>R4_XLARGE</b>: A r4.xlarge instance type.</p>
|
|
2735
|
-
* </li>
|
|
2736
|
-
* <li>
|
|
2737
|
-
* <p>
|
|
2738
|
-
* <b>R4_2XLARGE</b>: A r4.2xlarge instance type.</p>
|
|
2739
|
-
* </li>
|
|
2740
|
-
* <li>
|
|
2741
|
-
* <p>
|
|
2742
|
-
* <b>R4_4XLARGE</b>: A r4.4xlarge instance type.</p>
|
|
2743
|
-
* </li>
|
|
2744
|
-
* <li>
|
|
2745
|
-
* <p>
|
|
2746
|
-
* <b>R4_8XLARGE</b>: A r4.8xlarge instance type.</p>
|
|
2747
|
-
* </li>
|
|
2748
|
-
* </ul>
|
|
2749
|
-
*/
|
|
1332
|
+
|
|
2750
1333
|
type: ApiCacheType | string | undefined;
|
|
2751
1334
|
}
|
|
2752
1335
|
export declare namespace UpdateApiCacheRequest {
|
|
2753
|
-
|
|
2754
|
-
* @internal
|
|
2755
|
-
*/
|
|
1336
|
+
|
|
2756
1337
|
const filterSensitiveLog: (obj: UpdateApiCacheRequest) => any;
|
|
2757
1338
|
}
|
|
2758
|
-
|
|
2759
|
-
* <p>Represents the output of a <code>UpdateApiCache</code> operation.</p>
|
|
2760
|
-
*/
|
|
1339
|
+
|
|
2761
1340
|
export interface UpdateApiCacheResponse {
|
|
2762
|
-
|
|
2763
|
-
* <p>The <code>ApiCache</code> object.</p>
|
|
2764
|
-
*/
|
|
1341
|
+
|
|
2765
1342
|
apiCache?: ApiCache;
|
|
2766
1343
|
}
|
|
2767
1344
|
export declare namespace UpdateApiCacheResponse {
|
|
2768
|
-
|
|
2769
|
-
* @internal
|
|
2770
|
-
*/
|
|
1345
|
+
|
|
2771
1346
|
const filterSensitiveLog: (obj: UpdateApiCacheResponse) => any;
|
|
2772
1347
|
}
|
|
2773
1348
|
export interface UpdateApiKeyRequest {
|
|
2774
|
-
|
|
2775
|
-
* <p>The ID for the GraphQL API.</p>
|
|
2776
|
-
*/
|
|
1349
|
+
|
|
2777
1350
|
apiId: string | undefined;
|
|
2778
|
-
|
|
2779
|
-
* <p>The API key ID.</p>
|
|
2780
|
-
*/
|
|
1351
|
+
|
|
2781
1352
|
id: string | undefined;
|
|
2782
|
-
|
|
2783
|
-
* <p>A description of the purpose of the API key.</p>
|
|
2784
|
-
*/
|
|
1353
|
+
|
|
2785
1354
|
description?: string;
|
|
2786
|
-
|
|
2787
|
-
* <p>The time from update time after which the API key expires. The date is represented as
|
|
2788
|
-
* seconds since the epoch. For more information, see .</p>
|
|
2789
|
-
*/
|
|
1355
|
+
|
|
2790
1356
|
expires?: number;
|
|
2791
1357
|
}
|
|
2792
1358
|
export declare namespace UpdateApiKeyRequest {
|
|
2793
|
-
|
|
2794
|
-
* @internal
|
|
2795
|
-
*/
|
|
1359
|
+
|
|
2796
1360
|
const filterSensitiveLog: (obj: UpdateApiKeyRequest) => any;
|
|
2797
1361
|
}
|
|
2798
1362
|
export interface UpdateApiKeyResponse {
|
|
2799
|
-
|
|
2800
|
-
* <p>The API key.</p>
|
|
2801
|
-
*/
|
|
1363
|
+
|
|
2802
1364
|
apiKey?: ApiKey;
|
|
2803
1365
|
}
|
|
2804
1366
|
export declare namespace UpdateApiKeyResponse {
|
|
2805
|
-
|
|
2806
|
-
* @internal
|
|
2807
|
-
*/
|
|
1367
|
+
|
|
2808
1368
|
const filterSensitiveLog: (obj: UpdateApiKeyResponse) => any;
|
|
2809
1369
|
}
|
|
2810
1370
|
export interface UpdateDataSourceRequest {
|
|
2811
|
-
|
|
2812
|
-
* <p>The API ID.</p>
|
|
2813
|
-
*/
|
|
1371
|
+
|
|
2814
1372
|
apiId: string | undefined;
|
|
2815
|
-
|
|
2816
|
-
* <p>The new name for the data source.</p>
|
|
2817
|
-
*/
|
|
1373
|
+
|
|
2818
1374
|
name: string | undefined;
|
|
2819
|
-
|
|
2820
|
-
* <p>The new description for the data source.</p>
|
|
2821
|
-
*/
|
|
1375
|
+
|
|
2822
1376
|
description?: string;
|
|
2823
|
-
|
|
2824
|
-
* <p>The new data source type.</p>
|
|
2825
|
-
*/
|
|
1377
|
+
|
|
2826
1378
|
type: DataSourceType | string | undefined;
|
|
2827
|
-
|
|
2828
|
-
* <p>The new service role ARN for the data source.</p>
|
|
2829
|
-
*/
|
|
1379
|
+
|
|
2830
1380
|
serviceRoleArn?: string;
|
|
2831
|
-
|
|
2832
|
-
* <p>The new Amazon DynamoDB configuration.</p>
|
|
2833
|
-
*/
|
|
1381
|
+
|
|
2834
1382
|
dynamodbConfig?: DynamodbDataSourceConfig;
|
|
2835
|
-
|
|
2836
|
-
* <p>The new Amazon Web Services Lambda configuration.</p>
|
|
2837
|
-
*/
|
|
1383
|
+
|
|
2838
1384
|
lambdaConfig?: LambdaDataSourceConfig;
|
|
2839
|
-
|
|
2840
|
-
* <p>The new OpenSearch configuration.</p>
|
|
2841
|
-
* <p>As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This
|
|
2842
|
-
* configuration is deprecated. Instead, use <a>UpdateDataSourceRequest$openSearchServiceConfig</a> to update an OpenSearch data source.</p>
|
|
2843
|
-
*/
|
|
1385
|
+
|
|
2844
1386
|
elasticsearchConfig?: ElasticsearchDataSourceConfig;
|
|
2845
|
-
|
|
2846
|
-
* <p>The new OpenSearch configuration.</p>
|
|
2847
|
-
*/
|
|
1387
|
+
|
|
2848
1388
|
openSearchServiceConfig?: OpenSearchServiceDataSourceConfig;
|
|
2849
|
-
|
|
2850
|
-
* <p>The new HTTP endpoint configuration.</p>
|
|
2851
|
-
*/
|
|
1389
|
+
|
|
2852
1390
|
httpConfig?: HttpDataSourceConfig;
|
|
2853
|
-
|
|
2854
|
-
* <p>The new relational database configuration.</p>
|
|
2855
|
-
*/
|
|
1391
|
+
|
|
2856
1392
|
relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig;
|
|
2857
1393
|
}
|
|
2858
1394
|
export declare namespace UpdateDataSourceRequest {
|
|
2859
|
-
|
|
2860
|
-
* @internal
|
|
2861
|
-
*/
|
|
1395
|
+
|
|
2862
1396
|
const filterSensitiveLog: (obj: UpdateDataSourceRequest) => any;
|
|
2863
1397
|
}
|
|
2864
1398
|
export interface UpdateDataSourceResponse {
|
|
2865
|
-
|
|
2866
|
-
* <p>The updated <code>DataSource</code> object.</p>
|
|
2867
|
-
*/
|
|
1399
|
+
|
|
2868
1400
|
dataSource?: DataSource;
|
|
2869
1401
|
}
|
|
2870
1402
|
export declare namespace UpdateDataSourceResponse {
|
|
2871
|
-
|
|
2872
|
-
* @internal
|
|
2873
|
-
*/
|
|
1403
|
+
|
|
2874
1404
|
const filterSensitiveLog: (obj: UpdateDataSourceResponse) => any;
|
|
2875
1405
|
}
|
|
2876
1406
|
export interface UpdateFunctionRequest {
|
|
2877
|
-
|
|
2878
|
-
* <p>The GraphQL API ID.</p>
|
|
2879
|
-
*/
|
|
1407
|
+
|
|
2880
1408
|
apiId: string | undefined;
|
|
2881
|
-
|
|
2882
|
-
* <p>The <code>Function</code> name.</p>
|
|
2883
|
-
*/
|
|
1409
|
+
|
|
2884
1410
|
name: string | undefined;
|
|
2885
|
-
|
|
2886
|
-
* <p>The <code>Function</code> description.</p>
|
|
2887
|
-
*/
|
|
1411
|
+
|
|
2888
1412
|
description?: string;
|
|
2889
|
-
|
|
2890
|
-
* <p>The function ID.</p>
|
|
2891
|
-
*/
|
|
1413
|
+
|
|
2892
1414
|
functionId: string | undefined;
|
|
2893
|
-
|
|
2894
|
-
* <p>The <code>Function</code>
|
|
2895
|
-
* <code>DataSource</code> name.</p>
|
|
2896
|
-
*/
|
|
1415
|
+
|
|
2897
1416
|
dataSourceName: string | undefined;
|
|
2898
|
-
|
|
2899
|
-
* <p>The <code>Function</code> request mapping template. Functions support only the
|
|
2900
|
-
* 2018-05-29 version of the request mapping template.</p>
|
|
2901
|
-
*/
|
|
1417
|
+
|
|
2902
1418
|
requestMappingTemplate?: string;
|
|
2903
|
-
|
|
2904
|
-
* <p>The <code>Function</code> request mapping template. </p>
|
|
2905
|
-
*/
|
|
1419
|
+
|
|
2906
1420
|
responseMappingTemplate?: string;
|
|
2907
|
-
|
|
2908
|
-
* <p>The <code>version</code> of the request mapping template. Currently the supported value
|
|
2909
|
-
* is 2018-05-29. </p>
|
|
2910
|
-
*/
|
|
1421
|
+
|
|
2911
1422
|
functionVersion: string | undefined;
|
|
2912
|
-
|
|
2913
|
-
* <p>Describes a Sync configuration for a resolver.</p>
|
|
2914
|
-
* <p>Contains information on which Conflict Detection as well as Resolution strategy should
|
|
2915
|
-
* be performed when the resolver is invoked.</p>
|
|
2916
|
-
*/
|
|
1423
|
+
|
|
2917
1424
|
syncConfig?: SyncConfig;
|
|
2918
1425
|
}
|
|
2919
1426
|
export declare namespace UpdateFunctionRequest {
|
|
2920
|
-
|
|
2921
|
-
* @internal
|
|
2922
|
-
*/
|
|
1427
|
+
|
|
2923
1428
|
const filterSensitiveLog: (obj: UpdateFunctionRequest) => any;
|
|
2924
1429
|
}
|
|
2925
1430
|
export interface UpdateFunctionResponse {
|
|
2926
|
-
|
|
2927
|
-
* <p>The <code>Function</code> object.</p>
|
|
2928
|
-
*/
|
|
1431
|
+
|
|
2929
1432
|
functionConfiguration?: FunctionConfiguration;
|
|
2930
1433
|
}
|
|
2931
1434
|
export declare namespace UpdateFunctionResponse {
|
|
2932
|
-
|
|
2933
|
-
* @internal
|
|
2934
|
-
*/
|
|
1435
|
+
|
|
2935
1436
|
const filterSensitiveLog: (obj: UpdateFunctionResponse) => any;
|
|
2936
1437
|
}
|
|
2937
1438
|
export interface UpdateGraphqlApiRequest {
|
|
2938
|
-
|
|
2939
|
-
* <p>The API ID.</p>
|
|
2940
|
-
*/
|
|
1439
|
+
|
|
2941
1440
|
apiId: string | undefined;
|
|
2942
|
-
|
|
2943
|
-
* <p>The new name for the <code>GraphqlApi</code> object.</p>
|
|
2944
|
-
*/
|
|
1441
|
+
|
|
2945
1442
|
name: string | undefined;
|
|
2946
|
-
|
|
2947
|
-
* <p>The Amazon CloudWatch Logs configuration for the <code>GraphqlApi</code> object.</p>
|
|
2948
|
-
*/
|
|
1443
|
+
|
|
2949
1444
|
logConfig?: LogConfig;
|
|
2950
|
-
|
|
2951
|
-
* <p>The new authentication type for the <code>GraphqlApi</code> object.</p>
|
|
2952
|
-
*/
|
|
1445
|
+
|
|
2953
1446
|
authenticationType?: AuthenticationType | string;
|
|
2954
|
-
|
|
2955
|
-
* <p>The new Amazon Cognito user pool configuration for the <code>GraphqlApi</code>
|
|
2956
|
-
* object.</p>
|
|
2957
|
-
*/
|
|
1447
|
+
|
|
2958
1448
|
userPoolConfig?: UserPoolConfig;
|
|
2959
|
-
|
|
2960
|
-
* <p>The OpenID Connect configuration for the <code>GraphqlApi</code> object.</p>
|
|
2961
|
-
*/
|
|
1449
|
+
|
|
2962
1450
|
openIDConnectConfig?: OpenIDConnectConfig;
|
|
2963
|
-
|
|
2964
|
-
* <p>A list of additional authentication providers for the <code>GraphqlApi</code>
|
|
2965
|
-
* API.</p>
|
|
2966
|
-
*/
|
|
1451
|
+
|
|
2967
1452
|
additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
|
|
2968
|
-
|
|
2969
|
-
* <p>A flag indicating whether to enable X-Ray tracing for the
|
|
2970
|
-
* <code>GraphqlApi</code>.</p>
|
|
2971
|
-
*/
|
|
1453
|
+
|
|
2972
1454
|
xrayEnabled?: boolean;
|
|
2973
|
-
|
|
2974
|
-
* <p>Configuration for Amazon Web Services Lambda function authorization.</p>
|
|
2975
|
-
*/
|
|
1455
|
+
|
|
2976
1456
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
2977
1457
|
}
|
|
2978
1458
|
export declare namespace UpdateGraphqlApiRequest {
|
|
2979
|
-
|
|
2980
|
-
* @internal
|
|
2981
|
-
*/
|
|
1459
|
+
|
|
2982
1460
|
const filterSensitiveLog: (obj: UpdateGraphqlApiRequest) => any;
|
|
2983
1461
|
}
|
|
2984
1462
|
export interface UpdateGraphqlApiResponse {
|
|
2985
|
-
|
|
2986
|
-
* <p>The updated <code>GraphqlApi</code> object.</p>
|
|
2987
|
-
*/
|
|
1463
|
+
|
|
2988
1464
|
graphqlApi?: GraphqlApi;
|
|
2989
1465
|
}
|
|
2990
1466
|
export declare namespace UpdateGraphqlApiResponse {
|
|
2991
|
-
|
|
2992
|
-
* @internal
|
|
2993
|
-
*/
|
|
1467
|
+
|
|
2994
1468
|
const filterSensitiveLog: (obj: UpdateGraphqlApiResponse) => any;
|
|
2995
1469
|
}
|
|
2996
1470
|
export interface UpdateResolverRequest {
|
|
2997
|
-
|
|
2998
|
-
* <p>The API ID.</p>
|
|
2999
|
-
*/
|
|
1471
|
+
|
|
3000
1472
|
apiId: string | undefined;
|
|
3001
|
-
|
|
3002
|
-
* <p>The new type name.</p>
|
|
3003
|
-
*/
|
|
1473
|
+
|
|
3004
1474
|
typeName: string | undefined;
|
|
3005
|
-
|
|
3006
|
-
* <p>The new field name.</p>
|
|
3007
|
-
*/
|
|
1475
|
+
|
|
3008
1476
|
fieldName: string | undefined;
|
|
3009
|
-
|
|
3010
|
-
* <p>The new data source name.</p>
|
|
3011
|
-
*/
|
|
1477
|
+
|
|
3012
1478
|
dataSourceName?: string;
|
|
3013
|
-
|
|
3014
|
-
* <p>The new request mapping template.</p>
|
|
3015
|
-
* <p>A resolver uses a request mapping template to convert a GraphQL expression into a format
|
|
3016
|
-
* that a data source can understand. Mapping templates are written in Apache Velocity
|
|
3017
|
-
* Template Language (VTL).</p>
|
|
3018
|
-
* <p>VTL request mapping templates are optional when using a Lambda data source. For all
|
|
3019
|
-
* other data sources, VTL request and response mapping templates are required.</p>
|
|
3020
|
-
*/
|
|
1479
|
+
|
|
3021
1480
|
requestMappingTemplate?: string;
|
|
3022
|
-
|
|
3023
|
-
* <p>The new response mapping template.</p>
|
|
3024
|
-
*/
|
|
1481
|
+
|
|
3025
1482
|
responseMappingTemplate?: string;
|
|
3026
|
-
|
|
3027
|
-
* <p>The resolver type.</p>
|
|
3028
|
-
* <ul>
|
|
3029
|
-
* <li>
|
|
3030
|
-
* <p>
|
|
3031
|
-
* <b>UNIT</b>: A UNIT resolver type. A UNIT resolver is
|
|
3032
|
-
* the default resolver type. A UNIT resolver enables you to execute a GraphQL query
|
|
3033
|
-
* against a single data source.</p>
|
|
3034
|
-
* </li>
|
|
3035
|
-
* <li>
|
|
3036
|
-
* <p>
|
|
3037
|
-
* <b>PIPELINE</b>: A PIPELINE resolver type. A PIPELINE
|
|
3038
|
-
* resolver enables you to execute a series of <code>Function</code> in a serial manner.
|
|
3039
|
-
* You can use a pipeline resolver to execute a GraphQL query against multiple data
|
|
3040
|
-
* sources.</p>
|
|
3041
|
-
* </li>
|
|
3042
|
-
* </ul>
|
|
3043
|
-
*/
|
|
1483
|
+
|
|
3044
1484
|
kind?: ResolverKind | string;
|
|
3045
|
-
|
|
3046
|
-
* <p>The <code>PipelineConfig</code>.</p>
|
|
3047
|
-
*/
|
|
1485
|
+
|
|
3048
1486
|
pipelineConfig?: PipelineConfig;
|
|
3049
|
-
|
|
3050
|
-
* <p>The <code>SyncConfig</code> for a resolver attached to a versioned datasource.</p>
|
|
3051
|
-
*/
|
|
1487
|
+
|
|
3052
1488
|
syncConfig?: SyncConfig;
|
|
3053
|
-
|
|
3054
|
-
* <p>The caching configuration for the resolver.</p>
|
|
3055
|
-
*/
|
|
1489
|
+
|
|
3056
1490
|
cachingConfig?: CachingConfig;
|
|
3057
1491
|
}
|
|
3058
1492
|
export declare namespace UpdateResolverRequest {
|
|
3059
|
-
|
|
3060
|
-
* @internal
|
|
3061
|
-
*/
|
|
1493
|
+
|
|
3062
1494
|
const filterSensitiveLog: (obj: UpdateResolverRequest) => any;
|
|
3063
1495
|
}
|
|
3064
1496
|
export interface UpdateResolverResponse {
|
|
3065
|
-
|
|
3066
|
-
* <p>The updated <code>Resolver</code> object.</p>
|
|
3067
|
-
*/
|
|
1497
|
+
|
|
3068
1498
|
resolver?: Resolver;
|
|
3069
1499
|
}
|
|
3070
1500
|
export declare namespace UpdateResolverResponse {
|
|
3071
|
-
|
|
3072
|
-
* @internal
|
|
3073
|
-
*/
|
|
1501
|
+
|
|
3074
1502
|
const filterSensitiveLog: (obj: UpdateResolverResponse) => any;
|
|
3075
1503
|
}
|
|
3076
1504
|
export interface UpdateTypeRequest {
|
|
3077
|
-
|
|
3078
|
-
* <p>The API ID.</p>
|
|
3079
|
-
*/
|
|
1505
|
+
|
|
3080
1506
|
apiId: string | undefined;
|
|
3081
|
-
|
|
3082
|
-
* <p>The new type name.</p>
|
|
3083
|
-
*/
|
|
1507
|
+
|
|
3084
1508
|
typeName: string | undefined;
|
|
3085
|
-
|
|
3086
|
-
* <p>The new definition.</p>
|
|
3087
|
-
*/
|
|
1509
|
+
|
|
3088
1510
|
definition?: string;
|
|
3089
|
-
|
|
3090
|
-
* <p>The new type format: SDL or JSON.</p>
|
|
3091
|
-
*/
|
|
1511
|
+
|
|
3092
1512
|
format: TypeDefinitionFormat | string | undefined;
|
|
3093
1513
|
}
|
|
3094
1514
|
export declare namespace UpdateTypeRequest {
|
|
3095
|
-
|
|
3096
|
-
* @internal
|
|
3097
|
-
*/
|
|
1515
|
+
|
|
3098
1516
|
const filterSensitiveLog: (obj: UpdateTypeRequest) => any;
|
|
3099
1517
|
}
|
|
3100
1518
|
export interface UpdateTypeResponse {
|
|
3101
|
-
|
|
3102
|
-
* <p>The updated <code>Type</code> object.</p>
|
|
3103
|
-
*/
|
|
1519
|
+
|
|
3104
1520
|
type?: Type;
|
|
3105
1521
|
}
|
|
3106
1522
|
export declare namespace UpdateTypeResponse {
|
|
3107
|
-
|
|
3108
|
-
* @internal
|
|
3109
|
-
*/
|
|
1523
|
+
|
|
3110
1524
|
const filterSensitiveLog: (obj: UpdateTypeResponse) => any;
|
|
3111
1525
|
}
|