@aws-sdk/client-appsync 3.474.0 → 3.477.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.
Files changed (73) hide show
  1. package/README.md +2 -2
  2. package/dist-cjs/models/models_0.js +5 -1
  3. package/dist-cjs/protocols/Aws_restJson1.js +376 -828
  4. package/dist-es/models/models_0.js +4 -0
  5. package/dist-es/protocols/Aws_restJson1.js +377 -829
  6. package/dist-types/AppSync.d.ts +2 -2
  7. package/dist-types/AppSyncClient.d.ts +2 -2
  8. package/dist-types/commands/AssociateApiCommand.d.ts +3 -4
  9. package/dist-types/commands/AssociateMergedGraphqlApiCommand.d.ts +5 -6
  10. package/dist-types/commands/AssociateSourceGraphqlApiCommand.d.ts +5 -6
  11. package/dist-types/commands/CreateApiCacheCommand.d.ts +5 -6
  12. package/dist-types/commands/CreateApiKeyCommand.d.ts +3 -4
  13. package/dist-types/commands/CreateDataSourceCommand.d.ts +5 -6
  14. package/dist-types/commands/CreateDomainNameCommand.d.ts +2 -2
  15. package/dist-types/commands/CreateFunctionCommand.d.ts +4 -6
  16. package/dist-types/commands/CreateGraphqlApiCommand.d.ts +10 -4
  17. package/dist-types/commands/CreateResolverCommand.d.ts +7 -8
  18. package/dist-types/commands/CreateTypeCommand.d.ts +5 -6
  19. package/dist-types/commands/DeleteApiCacheCommand.d.ts +5 -6
  20. package/dist-types/commands/DeleteApiKeyCommand.d.ts +3 -4
  21. package/dist-types/commands/DeleteDataSourceCommand.d.ts +5 -6
  22. package/dist-types/commands/DeleteDomainNameCommand.d.ts +5 -6
  23. package/dist-types/commands/DeleteFunctionCommand.d.ts +3 -4
  24. package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +5 -6
  25. package/dist-types/commands/DeleteResolverCommand.d.ts +5 -6
  26. package/dist-types/commands/DeleteTypeCommand.d.ts +5 -6
  27. package/dist-types/commands/DisassociateApiCommand.d.ts +5 -6
  28. package/dist-types/commands/DisassociateMergedGraphqlApiCommand.d.ts +5 -6
  29. package/dist-types/commands/DisassociateSourceGraphqlApiCommand.d.ts +5 -6
  30. package/dist-types/commands/EvaluateCodeCommand.d.ts +7 -8
  31. package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +7 -8
  32. package/dist-types/commands/FlushApiCacheCommand.d.ts +5 -6
  33. package/dist-types/commands/GetApiAssociationCommand.d.ts +3 -4
  34. package/dist-types/commands/GetApiCacheCommand.d.ts +5 -6
  35. package/dist-types/commands/GetDataSourceCommand.d.ts +5 -6
  36. package/dist-types/commands/GetDataSourceIntrospectionCommand.d.ts +3 -4
  37. package/dist-types/commands/GetDomainNameCommand.d.ts +3 -4
  38. package/dist-types/commands/GetFunctionCommand.d.ts +3 -4
  39. package/dist-types/commands/GetGraphqlApiCommand.d.ts +6 -4
  40. package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +1 -2
  41. package/dist-types/commands/GetResolverCommand.d.ts +3 -4
  42. package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +3 -4
  43. package/dist-types/commands/GetSourceApiAssociationCommand.d.ts +3 -4
  44. package/dist-types/commands/GetTypeCommand.d.ts +5 -6
  45. package/dist-types/commands/ListApiKeysCommand.d.ts +6 -8
  46. package/dist-types/commands/ListDataSourcesCommand.d.ts +3 -4
  47. package/dist-types/commands/ListDomainNamesCommand.d.ts +2 -2
  48. package/dist-types/commands/ListFunctionsCommand.d.ts +3 -4
  49. package/dist-types/commands/ListGraphqlApisCommand.d.ts +5 -2
  50. package/dist-types/commands/ListResolversByFunctionCommand.d.ts +3 -4
  51. package/dist-types/commands/ListResolversCommand.d.ts +3 -4
  52. package/dist-types/commands/ListSourceApiAssociationsCommand.d.ts +3 -4
  53. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -4
  54. package/dist-types/commands/ListTypesByAssociationCommand.d.ts +5 -6
  55. package/dist-types/commands/ListTypesCommand.d.ts +5 -6
  56. package/dist-types/commands/StartDataSourceIntrospectionCommand.d.ts +3 -4
  57. package/dist-types/commands/StartSchemaCreationCommand.d.ts +7 -8
  58. package/dist-types/commands/StartSchemaMergeCommand.d.ts +5 -6
  59. package/dist-types/commands/TagResourceCommand.d.ts +3 -4
  60. package/dist-types/commands/UntagResourceCommand.d.ts +3 -4
  61. package/dist-types/commands/UpdateApiCacheCommand.d.ts +5 -6
  62. package/dist-types/commands/UpdateApiKeyCommand.d.ts +3 -4
  63. package/dist-types/commands/UpdateDataSourceCommand.d.ts +5 -6
  64. package/dist-types/commands/UpdateDomainNameCommand.d.ts +5 -6
  65. package/dist-types/commands/UpdateFunctionCommand.d.ts +3 -4
  66. package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +11 -6
  67. package/dist-types/commands/UpdateResolverCommand.d.ts +5 -6
  68. package/dist-types/commands/UpdateSourceApiAssociationCommand.d.ts +5 -6
  69. package/dist-types/commands/UpdateTypeCommand.d.ts +5 -6
  70. package/dist-types/index.d.ts +2 -2
  71. package/dist-types/models/models_0.d.ts +431 -383
  72. package/dist-types/ts3.4/models/models_0.d.ts +15 -0
  73. package/package.json +5 -4
