@aws-sdk/client-appsync 3.682.0 → 3.686.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 (121) hide show
  1. package/README.md +90 -10
  2. package/dist-cjs/index.js +572 -0
  3. package/dist-es/AppSync.js +20 -0
  4. package/dist-es/commands/CreateApiCommand.js +22 -0
  5. package/dist-es/commands/CreateChannelNamespaceCommand.js +22 -0
  6. package/dist-es/commands/DeleteApiCommand.js +22 -0
  7. package/dist-es/commands/DeleteChannelNamespaceCommand.js +22 -0
  8. package/dist-es/commands/GetApiCommand.js +22 -0
  9. package/dist-es/commands/GetChannelNamespaceCommand.js +22 -0
  10. package/dist-es/commands/ListApisCommand.js +22 -0
  11. package/dist-es/commands/ListChannelNamespacesCommand.js +22 -0
  12. package/dist-es/commands/UpdateApiCommand.js +22 -0
  13. package/dist-es/commands/UpdateChannelNamespaceCommand.js +22 -0
  14. package/dist-es/commands/index.js +10 -0
  15. package/dist-es/models/models_0.js +31 -0
  16. package/dist-es/pagination/ListApisPaginator.js +4 -0
  17. package/dist-es/pagination/ListChannelNamespacesPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +2 -0
  19. package/dist-es/protocols/Aws_restJson1.js +341 -2
  20. package/dist-types/AppSync.d.ts +73 -2
  21. package/dist-types/AppSyncClient.d.ts +14 -4
  22. package/dist-types/commands/AssociateApiCommand.d.ts +4 -3
  23. package/dist-types/commands/AssociateMergedGraphqlApiCommand.d.ts +8 -6
  24. package/dist-types/commands/AssociateSourceGraphqlApiCommand.d.ts +8 -6
  25. package/dist-types/commands/CreateApiCacheCommand.d.ts +6 -5
  26. package/dist-types/commands/CreateApiCommand.d.ts +192 -0
  27. package/dist-types/commands/CreateApiKeyCommand.d.ts +4 -3
  28. package/dist-types/commands/CreateChannelNamespaceCommand.d.ts +133 -0
  29. package/dist-types/commands/CreateDataSourceCommand.d.ts +6 -5
  30. package/dist-types/commands/CreateDomainNameCommand.d.ts +2 -2
  31. package/dist-types/commands/CreateFunctionCommand.d.ts +8 -6
  32. package/dist-types/commands/CreateGraphqlApiCommand.d.ts +5 -5
  33. package/dist-types/commands/CreateResolverCommand.d.ts +8 -7
  34. package/dist-types/commands/CreateTypeCommand.d.ts +6 -5
  35. package/dist-types/commands/DeleteApiCacheCommand.d.ts +6 -5
  36. package/dist-types/commands/DeleteApiCommand.d.ts +90 -0
  37. package/dist-types/commands/DeleteApiKeyCommand.d.ts +4 -3
  38. package/dist-types/commands/DeleteChannelNamespaceCommand.d.ts +91 -0
  39. package/dist-types/commands/DeleteDataSourceCommand.d.ts +6 -5
  40. package/dist-types/commands/DeleteDomainNameCommand.d.ts +6 -5
  41. package/dist-types/commands/DeleteFunctionCommand.d.ts +6 -5
  42. package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +6 -5
  43. package/dist-types/commands/DeleteResolverCommand.d.ts +6 -5
  44. package/dist-types/commands/DeleteTypeCommand.d.ts +6 -5
  45. package/dist-types/commands/DisassociateApiCommand.d.ts +6 -5
  46. package/dist-types/commands/DisassociateMergedGraphqlApiCommand.d.ts +8 -7
  47. package/dist-types/commands/DisassociateSourceGraphqlApiCommand.d.ts +8 -7
  48. package/dist-types/commands/EvaluateCodeCommand.d.ts +8 -7
  49. package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +8 -7
  50. package/dist-types/commands/FlushApiCacheCommand.d.ts +6 -5
  51. package/dist-types/commands/GetApiAssociationCommand.d.ts +4 -3
  52. package/dist-types/commands/GetApiCacheCommand.d.ts +6 -5
  53. package/dist-types/commands/GetApiCommand.d.ts +144 -0
  54. package/dist-types/commands/GetChannelNamespaceCommand.d.ts +109 -0
  55. package/dist-types/commands/GetDataSourceCommand.d.ts +6 -5
  56. package/dist-types/commands/GetDataSourceIntrospectionCommand.d.ts +7 -6
  57. package/dist-types/commands/GetDomainNameCommand.d.ts +4 -3
  58. package/dist-types/commands/GetFunctionCommand.d.ts +4 -3
  59. package/dist-types/commands/GetGraphqlApiCommand.d.ts +4 -3
  60. package/dist-types/commands/GetGraphqlApiEnvironmentVariablesCommand.d.ts +6 -4
  61. package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +2 -1
  62. package/dist-types/commands/GetResolverCommand.d.ts +4 -3
  63. package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +4 -3
  64. package/dist-types/commands/GetSourceApiAssociationCommand.d.ts +4 -3
  65. package/dist-types/commands/GetTypeCommand.d.ts +6 -5
  66. package/dist-types/commands/ListApiKeysCommand.d.ts +8 -6
  67. package/dist-types/commands/ListApisCommand.d.ts +144 -0
  68. package/dist-types/commands/ListChannelNamespacesCommand.d.ts +114 -0
  69. package/dist-types/commands/ListDataSourcesCommand.d.ts +4 -3
  70. package/dist-types/commands/ListDomainNamesCommand.d.ts +2 -2
  71. package/dist-types/commands/ListFunctionsCommand.d.ts +4 -3
  72. package/dist-types/commands/ListGraphqlApisCommand.d.ts +2 -2
  73. package/dist-types/commands/ListResolversByFunctionCommand.d.ts +4 -3
  74. package/dist-types/commands/ListResolversCommand.d.ts +4 -3
  75. package/dist-types/commands/ListSourceApiAssociationsCommand.d.ts +4 -3
  76. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -3
  77. package/dist-types/commands/ListTypesByAssociationCommand.d.ts +6 -5
  78. package/dist-types/commands/ListTypesCommand.d.ts +6 -5
  79. package/dist-types/commands/PutGraphqlApiEnvironmentVariablesCommand.d.ts +21 -17
  80. package/dist-types/commands/StartDataSourceIntrospectionCommand.d.ts +6 -5
  81. package/dist-types/commands/StartSchemaCreationCommand.d.ts +8 -7
  82. package/dist-types/commands/StartSchemaMergeCommand.d.ts +8 -6
  83. package/dist-types/commands/TagResourceCommand.d.ts +4 -3
  84. package/dist-types/commands/UntagResourceCommand.d.ts +4 -3
  85. package/dist-types/commands/UpdateApiCacheCommand.d.ts +6 -5
  86. package/dist-types/commands/UpdateApiCommand.d.ts +192 -0
  87. package/dist-types/commands/UpdateApiKeyCommand.d.ts +4 -3
  88. package/dist-types/commands/UpdateChannelNamespaceCommand.d.ts +124 -0
  89. package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -5
  90. package/dist-types/commands/UpdateDomainNameCommand.d.ts +6 -5
  91. package/dist-types/commands/UpdateFunctionCommand.d.ts +6 -5
  92. package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +7 -6
  93. package/dist-types/commands/UpdateResolverCommand.d.ts +6 -5
  94. package/dist-types/commands/UpdateSourceApiAssociationCommand.d.ts +6 -5
  95. package/dist-types/commands/UpdateTypeCommand.d.ts +6 -5
  96. package/dist-types/commands/index.d.ts +10 -0
  97. package/dist-types/index.d.ts +2 -2
  98. package/dist-types/models/models_0.d.ts +1305 -629
  99. package/dist-types/pagination/ListApisPaginator.d.ts +7 -0
  100. package/dist-types/pagination/ListChannelNamespacesPaginator.d.ts +7 -0
  101. package/dist-types/pagination/index.d.ts +2 -0
  102. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  103. package/dist-types/ts3.4/AppSync.d.ts +171 -0
  104. package/dist-types/ts3.4/AppSyncClient.d.ts +60 -0
  105. package/dist-types/ts3.4/commands/CreateApiCommand.d.ts +47 -0
  106. package/dist-types/ts3.4/commands/CreateChannelNamespaceCommand.d.ts +51 -0
  107. package/dist-types/ts3.4/commands/DeleteApiCommand.d.ts +47 -0
  108. package/dist-types/ts3.4/commands/DeleteChannelNamespaceCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/GetApiCommand.d.ts +41 -0
  110. package/dist-types/ts3.4/commands/GetChannelNamespaceCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/ListApisCommand.d.ts +47 -0
  112. package/dist-types/ts3.4/commands/ListChannelNamespacesCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/UpdateApiCommand.d.ts +47 -0
  114. package/dist-types/ts3.4/commands/UpdateChannelNamespaceCommand.d.ts +51 -0
  115. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  116. package/dist-types/ts3.4/models/models_0.d.ts +148 -2
  117. package/dist-types/ts3.4/pagination/ListApisPaginator.d.ts +11 -0
  118. package/dist-types/ts3.4/pagination/ListChannelNamespacesPaginator.d.ts +11 -0
  119. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  120. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  121. package/package.json +36 -36
@@ -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 missing. Check the
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 make your
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 again.</p>
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", // required
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 missing. Check the
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 make your
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 again.</p>
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 missing. Check the
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 make your
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 again.</p>
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 missing. Check the
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 make your
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 again.</p>
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 missing. Check the
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 make your
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 again.</p>
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";
@@ -1,6 +1,6 @@
1
1
  /**
2
- * <p>AppSync provides API actions for creating and interacting with data sources using GraphQL
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
  */