@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,97 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
15
|
-
import { CreateFunctionRequest, CreateFunctionResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateFunctionCommand,
|
|
18
|
-
serializeAws_restJson1CreateFunctionCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateFunctionCommandInput extends CreateFunctionRequest {}
|
|
22
|
-
export interface CreateFunctionCommandOutput extends CreateFunctionResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a <code>Function</code> object.</p>
|
|
26
|
-
* <p>A function is a reusable entity. Multiple functions can be used to compose the resolver
|
|
27
|
-
* logic.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { AppSyncClient, CreateFunctionCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
32
|
-
* // const { AppSyncClient, CreateFunctionCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
33
|
-
* const client = new AppSyncClient(config);
|
|
34
|
-
* const command = new CreateFunctionCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link CreateFunctionCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link CreateFunctionCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class CreateFunctionCommand extends $Command<
|
|
44
|
-
CreateFunctionCommandInput,
|
|
45
|
-
CreateFunctionCommandOutput,
|
|
46
|
-
AppSyncClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: CreateFunctionCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: AppSyncClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<CreateFunctionCommandInput, CreateFunctionCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "AppSyncClient";
|
|
71
|
-
const commandName = "CreateFunctionCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: CreateFunctionRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: CreateFunctionResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: CreateFunctionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1CreateFunctionCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateFunctionCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1CreateFunctionCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
15
|
-
import { CreateGraphqlApiRequest, CreateGraphqlApiResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateGraphqlApiCommand,
|
|
18
|
-
serializeAws_restJson1CreateGraphqlApiCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateGraphqlApiCommandInput extends CreateGraphqlApiRequest {}
|
|
22
|
-
export interface CreateGraphqlApiCommandOutput extends CreateGraphqlApiResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a <code>GraphqlApi</code> object.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppSyncClient, CreateGraphqlApiCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
30
|
-
* // const { AppSyncClient, CreateGraphqlApiCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
31
|
-
* const client = new AppSyncClient(config);
|
|
32
|
-
* const command = new CreateGraphqlApiCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateGraphqlApiCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateGraphqlApiCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateGraphqlApiCommand extends $Command<
|
|
42
|
-
CreateGraphqlApiCommandInput,
|
|
43
|
-
CreateGraphqlApiCommandOutput,
|
|
44
|
-
AppSyncClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateGraphqlApiCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AppSyncClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<CreateGraphqlApiCommandInput, CreateGraphqlApiCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AppSyncClient";
|
|
69
|
-
const commandName = "CreateGraphqlApiCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateGraphqlApiRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateGraphqlApiResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: CreateGraphqlApiCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1CreateGraphqlApiCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateGraphqlApiCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1CreateGraphqlApiCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
15
|
-
import { CreateResolverRequest, CreateResolverResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateResolverCommand,
|
|
18
|
-
serializeAws_restJson1CreateResolverCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateResolverCommandInput extends CreateResolverRequest {}
|
|
22
|
-
export interface CreateResolverCommandOutput extends CreateResolverResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a <code>Resolver</code> object.</p>
|
|
26
|
-
* <p>A resolver converts incoming requests into a format that a data source can understand
|
|
27
|
-
* and converts the data source's responses into GraphQL.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { AppSyncClient, CreateResolverCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
32
|
-
* // const { AppSyncClient, CreateResolverCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
33
|
-
* const client = new AppSyncClient(config);
|
|
34
|
-
* const command = new CreateResolverCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link CreateResolverCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link CreateResolverCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class CreateResolverCommand extends $Command<
|
|
44
|
-
CreateResolverCommandInput,
|
|
45
|
-
CreateResolverCommandOutput,
|
|
46
|
-
AppSyncClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: CreateResolverCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: AppSyncClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<CreateResolverCommandInput, CreateResolverCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "AppSyncClient";
|
|
71
|
-
const commandName = "CreateResolverCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: CreateResolverRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: CreateResolverResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: CreateResolverCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1CreateResolverCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateResolverCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1CreateResolverCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
15
|
-
import { CreateTypeRequest, CreateTypeResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateTypeCommand,
|
|
18
|
-
serializeAws_restJson1CreateTypeCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateTypeCommandInput extends CreateTypeRequest {}
|
|
22
|
-
export interface CreateTypeCommandOutput extends CreateTypeResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a <code>Type</code> object.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppSyncClient, CreateTypeCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
30
|
-
* // const { AppSyncClient, CreateTypeCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
31
|
-
* const client = new AppSyncClient(config);
|
|
32
|
-
* const command = new CreateTypeCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateTypeCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateTypeCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateTypeCommand extends $Command<
|
|
42
|
-
CreateTypeCommandInput,
|
|
43
|
-
CreateTypeCommandOutput,
|
|
44
|
-
AppSyncClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateTypeCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AppSyncClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<CreateTypeCommandInput, CreateTypeCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AppSyncClient";
|
|
69
|
-
const commandName = "CreateTypeCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateTypeRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateTypeResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: CreateTypeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1CreateTypeCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateTypeCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1CreateTypeCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
15
|
-
import { DeleteApiCacheRequest, DeleteApiCacheResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DeleteApiCacheCommand,
|
|
18
|
-
serializeAws_restJson1DeleteApiCacheCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteApiCacheCommandInput extends DeleteApiCacheRequest {}
|
|
22
|
-
export interface DeleteApiCacheCommandOutput extends DeleteApiCacheResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes an <code>ApiCache</code> object.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppSyncClient, DeleteApiCacheCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
30
|
-
* // const { AppSyncClient, DeleteApiCacheCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
31
|
-
* const client = new AppSyncClient(config);
|
|
32
|
-
* const command = new DeleteApiCacheCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteApiCacheCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteApiCacheCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteApiCacheCommand extends $Command<
|
|
42
|
-
DeleteApiCacheCommandInput,
|
|
43
|
-
DeleteApiCacheCommandOutput,
|
|
44
|
-
AppSyncClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteApiCacheCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AppSyncClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeleteApiCacheCommandInput, DeleteApiCacheCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AppSyncClient";
|
|
69
|
-
const commandName = "DeleteApiCacheCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteApiCacheRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeleteApiCacheResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeleteApiCacheCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteApiCacheCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteApiCacheCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteApiCacheCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
15
|
-
import { DeleteApiKeyRequest, DeleteApiKeyResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DeleteApiKeyCommand,
|
|
18
|
-
serializeAws_restJson1DeleteApiKeyCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteApiKeyCommandInput extends DeleteApiKeyRequest {}
|
|
22
|
-
export interface DeleteApiKeyCommandOutput extends DeleteApiKeyResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes an API key.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppSyncClient, DeleteApiKeyCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
30
|
-
* // const { AppSyncClient, DeleteApiKeyCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
31
|
-
* const client = new AppSyncClient(config);
|
|
32
|
-
* const command = new DeleteApiKeyCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteApiKeyCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteApiKeyCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteApiKeyCommand extends $Command<
|
|
42
|
-
DeleteApiKeyCommandInput,
|
|
43
|
-
DeleteApiKeyCommandOutput,
|
|
44
|
-
AppSyncClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteApiKeyCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AppSyncClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeleteApiKeyCommandInput, DeleteApiKeyCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AppSyncClient";
|
|
69
|
-
const commandName = "DeleteApiKeyCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteApiKeyRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeleteApiKeyResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeleteApiKeyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteApiKeyCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteApiKeyCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteApiKeyCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
15
|
-
import { DeleteDataSourceRequest, DeleteDataSourceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DeleteDataSourceCommand,
|
|
18
|
-
serializeAws_restJson1DeleteDataSourceCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteDataSourceCommandInput extends DeleteDataSourceRequest {}
|
|
22
|
-
export interface DeleteDataSourceCommandOutput extends DeleteDataSourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes a <code>DataSource</code> object.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppSyncClient, DeleteDataSourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
30
|
-
* // const { AppSyncClient, DeleteDataSourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
31
|
-
* const client = new AppSyncClient(config);
|
|
32
|
-
* const command = new DeleteDataSourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteDataSourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteDataSourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteDataSourceCommand extends $Command<
|
|
42
|
-
DeleteDataSourceCommandInput,
|
|
43
|
-
DeleteDataSourceCommandOutput,
|
|
44
|
-
AppSyncClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteDataSourceCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AppSyncClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AppSyncClient";
|
|
69
|
-
const commandName = "DeleteDataSourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteDataSourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeleteDataSourceResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeleteDataSourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteDataSourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteDataSourceCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteDataSourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|