@@ -49,19 +49,18 @@ export interface StartSchemaMergeCommandOutput extends StartSchemaMergeResponse,
49
49
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
50
50
  *
51
51
  * @throws {@link BadRequestException} (client fault)
52
- * <p>The request is not well formed. For example, a value is invalid or a required field is
53
- * missing. Check the field values, and then try again.</p>
52
+ * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
53
+ * field values, and then try again.</p>
54
54
  *
55
55
  * @throws {@link ConcurrentModificationException} (client fault)
56
- * <p>Another modification is in progress at this time and it must complete before you can
57
- * make your change.</p>
56
+ * <p>Another modification is in progress at this time and it must complete before you can make your
57
+ * change.</p>
58
58
  *
59
59
  * @throws {@link InternalFailureException} (server fault)
60
60
  * <p>An internal AppSync error occurred. Try your request again.</p>
61
61
  *
62
62
  * @throws {@link NotFoundException} (client fault)
63
- * <p>The resource specified in the request was not found. Check the resource, and then try
64
- * again.</p>
63
+ * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
65
64
  *
66
65
  * @throws {@link UnauthorizedException} (client fault)
67
66
  * <p>You aren't authorized to perform this operation.</p>
@@ -52,8 +52,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
52
52
  * <p>You don't have access to perform this operation on this resource.</p>
53
53
  *
54
54
  * @throws {@link BadRequestException} (client fault)
55
- * <p>The request is not well formed. For example, a value is invalid or a required field is
56
- * missing. Check the field values, and then try again.</p>
55
+ * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
56
+ * field values, and then try again.</p>
57
57
  *
58
58
  * @throws {@link InternalFailureException} (server fault)
59
59
  * <p>An internal AppSync error occurred. Try your request again.</p>
@@ -62,8 +62,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
62
62
  * <p>The request exceeded a limit. Try your request again.</p>
63
63
  *
64
64
  * @throws {@link NotFoundException} (client fault)
65
- * <p>The resource specified in the request was not found. Check the resource, and then try
66
- * again.</p>
65
+ * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
67
66
  *
68
67
  * @throws {@link UnauthorizedException} (client fault)
69
68
  * <p>You aren't authorized to perform this operation.</p>
@@ -52,8 +52,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
52
52
  * <p>You don't have access to perform this operation on this resource.</p>
53
53
  *
54
54
  * @throws {@link BadRequestException} (client fault)
55
- * <p>The request is not well formed. For example, a value is invalid or a required field is
56
- * missing. Check the field values, and then try again.</p>
55
+ * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
56
+ * field values, and then try again.</p>
57
57
  *
58
58
  * @throws {@link InternalFailureException} (server fault)
