@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
@@ -127,14 +127,15 @@ declare const GetGraphqlApiCommand_base: {
127
127
  * <p>You don't have access to perform this operation on this resource.</p>
128
128
  *
129
129
  * @throws {@link BadRequestException} (client fault)
130
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
131
- * field values, and then try again.</p>
130
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
131
+ * missing. Check the field values, and then try again.</p>
132
132
  *
133
133
  * @throws {@link InternalFailureException} (server fault)
134
134
  * <p>An internal AppSync error occurred. Try your request again.</p>
135
135
  *
136
136
  * @throws {@link NotFoundException} (client fault)
137
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
137
+ * <p>The resource specified in the request was not found. Check the resource, and then try
138
+ * again.</p>
138
139
  *
139
140
  * @throws {@link UnauthorizedException} (client fault)
140
141
  * <p>You aren't authorized to perform this operation.</p>
@@ -27,7 +27,8 @@ declare const GetGraphqlApiEnvironmentVariablesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves the list of environmental variable key-value pairs associated with an API by its ID value.</p>
30
+ * <p>Retrieves the list of environmental variable key-value pairs associated with an API by
31
+ * its ID value.</p>
31
32
  * @example
32
33
  * Use a bare-bones client and the command you need to make an API call.
33
34
  * ```javascript
@@ -57,14 +58,15 @@ declare const GetGraphqlApiEnvironmentVariablesCommand_base: {
57
58
  * <p>You don't have access to perform this operation on this resource.</p>
58
59
  *
59
60
  * @throws {@link BadRequestException} (client fault)
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>
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>
62
63
  *
63
64
  * @throws {@link InternalFailureException} (server fault)
64
65
  * <p>An internal AppSync error occurred. Try your request again.</p>
65
66
  *
66
67
  * @throws {@link NotFoundException} (client fault)
67
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
68
+ * <p>The resource specified in the request was not found. Check the resource, and then try
69
+ * again.</p>
68
70
  *
69
71
  * @throws {@link UnauthorizedException} (client fault)
70
72
  * <p>You aren't authorized to perform this operation.</p>
@@ -67,7 +67,8 @@ declare const GetIntrospectionSchemaCommand_base: {
67
67
  * <p>An internal AppSync error occurred. Try your request again.</p>
68
68
  *
69
69
  * @throws {@link NotFoundException} (client fault)
70
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
70
+ * <p>The resource specified in the request was not found. Check the resource, and then try
71
+ * again.</p>
71
72
  *
72
73
  * @throws {@link UnauthorizedException} (client fault)
73
74
  * <p>You aren't authorized to perform this operation.</p>
@@ -87,11 +87,12 @@ declare const GetResolverCommand_base: {
87
87
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
88
88
  *
89
89
  * @throws {@link ConcurrentModificationException} (client fault)
90
- * <p>Another modification is in progress at this time and it must complete before you can make your
91
- * change.</p>
90
+ * <p>Another modification is in progress at this time and it must complete before you can
91
+ * make your change.</p>
92
92
  *
93
93
  * @throws {@link NotFoundException} (client fault)
94
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
94
+ * <p>The resource specified in the request was not found. Check the resource, and then try
95
+ * again.</p>
95
96
  *
96
97
  * @throws {@link UnauthorizedException} (client fault)
97
98
  * <p>You aren't authorized to perform this operation.</p>
@@ -53,14 +53,15 @@ declare const GetSchemaCreationStatusCommand_base: {
53
53
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
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 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 again.</p>
63
+ * <p>The resource specified in the request was not found. Check the resource, and then try
64
+ * again.</p>
64
65
  *
65
66
  * @throws {@link UnauthorizedException} (client fault)
66
67
  * <p>You aren't authorized to perform this operation.</p>
@@ -67,14 +67,15 @@ declare const GetSourceApiAssociationCommand_base: {
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 missing. Check the
71
- * 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
71
+ * missing. Check the field values, and then try again.</p>
72
72
  *
73
73
  * @throws {@link InternalFailureException} (server fault)
74
74
  * <p>An internal AppSync error occurred. Try your request again.</p>
75
75
  *
76
76
  * @throws {@link NotFoundException} (client fault)
77
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
77
+ * <p>The resource specified in the request was not found. Check the resource, and then try
78
+ * again.</p>
78
79
  *
79
80
  * @throws {@link UnauthorizedException} (client fault)
80
81
  * <p>You aren't authorized to perform this operation.</p>
@@ -60,18 +60,19 @@ declare const GetTypeCommand_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>
@@ -29,9 +29,10 @@ declare const ListApiKeysCommand_base: {
29
29
  /**
30
30
  * <p>Lists the API keys for a given API.</p>
31
31
  * <note>
32
- * <p>API keys are deleted automatically 60 days after they expire. However, they may still be included in the
33
- * response until they have actually been deleted. You can safely call <code>DeleteApiKey</code> to manually
34
- * delete a key before it's automatically deleted.</p>
32
+ * <p>API keys are deleted automatically 60 days after they expire. However, they may still
33
+ * be included in the response until they have actually been deleted. You can safely call
34
+ * <code>DeleteApiKey</code> to manually delete a key before it's automatically
35
+ * deleted.</p>
35
36
  * </note>
36
37
  * @example
37
38
  * Use a bare-bones client and the command you need to make an API call.
@@ -67,14 +68,15 @@ declare const ListApiKeysCommand_base: {
67
68
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
68
69
  *
69
70
  * @throws {@link BadRequestException} (client fault)
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>
71
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
72
+ * missing. Check the field values, and then try again.</p>
72
73
  *
73
74
  * @throws {@link InternalFailureException} (server fault)
74
75
  * <p>An internal AppSync error occurred. Try your request again.</p>
75
76
  *
76
77
  * @throws {@link NotFoundException} (client fault)
77
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
78
+ * <p>The resource specified in the request was not found. Check the resource, and then try
79
+ * again.</p>
78
80
  *
79
81
  * @throws {@link UnauthorizedException} (client fault)
80
82
  * <p>You aren't authorized to perform this operation.</p>
@@ -0,0 +1,144 @@
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 { ListApisRequest, ListApisResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListApisCommand}.
14
+ */
15
+ export interface ListApisCommandInput extends ListApisRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListApisCommand}.
21
+ */
22
+ export interface ListApisCommandOutput extends ListApisResponse, __MetadataBearer {
23
+ }
24
+ declare const ListApisCommand_base: {
25
+ new (input: ListApisCommandInput): import("@smithy/smithy-client").CommandImpl<ListApisCommandInput, ListApisCommandOutput, AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListApisCommandInput]): import("@smithy/smithy-client").CommandImpl<ListApisCommandInput, ListApisCommandOutput, AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the APIs in your AppSync account.</p>
31
+ * <p>
32
+ * <code>ListApis</code> returns only the high level API details. For more detailed
33
+ * information about an API, use <code>GetApi</code>.</p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { AppSyncClient, ListApisCommand } from "@aws-sdk/client-appsync"; // ES Modules import
38
+ * // const { AppSyncClient, ListApisCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
39
+ * const client = new AppSyncClient(config);
40
+ * const input = { // ListApisRequest
41
+ * nextToken: "STRING_VALUE",
42
+ * maxResults: Number("int"),
43
+ * };
44
+ * const command = new ListApisCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListApisResponse
47
+ * // apis: [ // Apis
48
+ * // { // Api
49
+ * // apiId: "STRING_VALUE",
50
+ * // name: "STRING_VALUE",
51
+ * // ownerContact: "STRING_VALUE",
52
+ * // tags: { // TagMap
53
+ * // "<keys>": "STRING_VALUE",
54
+ * // },
55
+ * // dns: { // MapOfStringToString
56
+ * // "<keys>": "STRING_VALUE",
57
+ * // },
58
+ * // apiArn: "STRING_VALUE",
59
+ * // created: new Date("TIMESTAMP"),
60
+ * // xrayEnabled: true || false,
61
+ * // wafWebAclArn: "STRING_VALUE",
62
+ * // eventConfig: { // EventConfig
63
+ * // authProviders: [ // AuthProviders // required
64
+ * // { // AuthProvider
65
+ * // authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
66
+ * // cognitoConfig: { // CognitoConfig
67
+ * // userPoolId: "STRING_VALUE", // required
68
+ * // awsRegion: "STRING_VALUE", // required
69
+ * // appIdClientRegex: "STRING_VALUE",
70
+ * // },
71
+ * // openIDConnectConfig: { // OpenIDConnectConfig
72
+ * // issuer: "STRING_VALUE", // required
73
+ * // clientId: "STRING_VALUE",
74
+ * // iatTTL: Number("long"),
75
+ * // authTTL: Number("long"),
76
+ * // },
77
+ * // lambdaAuthorizerConfig: { // LambdaAuthorizerConfig
78
+ * // authorizerResultTtlInSeconds: Number("int"),
79
+ * // authorizerUri: "STRING_VALUE", // required
80
+ * // identityValidationExpression: "STRING_VALUE",
81
+ * // },
82
+ * // },
83
+ * // ],
84
+ * // connectionAuthModes: [ // AuthModes // required
85
+ * // { // AuthMode
86
+ * // authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
87
+ * // },
88
+ * // ],
89
+ * // defaultPublishAuthModes: [ // required
90
+ * // {
91
+ * // authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
92
+ * // },
93
+ * // ],
94
+ * // defaultSubscribeAuthModes: [ // required
95
+ * // {
96
+ * // authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
97
+ * // },
98
+ * // ],
99
+ * // logConfig: { // EventLogConfig
100
+ * // logLevel: "NONE" || "ERROR" || "ALL" || "INFO" || "DEBUG", // required
101
+ * // cloudWatchLogsRoleArn: "STRING_VALUE", // required
102
+ * // },
103
+ * // },
104
+ * // },
105
+ * // ],
106
+ * // nextToken: "STRING_VALUE",
107
+ * // };
108
+ *
109
+ * ```
110
+ *
111
+ * @param ListApisCommandInput - {@link ListApisCommandInput}
112
+ * @returns {@link ListApisCommandOutput}
113
+ * @see {@link ListApisCommandInput} for command's `input` shape.
114
+ * @see {@link ListApisCommandOutput} for command's `response` shape.
115
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
116
+ *
117
+ * @throws {@link BadRequestException} (client fault)
118
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
119
+ * missing. Check the field values, and then try again.</p>
120
+ *
121
+ * @throws {@link InternalFailureException} (server fault)
122
+ * <p>An internal AppSync error occurred. Try your request again.</p>
123
+ *
124
+ * @throws {@link UnauthorizedException} (client fault)
125
+ * <p>You aren't authorized to perform this operation.</p>
126
+ *
127
+ * @throws {@link AppSyncServiceException}
128
+ * <p>Base exception class for all service exceptions from AppSync service.</p>
129
+ *
130
+ * @public
131
+ */
132
+ export declare class ListApisCommand extends ListApisCommand_base {
133
+ /** @internal type navigation helper, not in runtime. */
134
+ protected static __types: {
135
+ api: {
136
+ input: ListApisRequest;
137
+ output: ListApisResponse;
138
+ };
139
+ sdk: {
140
+ input: ListApisCommandInput;
141
+ output: ListApisCommandOutput;
142
+ };
143
+ };
144
+ }
@@ -0,0 +1,114 @@
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 { ListChannelNamespacesRequest, ListChannelNamespacesResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListChannelNamespacesCommand}.
14
+ */
15
+ export interface ListChannelNamespacesCommandInput extends ListChannelNamespacesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListChannelNamespacesCommand}.
21
+ */
22
+ export interface ListChannelNamespacesCommandOutput extends ListChannelNamespacesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListChannelNamespacesCommand_base: {
25
+ new (input: ListChannelNamespacesCommandInput): import("@smithy/smithy-client").CommandImpl<ListChannelNamespacesCommandInput, ListChannelNamespacesCommandOutput, AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListChannelNamespacesCommandInput): import("@smithy/smithy-client").CommandImpl<ListChannelNamespacesCommandInput, ListChannelNamespacesCommandOutput, AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the channel namespaces for a specified <code>Api</code>.</p>
31
+ * <p>
32
+ * <code>ListChannelNamespaces</code> returns only high level details for the channel
33
+ * namespace. To retrieve code handlers, use
34
+ * <code>GetChannelNamespace</code>.</p>
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { AppSyncClient, ListChannelNamespacesCommand } from "@aws-sdk/client-appsync"; // ES Modules import
39
+ * // const { AppSyncClient, ListChannelNamespacesCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
40
+ * const client = new AppSyncClient(config);
41
+ * const input = { // ListChannelNamespacesRequest
42
+ * apiId: "STRING_VALUE", // required
43
+ * nextToken: "STRING_VALUE",
44
+ * maxResults: Number("int"),
45
+ * };
46
+ * const command = new ListChannelNamespacesCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListChannelNamespacesResponse
49
+ * // channelNamespaces: [ // ChannelNamespaces
50
+ * // { // ChannelNamespace
51
+ * // apiId: "STRING_VALUE",
52
+ * // name: "STRING_VALUE",
53
+ * // subscribeAuthModes: [ // AuthModes
54
+ * // { // AuthMode
55
+ * // authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
56
+ * // },
57
+ * // ],
58
+ * // publishAuthModes: [
59
+ * // {
60
+ * // authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
61
+ * // },
62
+ * // ],
63
+ * // codeHandlers: "STRING_VALUE",
64
+ * // tags: { // TagMap
65
+ * // "<keys>": "STRING_VALUE",
66
+ * // },
67
+ * // channelNamespaceArn: "STRING_VALUE",
68
+ * // created: new Date("TIMESTAMP"),
69
+ * // lastModified: new Date("TIMESTAMP"),
70
+ * // },
71
+ * // ],
72
+ * // nextToken: "STRING_VALUE",
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param ListChannelNamespacesCommandInput - {@link ListChannelNamespacesCommandInput}
78
+ * @returns {@link ListChannelNamespacesCommandOutput}
79
+ * @see {@link ListChannelNamespacesCommandInput} for command's `input` shape.
80
+ * @see {@link ListChannelNamespacesCommandOutput} for command's `response` shape.
81
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
82
+ *
83
+ * @throws {@link BadRequestException} (client fault)
84
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
85
+ * missing. Check the field values, and then try again.</p>
86
+ *
87
+ * @throws {@link InternalFailureException} (server fault)
88
+ * <p>An internal AppSync error occurred. Try your request again.</p>
89
+ *
90
+ * @throws {@link NotFoundException} (client fault)
91
+ * <p>The resource specified in the request was not found. Check the resource, and then try
92
+ * again.</p>
93
+ *
94
+ * @throws {@link UnauthorizedException} (client fault)
95
+ * <p>You aren't authorized to perform this operation.</p>
96
+ *
97
+ * @throws {@link AppSyncServiceException}
98
+ * <p>Base exception class for all service exceptions from AppSync service.</p>
99
+ *
100
+ * @public
101
+ */
102
+ export declare class ListChannelNamespacesCommand extends ListChannelNamespacesCommand_base {
103
+ /** @internal type navigation helper, not in runtime. */
104
+ protected static __types: {
105
+ api: {
106
+ input: ListChannelNamespacesRequest;
107
+ output: ListChannelNamespacesResponse;
108
+ };
109
+ sdk: {
110
+ input: ListChannelNamespacesCommandInput;
111
+ output: ListChannelNamespacesCommandOutput;
112
+ };
113
+ };
114
+ }
@@ -109,14 +109,15 @@ declare const ListDataSourcesCommand_base: {
109
109
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
110
110
  *
111
111
  * @throws {@link BadRequestException} (client fault)
112
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
113
- * field values, and then try again.</p>
112
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
113
+ * missing. Check the field values, and then try again.</p>
114
114
  *
115
115
  * @throws {@link InternalFailureException} (server fault)
116
116
  * <p>An internal AppSync error occurred. Try your request again.</p>
117
117
  *
118
118
  * @throws {@link NotFoundException} (client fault)
119
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
119
+ * <p>The resource specified in the request was not found. Check the resource, and then try
120
+ * again.</p>
120
121
  *
121
122
  * @throws {@link UnauthorizedException} (client fault)
122
123
  * <p>You aren't authorized to perform this operation.</p>
@@ -65,8 +65,8 @@ declare const ListDomainNamesCommand_base: {
65
65
  * <p>You don't have access to perform this operation on this resource.</p>
66
66
  *
67
67
  * @throws {@link BadRequestException} (client fault)
68
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
69
- * field values, and then try again.</p>
68
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
69
+ * missing. Check the field values, and then try again.</p>
70
70
  *
71
71
  * @throws {@link InternalFailureException} (server fault)
72
72
  * <p>An internal AppSync error occurred. Try your request again.</p>
@@ -79,14 +79,15 @@ declare const ListFunctionsCommand_base: {
79
79
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
80
80
  *
81
81
  * @throws {@link BadRequestException} (client fault)
82
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
83
- * field values, and then try again.</p>
82
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
83
+ * missing. Check the field values, and then try again.</p>
84
84
  *
85
85
  * @throws {@link InternalFailureException} (server fault)
86
86
  * <p>An internal AppSync error occurred. Try your request again.</p>
87
87
  *
88
88
  * @throws {@link NotFoundException} (client fault)
89
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
89
+ * <p>The resource specified in the request was not found. Check the resource, and then try
90
+ * again.</p>
90
91
  *
91
92
  * @throws {@link UnauthorizedException} (client fault)
92
93
  * <p>You aren't authorized to perform this operation.</p>
@@ -130,8 +130,8 @@ declare const ListGraphqlApisCommand_base: {
130
130
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
131
131
  *
132
132
  * @throws {@link BadRequestException} (client fault)
133
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
134
- * field values, and then try again.</p>
133
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
134
+ * missing. Check the field values, and then try again.</p>
135
135
  *
136
136
  * @throws {@link InternalFailureException} (server fault)
137
137
  * <p>An internal AppSync error occurred. Try your request again.</p>
@@ -91,14 +91,15 @@ declare const ListResolversByFunctionCommand_base: {
91
91
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
92
92
  *
93
93
  * @throws {@link BadRequestException} (client fault)
94
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
95
- * field values, and then try again.</p>
94
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
95
+ * missing. Check the field values, and then try again.</p>
96
96
  *
97
97
  * @throws {@link InternalFailureException} (server fault)
98
98
  * <p>An internal AppSync error occurred. Try your request again.</p>
99
99
  *
100
100
  * @throws {@link NotFoundException} (client fault)
101
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
101
+ * <p>The resource specified in the request was not found. Check the resource, and then try
102
+ * again.</p>
102
103
  *
103
104
  * @throws {@link UnauthorizedException} (client fault)
104
105
  * <p>You aren't authorized to perform this operation.</p>
@@ -91,14 +91,15 @@ declare const ListResolversCommand_base: {
91
91
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
92
92
  *
93
93
  * @throws {@link BadRequestException} (client fault)
94
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
95
- * field values, and then try again.</p>
94
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
95
+ * missing. Check the field values, and then try again.</p>
96
96
  *
97
97
  * @throws {@link InternalFailureException} (server fault)
98
98
  * <p>An internal AppSync error occurred. Try your request again.</p>
99
99
  *
100
100
  * @throws {@link NotFoundException} (client fault)
101
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
101
+ * <p>The resource specified in the request was not found. Check the resource, and then try
102
+ * again.</p>
102
103
  *
103
104
  * @throws {@link UnauthorizedException} (client fault)
104
105
  * <p>You aren't authorized to perform this operation.</p>
@@ -65,14 +65,15 @@ declare const ListSourceApiAssociationsCommand_base: {
65
65
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
66
66
  *
67
67
  * @throws {@link BadRequestException} (client fault)
68
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
69
- * field values, and then try again.</p>
68
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
69
+ * missing. Check the field values, and then try again.</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>
@@ -57,8 +57,8 @@ declare const ListTagsForResourceCommand_base: {
57
57
  * <p>You don't have access to perform this operation on this resource.</p>
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 missing. Check the
61
- * 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
61
+ * missing. Check the field values, and then try again.</p>
62
62
  *
63
63
  * @throws {@link InternalFailureException} (server fault)
64
64
  * <p>An internal AppSync error occurred. Try your request again.</p>
@@ -67,7 +67,8 @@ declare const ListTagsForResourceCommand_base: {
67
67
  * <p>The request exceeded a limit. Try your request again.</p>
68
68
  *
69
69
  * @throws {@link NotFoundException} (client fault)
70
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
70
+ * <p>The resource specified in the request was not found. Check the resource, and then try
71
+ * again.</p>
71
72
  *
72
73
  * @throws {@link UnauthorizedException} (client fault)
73
74
  * <p>You aren't authorized to perform this operation.</p>
@@ -65,18 +65,19 @@ declare const ListTypesByAssociationCommand_base: {
65
65
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
66
66
  *
67
67
  * @throws {@link BadRequestException} (client fault)
68
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
69
- * field values, and then try again.</p>
68
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
69
+ * missing. Check the field values, and then try again.</p>
70
70
  *
71
71
  * @throws {@link ConcurrentModificationException} (client fault)
72
- * <p>Another modification is in progress at this time and it must complete before you can make your
73
- * change.</p>
72
+ * <p>Another modification is in progress at this time and it must complete before you can
73
+ * make your change.</p>
74
74
  *
75
75
  * @throws {@link InternalFailureException} (server fault)
76
76
  * <p>An internal AppSync error occurred. Try your request again.</p>
77
77
  *
78
78
  * @throws {@link NotFoundException} (client fault)
79
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
79
+ * <p>The resource specified in the request was not found. Check the resource, and then try
80
+ * again.</p>
80
81
  *
81
82
  * @throws {@link UnauthorizedException} (client fault)
82
83
  * <p>You aren't authorized to perform this operation.</p>
@@ -64,18 +64,19 @@ declare const ListTypesCommand_base: {
64
64
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
65
65
  *
66
66
  * @throws {@link BadRequestException} (client fault)
67
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
68
- * field values, and then try again.</p>
67
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
68
+ * missing. Check the field values, and then try again.</p>
69
69
  *
70
70
  * @throws {@link ConcurrentModificationException} (client fault)
71
- * <p>Another modification is in progress at this time and it must complete before you can make your
72
- * change.</p>
71
+ * <p>Another modification is in progress at this time and it must complete before you can
72
+ * make your change.</p>
73
73
  *
74
74
  * @throws {@link InternalFailureException} (server fault)
75
75
  * <p>An internal AppSync error occurred. Try your request again.</p>
76
76
  *
77
77
  * @throws {@link NotFoundException} (client fault)
78
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
78
+ * <p>The resource specified in the request was not found. Check the resource, and then try
79
+ * again.</p>
79
80
  *
80
81
  * @throws {@link UnauthorizedException} (client fault)
81
82
  * <p>You aren't authorized to perform this operation.</p>