@aws-sdk/client-appsync 3.51.0 → 3.54.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/AppSyncServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +148 -3
- package/dist-cjs/protocols/Aws_restJson1.js +511 -1939
- package/dist-es/index.js +1 -0
- package/dist-es/models/AppSyncServiceException.js +12 -0
- package/dist-es/models/models_0.js +134 -1
- package/dist-es/protocols/Aws_restJson1.js +1109 -2147
- package/dist-types/AppSyncClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/AppSyncServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +79 -45
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/AppSyncClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/AppSyncServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +57 -45
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateApiCommandInput, AssociateApiCommandOutput } from "./commands/AssociateApiCommand";
|
|
10
10
|
import { CreateApiCacheCommandInput, CreateApiCacheCommandOutput } from "./commands/CreateApiCacheCommand";
|
|
11
11
|
import { CreateApiKeyCommandInput, CreateApiKeyCommandOutput } from "./commands/CreateApiKeyCommand";
|
|
@@ -77,7 +77,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
77
77
|
* A function that can calculate the length of a request body.
|
|
78
78
|
* @internal
|
|
79
79
|
*/
|
|
80
|
-
bodyLengthChecker?:
|
|
80
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
81
81
|
/**
|
|
82
82
|
* A function that converts a stream into an array of bytes.
|
|
83
83
|
* @internal
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from AppSync service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class AppSyncServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { AppSyncServiceException as __BaseException } from "./AppSyncServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>You don't have access to perform this operation on this resource.</p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
8
|
-
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
13
|
}
|
|
10
14
|
export declare enum AuthenticationType {
|
|
11
15
|
AMAZON_COGNITO_USER_POOLS = "AMAZON_COGNITO_USER_POOLS",
|
|
@@ -463,27 +467,36 @@ export declare namespace ApiKey {
|
|
|
463
467
|
/**
|
|
464
468
|
* <p>The API key exceeded a limit. Try your request again.</p>
|
|
465
469
|
*/
|
|
466
|
-
export
|
|
467
|
-
name: "ApiKeyLimitExceededException";
|
|
468
|
-
$fault: "client";
|
|
469
|
-
|
|
470
|
+
export declare class ApiKeyLimitExceededException extends __BaseException {
|
|
471
|
+
readonly name: "ApiKeyLimitExceededException";
|
|
472
|
+
readonly $fault: "client";
|
|
473
|
+
/**
|
|
474
|
+
* @internal
|
|
475
|
+
*/
|
|
476
|
+
constructor(opts: __ExceptionOptionType<ApiKeyLimitExceededException, __BaseException>);
|
|
470
477
|
}
|
|
471
478
|
/**
|
|
472
479
|
* <p>The API key expiration must be set to a value between 1 and 365 days from creation (for
|
|
473
480
|
* <code>CreateApiKey</code>) or from update (for <code>UpdateApiKey</code>).</p>
|
|
474
481
|
*/
|
|
475
|
-
export
|
|
476
|
-
name: "ApiKeyValidityOutOfBoundsException";
|
|
477
|
-
$fault: "client";
|
|
478
|
-
|
|
482
|
+
export declare class ApiKeyValidityOutOfBoundsException extends __BaseException {
|
|
483
|
+
readonly name: "ApiKeyValidityOutOfBoundsException";
|
|
484
|
+
readonly $fault: "client";
|
|
485
|
+
/**
|
|
486
|
+
* @internal
|
|
487
|
+
*/
|
|
488
|
+
constructor(opts: __ExceptionOptionType<ApiKeyValidityOutOfBoundsException, __BaseException>);
|
|
479
489
|
}
|
|
480
490
|
/**
|
|
481
491
|
* <p>The GraphQL API exceeded a limit. Try your request again.</p>
|
|
482
492
|
*/
|
|
483
|
-
export
|
|
484
|
-
name: "ApiLimitExceededException";
|
|
485
|
-
$fault: "client";
|
|
486
|
-
|
|
493
|
+
export declare class ApiLimitExceededException extends __BaseException {
|
|
494
|
+
readonly name: "ApiLimitExceededException";
|
|
495
|
+
readonly $fault: "client";
|
|
496
|
+
/**
|
|
497
|
+
* @internal
|
|
498
|
+
*/
|
|
499
|
+
constructor(opts: __ExceptionOptionType<ApiLimitExceededException, __BaseException>);
|
|
487
500
|
}
|
|
488
501
|
export interface AssociateApiRequest {
|
|
489
502
|
/**
|
|
@@ -517,27 +530,36 @@ export declare namespace AssociateApiResponse {
|
|
|
517
530
|
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
518
531
|
* missing. Check the field values, and then try again.</p>
|
|
519
532
|
*/
|
|
520
|
-
export
|
|
521
|
-
name: "BadRequestException";
|
|
522
|
-
$fault: "client";
|
|
523
|
-
|
|
533
|
+
export declare class BadRequestException extends __BaseException {
|
|
534
|
+
readonly name: "BadRequestException";
|
|
535
|
+
readonly $fault: "client";
|
|
536
|
+
/**
|
|
537
|
+
* @internal
|
|
538
|
+
*/
|
|
539
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
524
540
|
}
|
|
525
541
|
/**
|
|
526
542
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
527
543
|
*/
|
|
528
|
-
export
|
|
529
|
-
name: "InternalFailureException";
|
|
530
|
-
$fault: "server";
|
|
531
|
-
|
|
544
|
+
export declare class InternalFailureException extends __BaseException {
|
|
545
|
+
readonly name: "InternalFailureException";
|
|
546
|
+
readonly $fault: "server";
|
|
547
|
+
/**
|
|
548
|
+
* @internal
|
|
549
|
+
*/
|
|
550
|
+
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
532
551
|
}
|
|
533
552
|
/**
|
|
534
553
|
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
535
554
|
* again.</p>
|
|
536
555
|
*/
|
|
537
|
-
export
|
|
538
|
-
name: "NotFoundException";
|
|
539
|
-
$fault: "client";
|
|
540
|
-
|
|
556
|
+
export declare class NotFoundException extends __BaseException {
|
|
557
|
+
readonly name: "NotFoundException";
|
|
558
|
+
readonly $fault: "client";
|
|
559
|
+
/**
|
|
560
|
+
* @internal
|
|
561
|
+
*/
|
|
562
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
541
563
|
}
|
|
542
564
|
export declare enum AuthorizationType {
|
|
543
565
|
AWS_IAM = "AWS_IAM"
|
|
@@ -591,10 +613,13 @@ export declare namespace AuthorizationConfig {
|
|
|
591
613
|
* <p>Another modification is in progress at this time and it must complete before you can
|
|
592
614
|
* make your change.</p>
|
|
593
615
|
*/
|
|
594
|
-
export
|
|
595
|
-
name: "ConcurrentModificationException";
|
|
596
|
-
$fault: "client";
|
|
597
|
-
|
|
616
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
617
|
+
readonly name: "ConcurrentModificationException";
|
|
618
|
+
readonly $fault: "client";
|
|
619
|
+
/**
|
|
620
|
+
* @internal
|
|
621
|
+
*/
|
|
622
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
598
623
|
}
|
|
599
624
|
/**
|
|
600
625
|
* <p>Represents the input of a <code>CreateApiCache</code> operation.</p>
|
|
@@ -736,10 +761,13 @@ export declare namespace CreateApiCacheResponse {
|
|
|
736
761
|
/**
|
|
737
762
|
* <p>You aren't authorized to perform this operation.</p>
|
|
738
763
|
*/
|
|
739
|
-
export
|
|
740
|
-
name: "UnauthorizedException";
|
|
741
|
-
$fault: "client";
|
|
742
|
-
|
|
764
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
765
|
+
readonly name: "UnauthorizedException";
|
|
766
|
+
readonly $fault: "client";
|
|
767
|
+
/**
|
|
768
|
+
* @internal
|
|
769
|
+
*/
|
|
770
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
743
771
|
}
|
|
744
772
|
export interface CreateApiKeyRequest {
|
|
745
773
|
/**
|
|
@@ -778,10 +806,13 @@ export declare namespace CreateApiKeyResponse {
|
|
|
778
806
|
/**
|
|
779
807
|
* <p>The request exceeded a limit. Try your request again.</p>
|
|
780
808
|
*/
|
|
781
|
-
export
|
|
782
|
-
name: "LimitExceededException";
|
|
783
|
-
$fault: "client";
|
|
784
|
-
|
|
809
|
+
export declare class LimitExceededException extends __BaseException {
|
|
810
|
+
readonly name: "LimitExceededException";
|
|
811
|
+
readonly $fault: "client";
|
|
812
|
+
/**
|
|
813
|
+
* @internal
|
|
814
|
+
*/
|
|
815
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
785
816
|
}
|
|
786
817
|
/**
|
|
787
818
|
* <p>Describes a Delta Sync configuration.</p>
|
|
@@ -2346,10 +2377,13 @@ export declare namespace GetIntrospectionSchemaResponse {
|
|
|
2346
2377
|
/**
|
|
2347
2378
|
* <p>The GraphQL schema is not valid.</p>
|
|
2348
2379
|
*/
|
|
2349
|
-
export
|
|
2350
|
-
name: "GraphQLSchemaException";
|
|
2351
|
-
$fault: "client";
|
|
2352
|
-
|
|
2380
|
+
export declare class GraphQLSchemaException extends __BaseException {
|
|
2381
|
+
readonly name: "GraphQLSchemaException";
|
|
2382
|
+
readonly $fault: "client";
|
|
2383
|
+
/**
|
|
2384
|
+
* @internal
|
|
2385
|
+
*/
|
|
2386
|
+
constructor(opts: __ExceptionOptionType<GraphQLSchemaException, __BaseException>);
|
|
2353
2387
|
}
|
|
2354
2388
|
export interface GetResolverRequest {
|
|
2355
2389
|
/**
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateApiCommandInput, AssociateApiCommandOutput } from "./commands/AssociateApiCommand";
|
|
10
10
|
import { CreateApiCacheCommandInput, CreateApiCacheCommandOutput } from "./commands/CreateApiCacheCommand";
|
|
11
11
|
import { CreateApiKeyCommandInput, CreateApiKeyCommandOutput } from "./commands/CreateApiKeyCommand";
|
|
@@ -65,7 +65,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
65
65
|
|
|
66
66
|
urlParser?: __UrlParser;
|
|
67
67
|
|
|
68
|
-
bodyLengthChecker?:
|
|
68
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
69
69
|
|
|
70
70
|
streamCollector?: __StreamCollector;
|
|
71
71
|
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { AppSyncServiceException as __BaseException } from "./AppSyncServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
6
|
-
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
7
9
|
}
|
|
8
10
|
export declare enum AuthenticationType {
|
|
9
11
|
AMAZON_COGNITO_USER_POOLS = "AMAZON_COGNITO_USER_POOLS",
|
|
@@ -151,22 +153,25 @@ export declare namespace ApiKey {
|
|
|
151
153
|
const filterSensitiveLog: (obj: ApiKey) => any;
|
|
152
154
|
}
|
|
153
155
|
|
|
154
|
-
export
|
|
155
|
-
name: "ApiKeyLimitExceededException";
|
|
156
|
-
$fault: "client";
|
|
157
|
-
|
|
156
|
+
export declare class ApiKeyLimitExceededException extends __BaseException {
|
|
157
|
+
readonly name: "ApiKeyLimitExceededException";
|
|
158
|
+
readonly $fault: "client";
|
|
159
|
+
|
|
160
|
+
constructor(opts: __ExceptionOptionType<ApiKeyLimitExceededException, __BaseException>);
|
|
158
161
|
}
|
|
159
162
|
|
|
160
|
-
export
|
|
161
|
-
name: "ApiKeyValidityOutOfBoundsException";
|
|
162
|
-
$fault: "client";
|
|
163
|
-
|
|
163
|
+
export declare class ApiKeyValidityOutOfBoundsException extends __BaseException {
|
|
164
|
+
readonly name: "ApiKeyValidityOutOfBoundsException";
|
|
165
|
+
readonly $fault: "client";
|
|
166
|
+
|
|
167
|
+
constructor(opts: __ExceptionOptionType<ApiKeyValidityOutOfBoundsException, __BaseException>);
|
|
164
168
|
}
|
|
165
169
|
|
|
166
|
-
export
|
|
167
|
-
name: "ApiLimitExceededException";
|
|
168
|
-
$fault: "client";
|
|
169
|
-
|
|
170
|
+
export declare class ApiLimitExceededException extends __BaseException {
|
|
171
|
+
readonly name: "ApiLimitExceededException";
|
|
172
|
+
readonly $fault: "client";
|
|
173
|
+
|
|
174
|
+
constructor(opts: __ExceptionOptionType<ApiLimitExceededException, __BaseException>);
|
|
170
175
|
}
|
|
171
176
|
export interface AssociateApiRequest {
|
|
172
177
|
|
|
@@ -187,22 +192,25 @@ export declare namespace AssociateApiResponse {
|
|
|
187
192
|
const filterSensitiveLog: (obj: AssociateApiResponse) => any;
|
|
188
193
|
}
|
|
189
194
|
|
|
190
|
-
export
|
|
191
|
-
name: "BadRequestException";
|
|
192
|
-
$fault: "client";
|
|
193
|
-
|
|
195
|
+
export declare class BadRequestException extends __BaseException {
|
|
196
|
+
readonly name: "BadRequestException";
|
|
197
|
+
readonly $fault: "client";
|
|
198
|
+
|
|
199
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
194
200
|
}
|
|
195
201
|
|
|
196
|
-
export
|
|
197
|
-
name: "InternalFailureException";
|
|
198
|
-
$fault: "server";
|
|
199
|
-
|
|
202
|
+
export declare class InternalFailureException extends __BaseException {
|
|
203
|
+
readonly name: "InternalFailureException";
|
|
204
|
+
readonly $fault: "server";
|
|
205
|
+
|
|
206
|
+
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
200
207
|
}
|
|
201
208
|
|
|
202
|
-
export
|
|
203
|
-
name: "NotFoundException";
|
|
204
|
-
$fault: "client";
|
|
205
|
-
|
|
209
|
+
export declare class NotFoundException extends __BaseException {
|
|
210
|
+
readonly name: "NotFoundException";
|
|
211
|
+
readonly $fault: "client";
|
|
212
|
+
|
|
213
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
206
214
|
}
|
|
207
215
|
export declare enum AuthorizationType {
|
|
208
216
|
AWS_IAM = "AWS_IAM"
|
|
@@ -230,10 +238,11 @@ export declare namespace AuthorizationConfig {
|
|
|
230
238
|
const filterSensitiveLog: (obj: AuthorizationConfig) => any;
|
|
231
239
|
}
|
|
232
240
|
|
|
233
|
-
export
|
|
234
|
-
name: "ConcurrentModificationException";
|
|
235
|
-
$fault: "client";
|
|
236
|
-
|
|
241
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
242
|
+
readonly name: "ConcurrentModificationException";
|
|
243
|
+
readonly $fault: "client";
|
|
244
|
+
|
|
245
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
237
246
|
}
|
|
238
247
|
|
|
239
248
|
export interface CreateApiCacheRequest {
|
|
@@ -264,10 +273,11 @@ export declare namespace CreateApiCacheResponse {
|
|
|
264
273
|
const filterSensitiveLog: (obj: CreateApiCacheResponse) => any;
|
|
265
274
|
}
|
|
266
275
|
|
|
267
|
-
export
|
|
268
|
-
name: "UnauthorizedException";
|
|
269
|
-
$fault: "client";
|
|
270
|
-
|
|
276
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
277
|
+
readonly name: "UnauthorizedException";
|
|
278
|
+
readonly $fault: "client";
|
|
279
|
+
|
|
280
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
271
281
|
}
|
|
272
282
|
export interface CreateApiKeyRequest {
|
|
273
283
|
|
|
@@ -290,10 +300,11 @@ export declare namespace CreateApiKeyResponse {
|
|
|
290
300
|
const filterSensitiveLog: (obj: CreateApiKeyResponse) => any;
|
|
291
301
|
}
|
|
292
302
|
|
|
293
|
-
export
|
|
294
|
-
name: "LimitExceededException";
|
|
295
|
-
$fault: "client";
|
|
296
|
-
|
|
303
|
+
export declare class LimitExceededException extends __BaseException {
|
|
304
|
+
readonly name: "LimitExceededException";
|
|
305
|
+
readonly $fault: "client";
|
|
306
|
+
|
|
307
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
297
308
|
}
|
|
298
309
|
|
|
299
310
|
export interface DeltaSyncConfig {
|
|
@@ -1121,10 +1132,11 @@ export declare namespace GetIntrospectionSchemaResponse {
|
|
|
1121
1132
|
const filterSensitiveLog: (obj: GetIntrospectionSchemaResponse) => any;
|
|
1122
1133
|
}
|
|
1123
1134
|
|
|
1124
|
-
export
|
|
1125
|
-
name: "GraphQLSchemaException";
|
|
1126
|
-
$fault: "client";
|
|
1127
|
-
|
|
1135
|
+
export declare class GraphQLSchemaException extends __BaseException {
|
|
1136
|
+
readonly name: "GraphQLSchemaException";
|
|
1137
|
+
readonly $fault: "client";
|
|
1138
|
+
|
|
1139
|
+
constructor(opts: __ExceptionOptionType<GraphQLSchemaException, __BaseException>);
|
|
1128
1140
|
}
|
|
1129
1141
|
export interface GetResolverRequest {
|
|
1130
1142
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
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.54.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",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-*"
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
13
13
|
},
|
|
14
14
|
"main": "./dist-cjs/index.js",
|
|
15
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -18,40 +18,40 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.54.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.54.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.54.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.54.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.54.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.54.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.54.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.54.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.54.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.54.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.54.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.54.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.54.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.54.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.54.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.54.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.54.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.54.0",
|
|
39
|
+
"@aws-sdk/types": "3.54.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.54.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.54.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.54.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.54.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.54.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.54.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.52.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|