@aws-sdk/client-appsync 3.682.0 → 3.683.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/README.md +90 -10
- package/dist-cjs/index.js +572 -0
- package/dist-es/AppSync.js +20 -0
- package/dist-es/commands/CreateApiCommand.js +22 -0
- package/dist-es/commands/CreateChannelNamespaceCommand.js +22 -0
- package/dist-es/commands/DeleteApiCommand.js +22 -0
- package/dist-es/commands/DeleteChannelNamespaceCommand.js +22 -0
- package/dist-es/commands/GetApiCommand.js +22 -0
- package/dist-es/commands/GetChannelNamespaceCommand.js +22 -0
- package/dist-es/commands/ListApisCommand.js +22 -0
- package/dist-es/commands/ListChannelNamespacesCommand.js +22 -0
- package/dist-es/commands/UpdateApiCommand.js +22 -0
- package/dist-es/commands/UpdateChannelNamespaceCommand.js +22 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +31 -0
- package/dist-es/pagination/ListApisPaginator.js +4 -0
- package/dist-es/pagination/ListChannelNamespacesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +341 -2
- package/dist-types/AppSync.d.ts +73 -2
- package/dist-types/AppSyncClient.d.ts +14 -4
- package/dist-types/commands/AssociateApiCommand.d.ts +4 -3
- package/dist-types/commands/AssociateMergedGraphqlApiCommand.d.ts +8 -6
- package/dist-types/commands/AssociateSourceGraphqlApiCommand.d.ts +8 -6
- package/dist-types/commands/CreateApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/CreateApiCommand.d.ts +192 -0
- package/dist-types/commands/CreateApiKeyCommand.d.ts +4 -3
- package/dist-types/commands/CreateChannelNamespaceCommand.d.ts +133 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +6 -5
- package/dist-types/commands/CreateDomainNameCommand.d.ts +2 -2
- package/dist-types/commands/CreateFunctionCommand.d.ts +8 -6
- package/dist-types/commands/CreateGraphqlApiCommand.d.ts +5 -5
- package/dist-types/commands/CreateResolverCommand.d.ts +8 -7
- package/dist-types/commands/CreateTypeCommand.d.ts +6 -5
- package/dist-types/commands/DeleteApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/DeleteApiCommand.d.ts +90 -0
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +4 -3
- package/dist-types/commands/DeleteChannelNamespaceCommand.d.ts +91 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +6 -5
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +6 -5
- package/dist-types/commands/DeleteFunctionCommand.d.ts +6 -5
- package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +6 -5
- package/dist-types/commands/DeleteResolverCommand.d.ts +6 -5
- package/dist-types/commands/DeleteTypeCommand.d.ts +6 -5
- package/dist-types/commands/DisassociateApiCommand.d.ts +6 -5
- package/dist-types/commands/DisassociateMergedGraphqlApiCommand.d.ts +8 -7
- package/dist-types/commands/DisassociateSourceGraphqlApiCommand.d.ts +8 -7
- package/dist-types/commands/EvaluateCodeCommand.d.ts +8 -7
- package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +8 -7
- package/dist-types/commands/FlushApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/GetApiAssociationCommand.d.ts +4 -3
- package/dist-types/commands/GetApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/GetApiCommand.d.ts +144 -0
- package/dist-types/commands/GetChannelNamespaceCommand.d.ts +109 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +6 -5
- package/dist-types/commands/GetDataSourceIntrospectionCommand.d.ts +7 -6
- package/dist-types/commands/GetDomainNameCommand.d.ts +4 -3
- package/dist-types/commands/GetFunctionCommand.d.ts +4 -3
- package/dist-types/commands/GetGraphqlApiCommand.d.ts +4 -3
- package/dist-types/commands/GetGraphqlApiEnvironmentVariablesCommand.d.ts +6 -4
- package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +2 -1
- package/dist-types/commands/GetResolverCommand.d.ts +4 -3
- package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +4 -3
- package/dist-types/commands/GetSourceApiAssociationCommand.d.ts +4 -3
- package/dist-types/commands/GetTypeCommand.d.ts +6 -5
- package/dist-types/commands/ListApiKeysCommand.d.ts +8 -6
- package/dist-types/commands/ListApisCommand.d.ts +144 -0
- package/dist-types/commands/ListChannelNamespacesCommand.d.ts +114 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +4 -3
- package/dist-types/commands/ListDomainNamesCommand.d.ts +2 -2
- package/dist-types/commands/ListFunctionsCommand.d.ts +4 -3
- package/dist-types/commands/ListGraphqlApisCommand.d.ts +2 -2
- package/dist-types/commands/ListResolversByFunctionCommand.d.ts +4 -3
- package/dist-types/commands/ListResolversCommand.d.ts +4 -3
- package/dist-types/commands/ListSourceApiAssociationsCommand.d.ts +4 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -3
- package/dist-types/commands/ListTypesByAssociationCommand.d.ts +6 -5
- package/dist-types/commands/ListTypesCommand.d.ts +6 -5
- package/dist-types/commands/PutGraphqlApiEnvironmentVariablesCommand.d.ts +21 -17
- package/dist-types/commands/StartDataSourceIntrospectionCommand.d.ts +6 -5
- package/dist-types/commands/StartSchemaCreationCommand.d.ts +8 -7
- package/dist-types/commands/StartSchemaMergeCommand.d.ts +8 -6
- package/dist-types/commands/TagResourceCommand.d.ts +4 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -3
- package/dist-types/commands/UpdateApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/UpdateApiCommand.d.ts +192 -0
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +4 -3
- package/dist-types/commands/UpdateChannelNamespaceCommand.d.ts +124 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -5
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +6 -5
- package/dist-types/commands/UpdateFunctionCommand.d.ts +6 -5
- package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +7 -6
- package/dist-types/commands/UpdateResolverCommand.d.ts +6 -5
- package/dist-types/commands/UpdateSourceApiAssociationCommand.d.ts +6 -5
- package/dist-types/commands/UpdateTypeCommand.d.ts +6 -5
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +1305 -629
- package/dist-types/pagination/ListApisPaginator.d.ts +7 -0
- package/dist-types/pagination/ListChannelNamespacesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/AppSync.d.ts +171 -0
- package/dist-types/ts3.4/AppSyncClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/CreateApiCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateChannelNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteApiCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteChannelNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetApiCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetChannelNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListApisCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListChannelNamespacesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateApiCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateChannelNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +148 -2
- package/dist-types/ts3.4/pagination/ListApisPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListChannelNamespacesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +1 -1
|
@@ -94,18 +94,19 @@ declare const UpdateFunctionCommand_base: {
|
|
|
94
94
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
95
95
|
*
|
|
96
96
|
* @throws {@link BadRequestException} (client fault)
|
|
97
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
98
|
-
* field values, and then try again.</p>
|
|
97
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
98
|
+
* missing. Check the field values, and then try again.</p>
|
|
99
99
|
*
|
|
100
100
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
101
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
102
|
-
* change.</p>
|
|
101
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
102
|
+
* make your change.</p>
|
|
103
103
|
*
|
|
104
104
|
* @throws {@link InternalFailureException} (server fault)
|
|
105
105
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
106
106
|
*
|
|
107
107
|
* @throws {@link NotFoundException} (client fault)
|
|
108
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
108
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
109
|
+
* again.</p>
|
|
109
110
|
*
|
|
110
111
|
* @throws {@link UnauthorizedException} (client fault)
|
|
111
112
|
* <p>You aren't authorized to perform this operation.</p>
|
|
@@ -42,7 +42,7 @@ declare const UpdateGraphqlApiCommand_base: {
|
|
|
42
42
|
* cloudWatchLogsRoleArn: "STRING_VALUE", // required
|
|
43
43
|
* excludeVerboseContent: true || false,
|
|
44
44
|
* },
|
|
45
|
-
* authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
|
|
45
|
+
* authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
|
|
46
46
|
* userPoolConfig: { // UserPoolConfig
|
|
47
47
|
* userPoolId: "STRING_VALUE", // required
|
|
48
48
|
* awsRegion: "STRING_VALUE", // required
|
|
@@ -183,18 +183,19 @@ declare const UpdateGraphqlApiCommand_base: {
|
|
|
183
183
|
* <p>You don't have access to perform this operation on this resource.</p>
|
|
184
184
|
*
|
|
185
185
|
* @throws {@link BadRequestException} (client fault)
|
|
186
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
187
|
-
* field values, and then try again.</p>
|
|
186
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
187
|
+
* missing. Check the field values, and then try again.</p>
|
|
188
188
|
*
|
|
189
189
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
190
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
191
|
-
* change.</p>
|
|
190
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
191
|
+
* make your change.</p>
|
|
192
192
|
*
|
|
193
193
|
* @throws {@link InternalFailureException} (server fault)
|
|
194
194
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
195
195
|
*
|
|
196
196
|
* @throws {@link NotFoundException} (client fault)
|
|
197
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
197
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
198
|
+
* again.</p>
|
|
198
199
|
*
|
|
199
200
|
* @throws {@link UnauthorizedException} (client fault)
|
|
200
201
|
* <p>You aren't authorized to perform this operation.</p>
|
|
@@ -116,18 +116,19 @@ declare const UpdateResolverCommand_base: {
|
|
|
116
116
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
117
117
|
*
|
|
118
118
|
* @throws {@link BadRequestException} (client fault)
|
|
119
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
120
|
-
* field values, and then try again.</p>
|
|
119
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
120
|
+
* missing. Check the field values, and then try again.</p>
|
|
121
121
|
*
|
|
122
122
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
123
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
124
|
-
* change.</p>
|
|
123
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
124
|
+
* make your change.</p>
|
|
125
125
|
*
|
|
126
126
|
* @throws {@link InternalFailureException} (server fault)
|
|
127
127
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
128
128
|
*
|
|
129
129
|
* @throws {@link NotFoundException} (client fault)
|
|
130
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
130
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
131
|
+
* again.</p>
|
|
131
132
|
*
|
|
132
133
|
* @throws {@link UnauthorizedException} (client fault)
|
|
133
134
|
* <p>You aren't authorized to perform this operation.</p>
|
|
@@ -71,18 +71,19 @@ declare const UpdateSourceApiAssociationCommand_base: {
|
|
|
71
71
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
72
72
|
*
|
|
73
73
|
* @throws {@link BadRequestException} (client fault)
|
|
74
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
75
|
-
* field values, and then try again.</p>
|
|
74
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
75
|
+
* missing. Check the field values, and then try again.</p>
|
|
76
76
|
*
|
|
77
77
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
78
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
79
|
-
* change.</p>
|
|
78
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
79
|
+
* make your change.</p>
|
|
80
80
|
*
|
|
81
81
|
* @throws {@link InternalFailureException} (server fault)
|
|
82
82
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
83
83
|
*
|
|
84
84
|
* @throws {@link NotFoundException} (client fault)
|
|
85
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
85
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
86
|
+
* again.</p>
|
|
86
87
|
*
|
|
87
88
|
* @throws {@link UnauthorizedException} (client fault)
|
|
88
89
|
* <p>You aren't authorized to perform this operation.</p>
|
|
@@ -61,18 +61,19 @@ declare const UpdateTypeCommand_base: {
|
|
|
61
61
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link BadRequestException} (client fault)
|
|
64
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
65
|
-
* field values, and then try again.</p>
|
|
64
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
65
|
+
* missing. Check the field values, and then try again.</p>
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
68
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
69
|
-
* change.</p>
|
|
68
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
69
|
+
* make your change.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link InternalFailureException} (server fault)
|
|
72
72
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link NotFoundException} (client fault)
|
|
75
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
75
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
76
|
+
* again.</p>
|
|
76
77
|
*
|
|
77
78
|
* @throws {@link UnauthorizedException} (client fault)
|
|
78
79
|
* <p>You aren't authorized to perform this operation.</p>
|
|
@@ -2,7 +2,9 @@ export * from "./AssociateApiCommand";
|
|
|
2
2
|
export * from "./AssociateMergedGraphqlApiCommand";
|
|
3
3
|
export * from "./AssociateSourceGraphqlApiCommand";
|
|
4
4
|
export * from "./CreateApiCacheCommand";
|
|
5
|
+
export * from "./CreateApiCommand";
|
|
5
6
|
export * from "./CreateApiKeyCommand";
|
|
7
|
+
export * from "./CreateChannelNamespaceCommand";
|
|
6
8
|
export * from "./CreateDataSourceCommand";
|
|
7
9
|
export * from "./CreateDomainNameCommand";
|
|
8
10
|
export * from "./CreateFunctionCommand";
|
|
@@ -10,7 +12,9 @@ export * from "./CreateGraphqlApiCommand";
|
|
|
10
12
|
export * from "./CreateResolverCommand";
|
|
11
13
|
export * from "./CreateTypeCommand";
|
|
12
14
|
export * from "./DeleteApiCacheCommand";
|
|
15
|
+
export * from "./DeleteApiCommand";
|
|
13
16
|
export * from "./DeleteApiKeyCommand";
|
|
17
|
+
export * from "./DeleteChannelNamespaceCommand";
|
|
14
18
|
export * from "./DeleteDataSourceCommand";
|
|
15
19
|
export * from "./DeleteDomainNameCommand";
|
|
16
20
|
export * from "./DeleteFunctionCommand";
|
|
@@ -25,6 +29,8 @@ export * from "./EvaluateMappingTemplateCommand";
|
|
|
25
29
|
export * from "./FlushApiCacheCommand";
|
|
26
30
|
export * from "./GetApiAssociationCommand";
|
|
27
31
|
export * from "./GetApiCacheCommand";
|
|
32
|
+
export * from "./GetApiCommand";
|
|
33
|
+
export * from "./GetChannelNamespaceCommand";
|
|
28
34
|
export * from "./GetDataSourceCommand";
|
|
29
35
|
export * from "./GetDataSourceIntrospectionCommand";
|
|
30
36
|
export * from "./GetDomainNameCommand";
|
|
@@ -37,6 +43,8 @@ export * from "./GetSchemaCreationStatusCommand";
|
|
|
37
43
|
export * from "./GetSourceApiAssociationCommand";
|
|
38
44
|
export * from "./GetTypeCommand";
|
|
39
45
|
export * from "./ListApiKeysCommand";
|
|
46
|
+
export * from "./ListApisCommand";
|
|
47
|
+
export * from "./ListChannelNamespacesCommand";
|
|
40
48
|
export * from "./ListDataSourcesCommand";
|
|
41
49
|
export * from "./ListDomainNamesCommand";
|
|
42
50
|
export * from "./ListFunctionsCommand";
|
|
@@ -54,7 +62,9 @@ export * from "./StartSchemaMergeCommand";
|
|
|
54
62
|
export * from "./TagResourceCommand";
|
|
55
63
|
export * from "./UntagResourceCommand";
|
|
56
64
|
export * from "./UpdateApiCacheCommand";
|
|
65
|
+
export * from "./UpdateApiCommand";
|
|
57
66
|
export * from "./UpdateApiKeyCommand";
|
|
67
|
+
export * from "./UpdateChannelNamespaceCommand";
|
|
58
68
|
export * from "./UpdateDataSourceCommand";
|
|
59
69
|
export * from "./UpdateDomainNameCommand";
|
|
60
70
|
export * from "./UpdateFunctionCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>AppSync provides API actions for creating and interacting with data
|
|
3
|
-
* from your application.</p>
|
|
2
|
+
* <p>AppSync provides API actions for creating and interacting with data
|
|
3
|
+
* sources using GraphQL from your application.</p>
|
|
4
4
|
*
|
|
5
5
|
* @packageDocumentation
|
|
6
6
|
*/
|