@aws-sdk/client-appsync 3.354.0 → 3.358.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_restJson1.js +14 -20
- package/dist-es/protocols/Aws_restJson1.js +1 -7
- package/dist-types/AppSyncClient.d.ts +1 -1
- package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +8 -1
- package/dist-types/ts3.4/commands/GetIntrospectionSchemaCommand.d.ts +8 -1
- package/package.json +29 -28
|
@@ -1868,7 +1868,7 @@ const de_DeleteApiCacheCommand = async (output, context) => {
|
|
|
1868
1868
|
const contents = (0, smithy_client_1.map)({
|
|
1869
1869
|
$metadata: deserializeMetadata(output),
|
|
1870
1870
|
});
|
|
1871
|
-
await collectBody(output.body, context);
|
|
1871
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1872
1872
|
return contents;
|
|
1873
1873
|
};
|
|
1874
1874
|
exports.de_DeleteApiCacheCommand = de_DeleteApiCacheCommand;
|
|
@@ -1910,7 +1910,7 @@ const de_DeleteApiKeyCommand = async (output, context) => {
|
|
|
1910
1910
|
const contents = (0, smithy_client_1.map)({
|
|
1911
1911
|
$metadata: deserializeMetadata(output),
|
|
1912
1912
|
});
|
|
1913
|
-
await collectBody(output.body, context);
|
|
1913
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1914
1914
|
return contents;
|
|
1915
1915
|
};
|
|
1916
1916
|
exports.de_DeleteApiKeyCommand = de_DeleteApiKeyCommand;
|
|
@@ -1949,7 +1949,7 @@ const de_DeleteDataSourceCommand = async (output, context) => {
|
|
|
1949
1949
|
const contents = (0, smithy_client_1.map)({
|
|
1950
1950
|
$metadata: deserializeMetadata(output),
|
|
1951
1951
|
});
|
|
1952
|
-
await collectBody(output.body, context);
|
|
1952
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1953
1953
|
return contents;
|
|
1954
1954
|
};
|
|
1955
1955
|
exports.de_DeleteDataSourceCommand = de_DeleteDataSourceCommand;
|
|
@@ -1991,7 +1991,7 @@ const de_DeleteDomainNameCommand = async (output, context) => {
|
|
|
1991
1991
|
const contents = (0, smithy_client_1.map)({
|
|
1992
1992
|
$metadata: deserializeMetadata(output),
|
|
1993
1993
|
});
|
|
1994
|
-
await collectBody(output.body, context);
|
|
1994
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1995
1995
|
return contents;
|
|
1996
1996
|
};
|
|
1997
1997
|
exports.de_DeleteDomainNameCommand = de_DeleteDomainNameCommand;
|
|
@@ -2033,7 +2033,7 @@ const de_DeleteFunctionCommand = async (output, context) => {
|
|
|
2033
2033
|
const contents = (0, smithy_client_1.map)({
|
|
2034
2034
|
$metadata: deserializeMetadata(output),
|
|
2035
2035
|
});
|
|
2036
|
-
await collectBody(output.body, context);
|
|
2036
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2037
2037
|
return contents;
|
|
2038
2038
|
};
|
|
2039
2039
|
exports.de_DeleteFunctionCommand = de_DeleteFunctionCommand;
|
|
@@ -2072,7 +2072,7 @@ const de_DeleteGraphqlApiCommand = async (output, context) => {
|
|
|
2072
2072
|
const contents = (0, smithy_client_1.map)({
|
|
2073
2073
|
$metadata: deserializeMetadata(output),
|
|
2074
2074
|
});
|
|
2075
|
-
await collectBody(output.body, context);
|
|
2075
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2076
2076
|
return contents;
|
|
2077
2077
|
};
|
|
2078
2078
|
exports.de_DeleteGraphqlApiCommand = de_DeleteGraphqlApiCommand;
|
|
@@ -2117,7 +2117,7 @@ const de_DeleteResolverCommand = async (output, context) => {
|
|
|
2117
2117
|
const contents = (0, smithy_client_1.map)({
|
|
2118
2118
|
$metadata: deserializeMetadata(output),
|
|
2119
2119
|
});
|
|
2120
|
-
await collectBody(output.body, context);
|
|
2120
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2121
2121
|
return contents;
|
|
2122
2122
|
};
|
|
2123
2123
|
exports.de_DeleteResolverCommand = de_DeleteResolverCommand;
|
|
@@ -2159,7 +2159,7 @@ const de_DeleteTypeCommand = async (output, context) => {
|
|
|
2159
2159
|
const contents = (0, smithy_client_1.map)({
|
|
2160
2160
|
$metadata: deserializeMetadata(output),
|
|
2161
2161
|
});
|
|
2162
|
-
await collectBody(output.body, context);
|
|
2162
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2163
2163
|
return contents;
|
|
2164
2164
|
};
|
|
2165
2165
|
exports.de_DeleteTypeCommand = de_DeleteTypeCommand;
|
|
@@ -2201,7 +2201,7 @@ const de_DisassociateApiCommand = async (output, context) => {
|
|
|
2201
2201
|
const contents = (0, smithy_client_1.map)({
|
|
2202
2202
|
$metadata: deserializeMetadata(output),
|
|
2203
2203
|
});
|
|
2204
|
-
await collectBody(output.body, context);
|
|
2204
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2205
2205
|
return contents;
|
|
2206
2206
|
};
|
|
2207
2207
|
exports.de_DisassociateApiCommand = de_DisassociateApiCommand;
|
|
@@ -2419,7 +2419,7 @@ const de_FlushApiCacheCommand = async (output, context) => {
|
|
|
2419
2419
|
const contents = (0, smithy_client_1.map)({
|
|
2420
2420
|
$metadata: deserializeMetadata(output),
|
|
2421
2421
|
});
|
|
2422
|
-
await collectBody(output.body, context);
|
|
2422
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2423
2423
|
return contents;
|
|
2424
2424
|
};
|
|
2425
2425
|
exports.de_FlushApiCacheCommand = de_FlushApiCacheCommand;
|
|
@@ -2725,7 +2725,7 @@ const de_GetIntrospectionSchemaCommand = async (output, context) => {
|
|
|
2725
2725
|
const contents = (0, smithy_client_1.map)({
|
|
2726
2726
|
$metadata: deserializeMetadata(output),
|
|
2727
2727
|
});
|
|
2728
|
-
const data = await collectBody(output.body, context);
|
|
2728
|
+
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2729
2729
|
contents.schema = data;
|
|
2730
2730
|
return contents;
|
|
2731
2731
|
};
|
|
@@ -3519,7 +3519,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
3519
3519
|
const contents = (0, smithy_client_1.map)({
|
|
3520
3520
|
$metadata: deserializeMetadata(output),
|
|
3521
3521
|
});
|
|
3522
|
-
await collectBody(output.body, context);
|
|
3522
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3523
3523
|
return contents;
|
|
3524
3524
|
};
|
|
3525
3525
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
@@ -3564,7 +3564,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
3564
3564
|
const contents = (0, smithy_client_1.map)({
|
|
3565
3565
|
$metadata: deserializeMetadata(output),
|
|
3566
3566
|
});
|
|
3567
|
-
await collectBody(output.body, context);
|
|
3567
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3568
3568
|
return contents;
|
|
3569
3569
|
};
|
|
3570
3570
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
@@ -4186,13 +4186,7 @@ const deserializeMetadata = (output) => ({
|
|
|
4186
4186
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
4187
4187
|
cfId: output.headers["x-amz-cf-id"],
|
|
4188
4188
|
});
|
|
4189
|
-
const
|
|
4190
|
-
if (streamBody instanceof Uint8Array) {
|
|
4191
|
-
return Promise.resolve(streamBody);
|
|
4192
|
-
}
|
|
4193
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
4194
|
-
};
|
|
4195
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
4189
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
4196
4190
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
4197
4191
|
value !== null &&
|
|
4198
4192
|
value !== "" &&
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _json, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { AppSyncServiceException as __BaseException } from "../models/AppSyncServiceException";
|
|
4
4
|
import { AccessDeniedException, ApiKeyLimitExceededException, ApiKeyValidityOutOfBoundsException, ApiLimitExceededException, BadRequestException, ConcurrentModificationException, GraphQLSchemaException, InternalFailureException, LimitExceededException, NotFoundException, UnauthorizedException, } from "../models/models_0";
|
|
@@ -4061,12 +4061,6 @@ const deserializeMetadata = (output) => ({
|
|
|
4061
4061
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
4062
4062
|
cfId: output.headers["x-amz-cf-id"],
|
|
4063
4063
|
});
|
|
4064
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
4065
|
-
if (streamBody instanceof Uint8Array) {
|
|
4066
|
-
return Promise.resolve(streamBody);
|
|
4067
|
-
}
|
|
4068
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
4069
|
-
};
|
|
4070
4064
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
4071
4065
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
4072
4066
|
value !== null &&
|
|
@@ -133,7 +133,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
133
133
|
*/
|
|
134
134
|
runtime?: string;
|
|
135
135
|
/**
|
|
136
|
-
* Disable
|
|
136
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
137
137
|
* trait of an operation.
|
|
138
138
|
*/
|
|
139
139
|
disableHostPrefix?: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
|
|
4
5
|
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
5
6
|
import { GetIntrospectionSchemaRequest, GetIntrospectionSchemaResponse } from "../models/models_0";
|
|
6
7
|
/**
|
|
@@ -14,12 +15,18 @@ export { __MetadataBearer, $Command };
|
|
|
14
15
|
*/
|
|
15
16
|
export interface GetIntrospectionSchemaCommandInput extends GetIntrospectionSchemaRequest {
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type GetIntrospectionSchemaCommandOutputType = Omit<GetIntrospectionSchemaResponse, "schema"> & {
|
|
22
|
+
schema?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
17
24
|
/**
|
|
18
25
|
* @public
|
|
19
26
|
*
|
|
20
27
|
* The output of {@link GetIntrospectionSchemaCommand}.
|
|
21
28
|
*/
|
|
22
|
-
export interface GetIntrospectionSchemaCommandOutput extends
|
|
29
|
+
export interface GetIntrospectionSchemaCommandOutput extends GetIntrospectionSchemaCommandOutputType, __MetadataBearer {
|
|
23
30
|
}
|
|
24
31
|
/**
|
|
25
32
|
* @public
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
8
|
} from "@aws-sdk/types";
|
|
9
|
+
import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
|
|
9
10
|
import {
|
|
10
11
|
AppSyncClientResolvedConfig,
|
|
11
12
|
ServiceInputTypes,
|
|
@@ -18,8 +19,14 @@ import {
|
|
|
18
19
|
export { __MetadataBearer, $Command };
|
|
19
20
|
export interface GetIntrospectionSchemaCommandInput
|
|
20
21
|
extends GetIntrospectionSchemaRequest {}
|
|
22
|
+
export type GetIntrospectionSchemaCommandOutputType = Pick<
|
|
23
|
+
GetIntrospectionSchemaResponse,
|
|
24
|
+
Exclude<keyof GetIntrospectionSchemaResponse, "schema">
|
|
25
|
+
> & {
|
|
26
|
+
schema?: Uint8ArrayBlobAdapter;
|
|
27
|
+
};
|
|
21
28
|
export interface GetIntrospectionSchemaCommandOutput
|
|
22
|
-
extends
|
|
29
|
+
extends GetIntrospectionSchemaCommandOutputType,
|
|
23
30
|
__MetadataBearer {}
|
|
24
31
|
export declare class GetIntrospectionSchemaCommand extends $Command<
|
|
25
32
|
GetIntrospectionSchemaCommandInput,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-appsync",
|
|
3
3
|
"description": "AWS SDK for JavaScript Appsync Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.358.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,36 +21,37 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.358.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.357.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.358.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.357.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.357.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.357.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.357.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.357.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.357.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.357.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.357.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.357.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.358.0",
|
|
43
|
+
"@aws-sdk/types": "3.357.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-
|
|
53
|
-
"@aws-sdk/util-user-agent-
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.358.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.358.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-stream": "3.358.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
54
55
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
56
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
57
|
"@smithy/types": "^1.0.0",
|