59
59
  * <p>An internal AppSync error occurred. Try your request again.</p>
@@ -62,8 +62,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
62
62
  * <p>The request exceeded a limit. Try your request again.</p>
63
63
  *
64
64
  * @throws {@link NotFoundException} (client fault)
65
- * <p>The resource specified in the request was not found. Check the resource, and then try
66
- * again.</p>
65
+ * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
67
66
  *
68
67
  * @throws {@link UnauthorizedException} (client fault)
69
68
  * <p>You aren't authorized to perform this operation.</p>
@@ -58,19 +58,18 @@ export interface UpdateApiCacheCommandOutput extends UpdateApiCacheResponse, __M
58
58
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
59
59
  *
60
60
  * @throws {@link BadRequestException} (client fault)
61
- * <p>The request is not well formed. For example, a value is invalid or a required field is
62
- * missing. Check the field values, and then try again.</p>
61
+ * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
62
+ * field values, and then try again.</p>
63
63
  *
64
64
  * @throws {@link ConcurrentModificationException} (client fault)
65
- * <p>Another modification is in progress at this time and it must complete before you can
66
- * make your change.</p>
65
+ * <p>Another modification is in progress at this time and it must complete before you can make your
66
+ * change.</p>
67
67
  *
68
68
  * @throws {@link InternalFailureException} (server fault)
69
69
  * <p>An internal AppSync error occurred. Try your request again.</p>
70
70
  *
71
71
  * @throws {@link NotFoundException} (client fault)
72
- * <p>The resource specified in the request was not found. Check the resource, and then try
73
- * again.</p>
72
+ * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
74
73
  *
75
74
  * @throws {@link UnauthorizedException} (client fault)
76
75
  * <p>You aren't authorized to perform this operation.</p>
@@ -60,8 +60,8 @@ export interface UpdateApiKeyCommandOutput extends UpdateApiKeyResponse, __Metad
60
60
  * <code>CreateApiKey</code>) or from update (for <code>UpdateApiKey</code>).</p>
61
61
  *
62
62
  * @throws {@link BadRequestException} (client fault)
63
- * <p>The request is not well formed. For example, a value is invalid or a required field is
64
- * missing. Check the field values, and then try again.</p>
63
+ * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
64
+ * field values, and then try again.</p>
65
65
  *
66
66
  * @throws {@link InternalFailureException} (server fault)
67
67
  * <p>An internal AppSync error occurred. Try your request again.</p>
@@ -70,8 +70,7 @@ export interface UpdateApiKeyCommandOutput extends UpdateApiKeyResponse, __Metad
70
70
  * <p>The request exceeded a limit. Try your request again.</p>
71
71
  *
72
72
  * @throws {@link NotFoundException} (client fault)
73
- * <p>The resource specified in the request was not found. Check the resource, and then try
74
- * again.</p>
73
+ * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
75
74
  *
76
75
  * @throws {@link UnauthorizedException} (client fault)
77
76
  * <p>You aren't authorized to perform this operation.</p>
@@ -148,19 +148,18 @@ export interface UpdateDataSourceCommandOutput extends UpdateDataSourceResponse,
148
148
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
149
149
  *
150
150
  * @throws {@link BadRequestException} (client fault)
151
- * <p>The request is not well formed. For example, a value is invalid or a required field is
152
- * missing. Check the field values, and then try again.</p>
151
+ * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
152
+ * field values, and then try again.</p>
153
153
  *
154
154
  * @throws {@link ConcurrentModificationException} (client fault)
155
- * <p>Another modification is in progress at this time and it must complete before you can
156
- * make your change.</p>
155
+ * <p>Another modification is in progress at this time and it must complete before you can make your
156
+ * change.</p>
157
157
  *
158
158
  * @throws {@link InternalFailureException} (server fault)
159
159
  * <p>An internal AppSync error occurred. Try your request again.</p>
160
160
  *
161
161
  * @throws {@link NotFoundException} (client fault)
162
- * <p>The resource specified in the request was not found. Check the resource, and then try
163
- * again.</p>
162
+ * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
164
163
  *
165
164
  * @throws {@link UnauthorizedException} (client fault)
166
165
  * <p>You aren't authorized to perform this operation.</p>
