@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.
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 +1 -1
@@ -0,0 +1,133 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
4
+ import { CreateChannelNamespaceRequest, CreateChannelNamespaceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateChannelNamespaceCommand}.
14
+ */
15
+ export interface CreateChannelNamespaceCommandInput extends CreateChannelNamespaceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateChannelNamespaceCommand}.
21
+ */
22
+ export interface CreateChannelNamespaceCommandOutput extends CreateChannelNamespaceResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateChannelNamespaceCommand_base: {
25
+ new (input: CreateChannelNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChannelNamespaceCommandInput, CreateChannelNamespaceCommandOutput, AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateChannelNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChannelNamespaceCommandInput, CreateChannelNamespaceCommandOutput, AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a <code>ChannelNamespace</code> for an <code>Api</code>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AppSyncClient, CreateChannelNamespaceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
35
+ * // const { AppSyncClient, CreateChannelNamespaceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
36
+ * const client = new AppSyncClient(config);
37
+ * const input = { // CreateChannelNamespaceRequest
38
+ * apiId: "STRING_VALUE", // required
39
+ * name: "STRING_VALUE", // required
40
+ * subscribeAuthModes: [ // AuthModes
41
+ * { // AuthMode
42
+ * authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
43
+ * },
44
+ * ],
45
+ * publishAuthModes: [
46
+ * {
47
+ * authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
48
+ * },
49
+ * ],
50
+ * codeHandlers: "STRING_VALUE",
51
+ * tags: { // TagMap
52
+ * "<keys>": "STRING_VALUE",
53
+ * },
54
+ * };
55
+ * const command = new CreateChannelNamespaceCommand(input);
56
+ * const response = await client.send(command);
57
+ * // { // CreateChannelNamespaceResponse
58
+ * // channelNamespace: { // ChannelNamespace
59
+ * // apiId: "STRING_VALUE",
60
+ * // name: "STRING_VALUE",
61
+ * // subscribeAuthModes: [ // AuthModes
62
+ * // { // AuthMode
63
+ * // authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
64
+ * // },
65
+ * // ],
66
+ * // publishAuthModes: [
67
+ * // {
68
+ * // authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
69
+ * // },
70
+ * // ],
71
+ * // codeHandlers: "STRING_VALUE",
72
+ * // tags: { // TagMap
73
+ * // "<keys>": "STRING_VALUE",
74
+ * // },
75
+ * // channelNamespaceArn: "STRING_VALUE",
76
+ * // created: new Date("TIMESTAMP"),
77
+ * // lastModified: new Date("TIMESTAMP"),
78
+ * // },
79
+ * // };
80
+ *
81
+ * ```
82
+ *
83
+ * @param CreateChannelNamespaceCommandInput - {@link CreateChannelNamespaceCommandInput}
84
+ * @returns {@link CreateChannelNamespaceCommandOutput}
85
+ * @see {@link CreateChannelNamespaceCommandInput} for command's `input` shape.
86
+ * @see {@link CreateChannelNamespaceCommandOutput} for command's `response` shape.
87
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
88
+ *
89
+ * @throws {@link BadRequestException} (client fault)
90
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
91
+ * missing. Check the field values, and then try again.</p>
92
+ *
93
+ * @throws {@link ConcurrentModificationException} (client fault)
94
+ * <p>Another modification is in progress at this time and it must complete before you can
95
+ * make your change.</p>
96
+ *
97
+ * @throws {@link ConflictException} (client fault)
98
+ * <p>A conflict with a previous successful update is detected. This typically
99
+ * occurs when the previous update did not have time to propagate before the next update was
100
+ * made. A retry (with appropriate backoff logic) is the recommended response to this
101
+ * exception.</p>
102
+ *
103
+ * @throws {@link InternalFailureException} (server fault)
104
+ * <p>An internal AppSync error occurred. Try your request again.</p>
105
+ *
106
+ * @throws {@link NotFoundException} (client fault)
107
+ * <p>The resource specified in the request was not found. Check the resource, and then try
108
+ * again.</p>
109
+ *
110
+ * @throws {@link ServiceQuotaExceededException} (client fault)
111
+ * <p>The operation exceeded the service quota for this resource.</p>
112
+ *
113
+ * @throws {@link UnauthorizedException} (client fault)
114
+ * <p>You aren't authorized to perform this operation.</p>
115
+ *
116
+ * @throws {@link AppSyncServiceException}
117
+ * <p>Base exception class for all service exceptions from AppSync service.</p>
118
+ *
119
+ * @public
120
+ */
121
+ export declare class CreateChannelNamespaceCommand extends CreateChannelNamespaceCommand_base {
122
+ /** @internal type navigation helper, not in runtime. */
123
+ protected static __types: {
124
+ api: {
125
+ input: CreateChannelNamespaceRequest;
126
+ output: CreateChannelNamespaceResponse;
127
+ };
128
+ sdk: {
129
+ input: CreateChannelNamespaceCommandInput;
130
+ output: CreateChannelNamespaceCommandOutput;
131
+ };
132
+ };
133
+ }
@@ -154,18 +154,19 @@ declare const CreateDataSourceCommand_base: {
154
154
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
155
155
  *
156
156
  * @throws {@link BadRequestException} (client fault)
157
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
158
- * field values, and then try again.</p>
157
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
158
+ * missing. Check the field values, and then try again.</p>
159
159
  *
160
160
  * @throws {@link ConcurrentModificationException} (client fault)
161
- * <p>Another modification is in progress at this time and it must complete before you can make your
162
- * change.</p>
161
+ * <p>Another modification is in progress at this time and it must complete before you can
162
+ * make your change.</p>
163
163
  *
164
164
  * @throws {@link InternalFailureException} (server fault)
165
165
  * <p>An internal AppSync error occurred. Try your request again.</p>
166
166
  *
167
167
  * @throws {@link NotFoundException} (client fault)
168
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
168
+ * <p>The resource specified in the request was not found. Check the resource, and then try
169
+ * again.</p>
169
170
  *
170
171
  * @throws {@link UnauthorizedException} (client fault)
171
172
  * <p>You aren't authorized to perform this operation.</p>
@@ -63,8 +63,8 @@ declare const CreateDomainNameCommand_base: {
63
63
  * <p>You don't have access to perform this operation on this resource.</p>
64
64
  *
65
65
  * @throws {@link BadRequestException} (client fault)
66
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
67
- * field values, and then try again.</p>
66
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
67
+ * missing. Check the field values, and then try again.</p>
68
68
  *
69
69
  * @throws {@link InternalFailureException} (server fault)
70
70
  * <p>An internal AppSync error occurred. Try your request again.</p>
@@ -28,7 +28,8 @@ declare const CreateFunctionCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Creates a <code>Function</code> object.</p>
31
- * <p>A function is a reusable entity. You can use multiple functions to compose the resolver logic.</p>
31
+ * <p>A function is a reusable entity. You can use multiple functions to compose the resolver
32
+ * logic.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -94,18 +95,19 @@ declare const CreateFunctionCommand_base: {
94
95
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
95
96
  *
96
97
  * @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>
98
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
99
+ * missing. Check the field values, and then try again.</p>
99
100
  *
100
101
  * @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>
102
+ * <p>Another modification is in progress at this time and it must complete before you can
103
+ * make your change.</p>
103
104
  *
104
105
  * @throws {@link InternalFailureException} (server fault)
105
106
  * <p>An internal AppSync error occurred. Try your request again.</p>
106
107
  *
107
108
  * @throws {@link NotFoundException} (client fault)
108
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
109
+ * <p>The resource specified in the request was not found. Check the resource, and then try
110
+ * again.</p>
109
111
  *
110
112
  * @throws {@link UnauthorizedException} (client fault)
111
113
  * <p>You aren't authorized to perform this operation.</p>
@@ -84,9 +84,9 @@ declare const CreateGraphqlApiCommand_base: {
84
84
  * authorizerUri: "STRING_VALUE", // required
85
85
  * identityValidationExpression: "STRING_VALUE",
86
86
  * },
87
- * visibility: "GLOBAL" || "PRIVATE",
88
87
  * apiType: "GRAPHQL" || "MERGED",
89
88
  * mergedApiExecutionRoleArn: "STRING_VALUE",
89
+ * visibility: "GLOBAL" || "PRIVATE",
90
90
  * ownerContact: "STRING_VALUE",
91
91
  * introspectionConfig: "ENABLED" || "DISABLED",
92
92
  * queryDepthLimit: Number("int"),
@@ -187,12 +187,12 @@ declare const CreateGraphqlApiCommand_base: {
187
187
  * <p>The GraphQL API exceeded a limit. Try your request again.</p>
188
188
  *
189
189
  * @throws {@link BadRequestException} (client fault)
190
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
191
- * field values, and then try again.</p>
190
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
191
+ * missing. Check the field values, and then try again.</p>
192
192
  *
193
193
  * @throws {@link ConcurrentModificationException} (client fault)
194
- * <p>Another modification is in progress at this time and it must complete before you can make your
195
- * change.</p>
194
+ * <p>Another modification is in progress at this time and it must complete before you can
195
+ * make your change.</p>
196
196
  *
197
197
  * @throws {@link InternalFailureException} (server fault)
198
198
  * <p>An internal AppSync error occurred. Try your request again.</p>
@@ -28,8 +28,8 @@ declare const CreateResolverCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Creates a <code>Resolver</code> object.</p>
31
- * <p>A resolver converts incoming requests into a format that a data source can understand, and converts the data
32
- * source's responses into GraphQL.</p>
31
+ * <p>A resolver converts incoming requests into a format that a data source can understand,
32
+ * and converts the data source's responses into GraphQL.</p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -118,18 +118,19 @@ declare const CreateResolverCommand_base: {
118
118
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
119
119
  *
120
120
  * @throws {@link BadRequestException} (client fault)
121
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
122
- * field values, and then try again.</p>
121
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
122
+ * missing. Check the field values, and then try again.</p>
123
123
  *
124
124
  * @throws {@link ConcurrentModificationException} (client fault)
125
- * <p>Another modification is in progress at this time and it must complete before you can make your
126
- * change.</p>
125
+ * <p>Another modification is in progress at this time and it must complete before you can
126
+ * make your change.</p>
127
127
  *
128
128
  * @throws {@link InternalFailureException} (server fault)
129
129
  * <p>An internal AppSync error occurred. Try your request again.</p>
130
130
  *
131
131
  * @throws {@link NotFoundException} (client fault)
132
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
132
+ * <p>The resource specified in the request was not found. Check the resource, and then try
133
+ * again.</p>
133
134
  *
134
135
  * @throws {@link UnauthorizedException} (client fault)
135
136
  * <p>You aren't authorized to perform this operation.</p>
@@ -60,18 +60,19 @@ declare const CreateTypeCommand_base: {
60
60
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
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 missing. Check the
64
- * 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
64
+ * missing. Check the field values, and then try again.</p>
65
65
  *
66
66
  * @throws {@link ConcurrentModificationException} (client fault)
67
- * <p>Another modification is in progress at this time and it must complete before you can make your
68
- * change.</p>
67
+ * <p>Another modification is in progress at this time and it must complete before you can
68
+ * make your change.</p>
69
69
  *
70
70
  * @throws {@link InternalFailureException} (server fault)
71
71
  * <p>An internal AppSync error occurred. Try your request again.</p>
72
72
  *
73
73
  * @throws {@link NotFoundException} (client fault)
74
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
74
+ * <p>The resource specified in the request was not found. Check the resource, and then try
75
+ * again.</p>
75
76
  *
76
77
  * @throws {@link UnauthorizedException} (client fault)
77
78
  * <p>You aren't authorized to perform this operation.</p>
@@ -50,18 +50,19 @@ declare const DeleteApiCacheCommand_base: {
50
50
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
51
51
  *
52
52
  * @throws {@link BadRequestException} (client fault)
53
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
54
- * field values, and then try again.</p>
53
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
54
+ * missing. Check the field values, and then try again.</p>
55
55
  *
56
56
  * @throws {@link ConcurrentModificationException} (client fault)
57
- * <p>Another modification is in progress at this time and it must complete before you can make your
58
- * change.</p>
57
+ * <p>Another modification is in progress at this time and it must complete before you can
58
+ * make your change.</p>
59
59
  *
60
60
  * @throws {@link InternalFailureException} (server fault)
61
61
  * <p>An internal AppSync error occurred. Try your request again.</p>
62
62
  *
63
63
  * @throws {@link NotFoundException} (client fault)
64
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
64
+ * <p>The resource specified in the request was not found. Check the resource, and then try
65
+ * again.</p>
65
66
  *
66
67
  * @throws {@link UnauthorizedException} (client fault)
67
68
  * <p>You aren't authorized to perform this operation.</p>
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
4
+ import { DeleteApiRequest, DeleteApiResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteApiCommand}.
14
+ */
15
+ export interface DeleteApiCommandInput extends DeleteApiRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteApiCommand}.
21
+ */
22
+ export interface DeleteApiCommandOutput extends DeleteApiResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteApiCommand_base: {
25
+ new (input: DeleteApiCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteApiCommandInput, DeleteApiCommandOutput, AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteApiCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteApiCommandInput, DeleteApiCommandOutput, AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes an <code>Api</code> object</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AppSyncClient, DeleteApiCommand } from "@aws-sdk/client-appsync"; // ES Modules import
35
+ * // const { AppSyncClient, DeleteApiCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
36
+ * const client = new AppSyncClient(config);
37
+ * const input = { // DeleteApiRequest
38
+ * apiId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteApiCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteApiCommandInput - {@link DeleteApiCommandInput}
47
+ * @returns {@link DeleteApiCommandOutput}
48
+ * @see {@link DeleteApiCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteApiCommandOutput} for command's `response` shape.
50
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>You don't have access to perform this operation on this resource.</p>
54
+ *
55
+ * @throws {@link BadRequestException} (client fault)
56
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
57
+ * missing. Check the field values, and then try again.</p>
58
+ *
59
+ * @throws {@link ConcurrentModificationException} (client fault)
60
+ * <p>Another modification is in progress at this time and it must complete before you can
61
+ * make your change.</p>
62
+ *
63
+ * @throws {@link InternalFailureException} (server fault)
64
+ * <p>An internal AppSync error occurred. Try your request again.</p>
65
+ *
66
+ * @throws {@link NotFoundException} (client fault)
67
+ * <p>The resource specified in the request was not found. Check the resource, and then try
68
+ * again.</p>
69
+ *
70
+ * @throws {@link UnauthorizedException} (client fault)
71
+ * <p>You aren't authorized to perform this operation.</p>
72
+ *
73
+ * @throws {@link AppSyncServiceException}
74
+ * <p>Base exception class for all service exceptions from AppSync service.</p>
75
+ *
76
+ * @public
77
+ */
78
+ export declare class DeleteApiCommand extends DeleteApiCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: DeleteApiRequest;
83
+ output: {};
84
+ };
85
+ sdk: {
86
+ input: DeleteApiCommandInput;
87
+ output: DeleteApiCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -51,14 +51,15 @@ declare const DeleteApiKeyCommand_base: {
51
51
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
52
52
  *
53
53
  * @throws {@link BadRequestException} (client fault)
54
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
55
- * field values, and then try again.</p>
54
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
55
+ * missing. Check the field values, and then try again.</p>
56
56
  *
57
57
  * @throws {@link InternalFailureException} (server fault)
58
58
  * <p>An internal AppSync error occurred. Try your request again.</p>
59
59
  *
60
60
  * @throws {@link NotFoundException} (client fault)
61
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
61
+ * <p>The resource specified in the request was not found. Check the resource, and then try
62
+ * again.</p>
62
63
  *
63
64
  * @throws {@link UnauthorizedException} (client fault)
64
65
  * <p>You aren't authorized to perform this operation.</p>
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
4
+ import { DeleteChannelNamespaceRequest, DeleteChannelNamespaceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteChannelNamespaceCommand}.
14
+ */
15
+ export interface DeleteChannelNamespaceCommandInput extends DeleteChannelNamespaceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteChannelNamespaceCommand}.
21
+ */
22
+ export interface DeleteChannelNamespaceCommandOutput extends DeleteChannelNamespaceResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteChannelNamespaceCommand_base: {
25
+ new (input: DeleteChannelNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteChannelNamespaceCommandInput, DeleteChannelNamespaceCommandOutput, AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteChannelNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteChannelNamespaceCommandInput, DeleteChannelNamespaceCommandOutput, AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a <code>ChannelNamespace</code>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AppSyncClient, DeleteChannelNamespaceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
35
+ * // const { AppSyncClient, DeleteChannelNamespaceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
36
+ * const client = new AppSyncClient(config);
37
+ * const input = { // DeleteChannelNamespaceRequest
38
+ * apiId: "STRING_VALUE", // required
39
+ * name: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new DeleteChannelNamespaceCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param DeleteChannelNamespaceCommandInput - {@link DeleteChannelNamespaceCommandInput}
48
+ * @returns {@link DeleteChannelNamespaceCommandOutput}
49
+ * @see {@link DeleteChannelNamespaceCommandInput} for command's `input` shape.
50
+ * @see {@link DeleteChannelNamespaceCommandOutput} for command's `response` shape.
51
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>You don't have access to perform this operation on this resource.</p>
55
+ *
56
+ * @throws {@link BadRequestException} (client fault)
57
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
58
+ * missing. Check the field values, and then try again.</p>
59
+ *
60
+ * @throws {@link ConcurrentModificationException} (client fault)
61
+ * <p>Another modification is in progress at this time and it must complete before you can
62
+ * make your change.</p>
63
+ *
64
+ * @throws {@link InternalFailureException} (server fault)
65
+ * <p>An internal AppSync error occurred. Try your request again.</p>
66
+ *
67
+ * @throws {@link NotFoundException} (client fault)
68
+ * <p>The resource specified in the request was not found. Check the resource, and then try
69
+ * again.</p>
70
+ *
71
+ * @throws {@link UnauthorizedException} (client fault)
72
+ * <p>You aren't authorized to perform this operation.</p>
73
+ *
74
+ * @throws {@link AppSyncServiceException}
75
+ * <p>Base exception class for all service exceptions from AppSync service.</p>
76
+ *
77
+ * @public
78
+ */
79
+ export declare class DeleteChannelNamespaceCommand extends DeleteChannelNamespaceCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: DeleteChannelNamespaceRequest;
84
+ output: {};
85
+ };
86
+ sdk: {
87
+ input: DeleteChannelNamespaceCommandInput;
88
+ output: DeleteChannelNamespaceCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -51,18 +51,19 @@ declare const DeleteDataSourceCommand_base: {
51
51
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
52
52
  *
53
53
  * @throws {@link BadRequestException} (client fault)
54
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
55
- * field values, and then try again.</p>
54
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
55
+ * missing. Check the field values, and then try again.</p>
56
56
  *
57
57
  * @throws {@link ConcurrentModificationException} (client fault)
58
- * <p>Another modification is in progress at this time and it must complete before you can make your
59
- * change.</p>
58
+ * <p>Another modification is in progress at this time and it must complete before you can
59
+ * make your change.</p>
60
60
  *
61
61
  * @throws {@link InternalFailureException} (server fault)
62
62
  * <p>An internal AppSync error occurred. 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 again.</p>
65
+ * <p>The resource specified in the request was not found. Check the resource, and then try
66
+ * again.</p>
66
67
  *
67
68
  * @throws {@link UnauthorizedException} (client fault)
68
69
  * <p>You aren't authorized to perform this operation.</p>
@@ -53,18 +53,19 @@ declare const DeleteDomainNameCommand_base: {
53
53
  * <p>You don't have access to perform this operation on this resource.</p>
54
54
  *
55
55
  * @throws {@link BadRequestException} (client fault)
56
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
57
- * field values, and then try again.</p>
56
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
57
+ * missing. Check the field values, and then try again.</p>
58
58
  *
59
59
  * @throws {@link ConcurrentModificationException} (client fault)
60
- * <p>Another modification is in progress at this time and it must complete before you can make your
61
- * change.</p>
60
+ * <p>Another modification is in progress at this time and it must complete before you can
61
+ * make your change.</p>
62
62
  *
63
63
  * @throws {@link InternalFailureException} (server fault)
64
64
  * <p>An internal AppSync error occurred. Try your request again.</p>
65
65
  *
66
66
  * @throws {@link NotFoundException} (client fault)
67
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
67
+ * <p>The resource specified in the request was not found. Check the resource, and then try
68
+ * again.</p>
68
69
  *
69
70
  * @throws {@link AppSyncServiceException}
70
71
  * <p>Base exception class for all service exceptions from AppSync service.</p>
@@ -51,18 +51,19 @@ declare const DeleteFunctionCommand_base: {
51
51
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
52
52
  *
53
53
  * @throws {@link BadRequestException} (client fault)
54
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
55
- * field values, and then try again.</p>
54
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
55
+ * missing. Check the field values, and then try again.</p>
56
56
  *
57
57
  * @throws {@link ConcurrentModificationException} (client fault)
58
- * <p>Another modification is in progress at this time and it must complete before you can make your
59
- * change.</p>
58
+ * <p>Another modification is in progress at this time and it must complete before you can
59
+ * make your change.</p>
60
60
  *
61
61
  * @throws {@link InternalFailureException} (server fault)
62
62
  * <p>An internal AppSync error occurred. 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 again.</p>
65
+ * <p>The resource specified in the request was not found. Check the resource, and then try
66
+ * again.</p>
66
67
  *
67
68
  * @throws {@link UnauthorizedException} (client fault)
68
69
  * <p>You aren't authorized to perform this operation.</p>
@@ -53,18 +53,19 @@ declare const DeleteGraphqlApiCommand_base: {
53
53
  * <p>You don't have access to perform this operation on this resource.</p>
54
54
  *
55
55
  * @throws {@link BadRequestException} (client fault)
56
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
57
- * field values, and then try again.</p>
56
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
57
+ * missing. Check the field values, and then try again.</p>
58
58
  *
59
59
  * @throws {@link ConcurrentModificationException} (client fault)
60
- * <p>Another modification is in progress at this time and it must complete before you can make your
61
- * change.</p>
60
+ * <p>Another modification is in progress at this time and it must complete before you can
61
+ * make your change.</p>
62
62
  *
63
63
  * @throws {@link InternalFailureException} (server fault)
64
64
  * <p>An internal AppSync error occurred. Try your request again.</p>
65
65
  *
66
66
  * @throws {@link NotFoundException} (client fault)
67
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
67
+ * <p>The resource specified in the request was not found. Check the resource, and then try
68
+ * again.</p>
68
69
  *
69
70
  * @throws {@link UnauthorizedException} (client fault)
70
71
  * <p>You aren't authorized to perform this operation.</p>