@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
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the tags for a resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AppSyncClient, ListTagsForResourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
14
|
-
* // const { AppSyncClient, ListTagsForResourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
15
|
-
* const client = new AppSyncClient(config);
|
|
16
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
61
|
-
//# sourceMappingURL=ListTagsForResourceCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the types for a given API.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AppSyncClient, ListTypesCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
14
|
-
* // const { AppSyncClient, ListTypesCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
15
|
-
* const client = new AppSyncClient(config);
|
|
16
|
-
* const command = new ListTypesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListTypesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListTypesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListTypesCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class ListTypesCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.ListTypesCommand = ListTypesCommand;
|
|
61
|
-
//# sourceMappingURL=ListTypesCommand.js.map
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Adds a new schema to your GraphQL API.</p>
|
|
10
|
-
* <p>This operation is asynchronous. Use to
|
|
11
|
-
* determine when it has completed.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AppSyncClient, StartSchemaCreationCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
16
|
-
* // const { AppSyncClient, StartSchemaCreationCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
17
|
-
* const client = new AppSyncClient(config);
|
|
18
|
-
* const command = new StartSchemaCreationCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link StartSchemaCreationCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link StartSchemaCreationCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class StartSchemaCreationCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -60,4 +34,3 @@ class StartSchemaCreationCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.StartSchemaCreationCommand = StartSchemaCreationCommand;
|
|
63
|
-
//# sourceMappingURL=StartSchemaCreationCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Tags a resource with user-supplied tags.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AppSyncClient, TagResourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
14
|
-
* // const { AppSyncClient, TagResourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
15
|
-
* const client = new AppSyncClient(config);
|
|
16
|
-
* const command = new TagResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.TagResourceCommand = TagResourceCommand;
|
|
61
|
-
//# sourceMappingURL=TagResourceCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Untags a resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AppSyncClient, UntagResourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
14
|
-
* // const { AppSyncClient, UntagResourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
15
|
-
* const client = new AppSyncClient(config);
|
|
16
|
-
* const command = new UntagResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
61
|
-
//# sourceMappingURL=UntagResourceCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates the cache for the GraphQL API.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AppSyncClient, UpdateApiCacheCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
14
|
-
* // const { AppSyncClient, UpdateApiCacheCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
15
|
-
* const client = new AppSyncClient(config);
|
|
16
|
-
* const command = new UpdateApiCacheCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateApiCacheCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateApiCacheCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateApiCacheCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class UpdateApiCacheCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UpdateApiCacheCommand = UpdateApiCacheCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateApiCacheCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates an API key. The key can be updated while it is not deleted.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AppSyncClient, UpdateApiKeyCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
14
|
-
* // const { AppSyncClient, UpdateApiKeyCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
15
|
-
* const client = new AppSyncClient(config);
|
|
16
|
-
* const command = new UpdateApiKeyCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateApiKeyCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateApiKeyCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateApiKeyCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class UpdateApiKeyCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UpdateApiKeyCommand = UpdateApiKeyCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateApiKeyCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates a <code>DataSource</code> object.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AppSyncClient, UpdateDataSourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
14
|
-
* // const { AppSyncClient, UpdateDataSourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
15
|
-
* const client = new AppSyncClient(config);
|
|
16
|
-
* const command = new UpdateDataSourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateDataSourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateDataSourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateDataSourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class UpdateDataSourceCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UpdateDataSourceCommand = UpdateDataSourceCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateDataSourceCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates a <code>Function</code> object.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AppSyncClient, UpdateFunctionCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
14
|
-
* // const { AppSyncClient, UpdateFunctionCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
15
|
-
* const client = new AppSyncClient(config);
|
|
16
|
-
* const command = new UpdateFunctionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateFunctionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateFunctionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateFunctionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class UpdateFunctionCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UpdateFunctionCommand = UpdateFunctionCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateFunctionCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates a <code>GraphqlApi</code> object.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AppSyncClient, UpdateGraphqlApiCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
14
|
-
* // const { AppSyncClient, UpdateGraphqlApiCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
15
|
-
* const client = new AppSyncClient(config);
|
|
16
|
-
* const command = new UpdateGraphqlApiCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateGraphqlApiCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateGraphqlApiCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateGraphqlApiCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class UpdateGraphqlApiCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UpdateGraphqlApiCommand = UpdateGraphqlApiCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateGraphqlApiCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates a <code>Resolver</code> object.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AppSyncClient, UpdateResolverCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
14
|
-
* // const { AppSyncClient, UpdateResolverCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
15
|
-
* const client = new AppSyncClient(config);
|
|
16
|
-
* const command = new UpdateResolverCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateResolverCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateResolverCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateResolverCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class UpdateResolverCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UpdateResolverCommand = UpdateResolverCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateResolverCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates a <code>Type</code> object.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AppSyncClient, UpdateTypeCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
14
|
-
* // const { AppSyncClient, UpdateTypeCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
15
|
-
* const client = new AppSyncClient(config);
|
|
16
|
-
* const command = new UpdateTypeCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateTypeCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateTypeCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateTypeCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class UpdateTypeCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UpdateTypeCommand = UpdateTypeCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateTypeCommand.js.map
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CreateApiCacheCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateApiKeyCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateDataSourceCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateFunctionCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateGraphqlApiCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CreateResolverCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./CreateTypeCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./DeleteApiCacheCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./DeleteApiKeyCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./DeleteDataSourceCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./DeleteFunctionCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./DeleteGraphqlApiCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./DeleteResolverCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./DeleteTypeCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./FlushApiCacheCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./GetApiCacheCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./GetDataSourceCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./GetFunctionCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./GetGraphqlApiCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./GetIntrospectionSchemaCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./GetResolverCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./GetSchemaCreationStatusCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./GetTypeCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./ListApiKeysCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./ListDataSourcesCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./ListFunctionsCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./ListGraphqlApisCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./ListResolversByFunctionCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./ListResolversCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./ListTypesCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./StartSchemaCreationCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./UpdateApiCacheCommand"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./UpdateApiKeyCommand"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./UpdateDataSourceCommand"), exports);
|
|
41
|
+
tslib_1.__exportStar(require("./UpdateFunctionCommand"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./UpdateGraphqlApiCommand"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./UpdateResolverCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./UpdateTypeCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -35,7 +35,7 @@ const partitionHash = {
|
|
|
35
35
|
hostname: "appsync.{region}.amazonaws.com.cn",
|
|
36
36
|
},
|
|
37
37
|
"aws-iso": {
|
|
38
|
-
regions: ["us-iso-east-1"],
|
|
38
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
39
39
|
hostname: "appsync.{region}.c2s.ic.gov",
|
|
40
40
|
},
|
|
41
41
|
"aws-iso-b": {
|
|
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
|
|
|
54
54
|
partitionHash,
|
|
55
55
|
});
|
|
56
56
|
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
57
|
-
//# sourceMappingURL=endpoints.js.map
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,48 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./AppSyncClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./AppSync"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./commands/CreateFunctionCommand"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./commands/CreateGraphqlApiCommand"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./commands/CreateResolverCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./commands/CreateTypeCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./commands/DeleteApiCacheCommand"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./commands/DeleteApiKeyCommand"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./commands/DeleteDataSourceCommand"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./commands/DeleteFunctionCommand"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./commands/DeleteGraphqlApiCommand"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./commands/DeleteResolverCommand"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./commands/DeleteTypeCommand"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./commands/FlushApiCacheCommand"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./commands/GetApiCacheCommand"), exports);
|
|
22
|
-
tslib_1.__exportStar(require("./commands/GetDataSourceCommand"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./commands/GetFunctionCommand"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./commands/GetGraphqlApiCommand"), exports);
|
|
25
|
-
tslib_1.__exportStar(require("./commands/GetIntrospectionSchemaCommand"), exports);
|
|
26
|
-
tslib_1.__exportStar(require("./commands/GetResolverCommand"), exports);
|
|
27
|
-
tslib_1.__exportStar(require("./commands/GetSchemaCreationStatusCommand"), exports);
|
|
28
|
-
tslib_1.__exportStar(require("./commands/GetTypeCommand"), exports);
|
|
29
|
-
tslib_1.__exportStar(require("./commands/ListApiKeysCommand"), exports);
|
|
30
|
-
tslib_1.__exportStar(require("./commands/ListDataSourcesCommand"), exports);
|
|
31
|
-
tslib_1.__exportStar(require("./commands/ListFunctionsCommand"), exports);
|
|
32
|
-
tslib_1.__exportStar(require("./commands/ListGraphqlApisCommand"), exports);
|
|
33
|
-
tslib_1.__exportStar(require("./commands/ListResolversCommand"), exports);
|
|
34
|
-
tslib_1.__exportStar(require("./commands/ListResolversByFunctionCommand"), exports);
|
|
35
|
-
tslib_1.__exportStar(require("./commands/ListTagsForResourceCommand"), exports);
|
|
36
|
-
tslib_1.__exportStar(require("./commands/ListTypesCommand"), exports);
|
|
37
|
-
tslib_1.__exportStar(require("./commands/StartSchemaCreationCommand"), exports);
|
|
38
|
-
tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
|
|
39
|
-
tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
|
|
40
|
-
tslib_1.__exportStar(require("./commands/UpdateApiCacheCommand"), exports);
|
|
41
|
-
tslib_1.__exportStar(require("./commands/UpdateApiKeyCommand"), exports);
|
|
42
|
-
tslib_1.__exportStar(require("./commands/UpdateDataSourceCommand"), exports);
|
|
43
|
-
tslib_1.__exportStar(require("./commands/UpdateFunctionCommand"), exports);
|
|
44
|
-
tslib_1.__exportStar(require("./commands/UpdateGraphqlApiCommand"), exports);
|
|
45
|
-
tslib_1.__exportStar(require("./commands/UpdateResolverCommand"), exports);
|
|
46
|
-
tslib_1.__exportStar(require("./commands/UpdateTypeCommand"), exports);
|
|
47
|
-
tslib_1.__exportStar(require("./models/index"), exports);
|
|
48
|
-
//# sourceMappingURL=index.js.map
|
|
5
|
+
tslib_1.__exportStar(require("./AppSyncClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
package/dist-cjs/models/index.js
CHANGED