@@ -58,19 +58,18 @@ export interface UpdateDomainNameCommandOutput extends UpdateDomainNameResponse,
58
58
  * <p>You don't have access to perform this operation on this resource.</p>
59
59
  *
60
60
  * @throws {@link BadRequestException} (client fault)
61
- * <p>The request is not well formed. For example, a value is invalid or a required field is
62
- * missing. Check the field values, and then try again.</p>
61
+ * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
62
+ * field values, and then try again.</p>
63
63
  *
64
64
  * @throws {@link ConcurrentModificationException} (client fault)
65
- * <p>Another modification is in progress at this time and it must complete before you can
66
- * make your change.</p>
65
+ * <p>Another modification is in progress at this time and it must complete before you can make your
66
+ * change.</p>
67
67
  *
68
68
  * @throws {@link InternalFailureException} (server fault)
69
69
  * <p>An internal AppSync error occurred. Try your request again.</p>
70
70
  *
71
71
  * @throws {@link NotFoundException} (client fault)
72
- * <p>The resource specified in the request was not found. Check the resource, and then try
73
- * again.</p>
72
+ * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
74
73
  *
75
74
  * @throws {@link AppSyncServiceException}
76
75
  * <p>Base exception class for all service exceptions from AppSync service.</p>
@@ -90,15 +90,14 @@ export interface UpdateFunctionCommandOutput extends UpdateFunctionResponse, __M
90
90
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
91
91
  *
92
92
  * @throws {@link ConcurrentModificationException} (client fault)
93
- * <p>Another modification is in progress at this time and it must complete before you can
94
- * make your change.</p>
93
+ * <p>Another modification is in progress at this time and it must complete before you can make your
94
+ * change.</p>
95
95
  *
96
96
  * @throws {@link InternalFailureException} (server fault)
97
97
  * <p>An internal AppSync error occurred. Try your request again.</p>
98
98
  *
99
99
  * @throws {@link NotFoundException} (client fault)
100
- * <p>The resource specified in the request was not found. Check the resource, and then try
101
- * again.</p>
100
+ * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
102
101
  *
103
102
  * @throws {@link UnauthorizedException} (client fault)
104
103
  * <p>You aren't authorized to perform this operation.</p>
@@ -80,6 +80,9 @@ export interface UpdateGraphqlApiCommandOutput extends UpdateGraphqlApiResponse,
80
80
  * },
81
81
  * mergedApiExecutionRoleArn: "STRING_VALUE",
82
82
  * ownerContact: "STRING_VALUE",
83
+ * introspectionConfig: "ENABLED" || "DISABLED",
84
+ * queryDepthLimit: Number("int"),
85
+ * resolverCountLimit: Number("int"),
83
86
  * };
84
87
  * const command = new UpdateGraphqlApiCommand(input);
85
88
  * const response = await client.send(command);
@@ -148,6 +151,9 @@ export interface UpdateGraphqlApiCommandOutput extends UpdateGraphqlApiResponse,
148
151
  * // mergedApiExecutionRoleArn: "STRING_VALUE",
149
152
  * // owner: "STRING_VALUE",
150
153
  * // ownerContact: "STRING_VALUE",
154
+ * // introspectionConfig: "ENABLED" || "DISABLED",
155
+ * // queryDepthLimit: Number("int"),
156
+ * // resolverCountLimit: Number("int"),
151
157
  * // },
152
158
  * // };
153
159
  *
@@ -163,19 +169,18 @@ export interface UpdateGraphqlApiCommandOutput extends UpdateGraphqlApiResponse,
163
169
  * <p>You don't have access to perform this operation on this resource.</p>
164
170
  *
165
171
  * @throws {@link BadRequestException} (client fault)
166
- * <p>The request is not well formed. For example, a value is invalid or a required field is
167
- * missing. Check the field values, and then try again.</p>
172
+ * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
173
+ * field values, and then try again.</p>
168
174
  *
169
175
  * @throws {@link ConcurrentModificationException} (client fault)
170
- * <p>Another modification is in progress at this time and it must complete before you can
171
- * make your change.</p>
176
+ * <p>Another modification is in progress at this time and it must complete before you can make your
177
+ * change.</p>
172
178
  *
173
179
  * @throws {@link InternalFailureException} (server fault)
174
180
  * <p>An internal AppSync error occurred. Try your request again.</p>
175
181
  *
176
182
  * @throws {@link NotFoundException} (client fault)
177
- * <p>The resource specified in the request was not found. Check the resource, and then try
178
- * again.</p>
183
+ * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
179
184
  *
180
185
  * @throws {@link UnauthorizedException} (client fault)
181
186
  * <p>You aren't authorized to perform this operation.</p>
@@ -110,19 +110,18 @@ export interface UpdateResolverCommandOutput extends UpdateResolverResponse, __M
110
110
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
111
111
  *
112
112
  * @throws {@link BadRequestException} (client fault)
113
- * <p>The request is not well formed. For example, a value is invalid or a required field is
114
- * missing. Check the field values, and then try again.</p>
113
+ * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
114
+ * field values, and then try again.</p>
115
115
  *
116
116
  * @throws {@link ConcurrentModificationException} (client fault)
117
- * <p>Another modification is in progress at this time and it must complete before you can
118
- * make your change.</p>
117
+ * <p>Another modification is in progress at this time and it must complete before you can make your
118
+ * change.</p>
119
119
  *
120
120
  * @throws {@link InternalFailureException} (server fault)
121
121
  * <p>An internal AppSync error occurred. Try your request again.</p>
122
122
  *
123
123
  * @throws {@link NotFoundException} (client fault)
124
- * <p>The resource specified in the request was not found. Check the resource, and then try
125
- * again.</p>
124
+ * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
126
125
  *
127
126
  * @throws {@link UnauthorizedException} (client fault)
128
127
  * <p>You aren't authorized to perform this operation.</p>
@@ -67,19 +67,18 @@ export interface UpdateSourceApiAssociationCommandOutput extends UpdateSourceApi
67
67
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
68
68
  *
69
69
  * @throws {@link BadRequestException} (client fault)
70
- * <p>The request is not well formed. For example, a value is invalid or a required field is
71
- * missing. Check the field values, and then try again.</p>
70
+ * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
71
+ * field values, and then try again.</p>
72
72
  *
73
73
  * @throws {@link ConcurrentModificationException} (client fault)
74
- * <p>Another modification is in progress at this time and it must complete before you can
75
- * make your change.</p>
74
+ * <p>Another modification is in progress at this time and it must complete before you can make your
75
+ * change.</p>
76
76
  *
77
77
  * @throws {@link InternalFailureException} (server fault)
78
78
  * <p>An internal AppSync error occurred. Try your request again.</p>
79
79
  *
80
80
  * @throws {@link NotFoundException} (client fault)
81
- * <p>The resource specified in the request was not found. Check the resource, and then try
82
- * again.</p>
81
+ * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
83
82
  *
84
83
  * @throws {@link UnauthorizedException} (client fault)
85
84
  * <p>You aren't authorized to perform this operation.</p>
@@ -57,19 +57,18 @@ export interface UpdateTypeCommandOutput extends UpdateTypeResponse, __MetadataB
57
57
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
58
58
  *
59
59
  * @throws {@link BadRequestException} (client fault)
60
- * <p>The request is not well formed. For example, a value is invalid or a required field is
61
- * missing. Check the field values, and then try again.</p>
60
+ * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
61
+ * field values, and then try again.</p>
62
62
  *
63
63
  * @throws {@link ConcurrentModificationException} (client fault)
64
- * <p>Another modification is in progress at this time and it must complete before you can
65
- * make your change.</p>
64
+ * <p>Another modification is in progress at this time and it must complete before you can make your
65
+ * change.</p>
66
66
  *
67
67
  * @throws {@link InternalFailureException} (server fault)
68
68
  * <p>An internal AppSync error occurred. Try your request again.</p>
69
69
  *
70
70
  * @throws {@link NotFoundException} (client fault)
71
- * <p>The resource specified in the request was not found. Check the resource, and then try
72
- * again.</p>
71
+ * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
73
72
  *
74
73
  * @throws {@link UnauthorizedException} (client fault)
75
74
  * <p>You aren't authorized to perform this operation.</p>
@@ -1,6 +1,6 @@
1
1
  /**
2
- * <p>AppSync provides API actions for creating and interacting with data
3
- * sources using GraphQL from your application.</p>
2
+ * <p>AppSync provides API actions for creating and interacting with data sources using GraphQL
3
+ * from your application.</p>
4
4
  *
5
5
  * @packageDocumentation
6
6
  */