@aws-sdk/client-qapps 3.774.0 → 3.777.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 (44) hide show
  1. package/dist-cjs/QAppsClient.js +2 -1
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  3. package/dist-cjs/endpoint/EndpointParameters.js +2 -3
  4. package/dist-cjs/runtimeExtensions.js +2 -14
  5. package/dist-es/QAppsClient.js +2 -1
  6. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  7. package/dist-es/endpoint/EndpointParameters.js +2 -3
  8. package/dist-es/runtimeExtensions.js +2 -14
  9. package/dist-types/commands/AssociateLibraryItemReviewCommand.d.ts +8 -5
  10. package/dist-types/commands/AssociateQAppWithUserCommand.d.ts +8 -5
  11. package/dist-types/commands/BatchCreateCategoryCommand.d.ts +12 -9
  12. package/dist-types/commands/BatchDeleteCategoryCommand.d.ts +8 -5
  13. package/dist-types/commands/BatchUpdateCategoryCommand.d.ts +12 -9
  14. package/dist-types/commands/CreateLibraryItemCommand.d.ts +15 -15
  15. package/dist-types/commands/CreatePresignedUrlCommand.d.ts +33 -34
  16. package/dist-types/commands/CreateQAppCommand.d.ts +28 -28
  17. package/dist-types/commands/DeleteLibraryItemCommand.d.ts +8 -5
  18. package/dist-types/commands/DeleteQAppCommand.d.ts +8 -5
  19. package/dist-types/commands/DescribeQAppPermissionsCommand.d.ts +16 -16
  20. package/dist-types/commands/DisassociateLibraryItemReviewCommand.d.ts +8 -5
  21. package/dist-types/commands/DisassociateQAppFromUserCommand.d.ts +8 -5
  22. package/dist-types/commands/ExportQAppSessionDataCommand.d.ts +1 -0
  23. package/dist-types/commands/GetLibraryItemCommand.d.ts +24 -24
  24. package/dist-types/commands/GetQAppCommand.d.ts +29 -29
  25. package/dist-types/commands/GetQAppSessionCommand.d.ts +22 -22
  26. package/dist-types/commands/GetQAppSessionMetadataCommand.d.ts +13 -13
  27. package/dist-types/commands/ImportDocumentCommand.d.ts +19 -20
  28. package/dist-types/commands/ListCategoriesCommand.d.ts +13 -13
  29. package/dist-types/commands/ListLibraryItemsCommand.d.ts +54 -54
  30. package/dist-types/commands/ListQAppSessionDataCommand.d.ts +1 -0
  31. package/dist-types/commands/ListQAppsCommand.d.ts +55 -56
  32. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -6
  33. package/dist-types/commands/PredictQAppCommand.d.ts +1 -0
  34. package/dist-types/commands/StartQAppSessionCommand.d.ts +11 -11
  35. package/dist-types/commands/StopQAppSessionCommand.d.ts +1 -0
  36. package/dist-types/commands/TagResourceCommand.d.ts +9 -6
  37. package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
  38. package/dist-types/commands/UpdateLibraryItemCommand.d.ts +23 -23
  39. package/dist-types/commands/UpdateLibraryItemMetadataCommand.d.ts +9 -6
  40. package/dist-types/commands/UpdateQAppCommand.d.ts +36 -37
  41. package/dist-types/commands/UpdateQAppPermissionsCommand.d.ts +32 -33
  42. package/dist-types/commands/UpdateQAppSessionCommand.d.ts +1 -0
  43. package/dist-types/commands/UpdateQAppSessionMetadataCommand.d.ts +17 -17
  44. package/package.json +33 -33
@@ -85,41 +85,41 @@ declare const DescribeQAppPermissionsCommand_base: {
85
85
  * @throws {@link QAppsServiceException}
86
86
  * <p>Base exception class for all service exceptions from QApps service.</p>
87
87
  *
88
- * @public
88
+ *
89
89
  * @example Describe permissions for the app
90
90
  * ```javascript
91
91
  * //
92
92
  * const input = {
93
- * "appId": "fe0acf86-49e5-4def-a0c2-40ce0cafee14",
94
- * "instanceId": "01793661-ad73-4c7d-8eaa-1c95a10151c2"
93
+ * appId: "fe0acf86-49e5-4def-a0c2-40ce0cafee14",
94
+ * instanceId: "01793661-ad73-4c7d-8eaa-1c95a10151c2"
95
95
  * };
96
96
  * const command = new DescribeQAppPermissionsCommand(input);
97
97
  * const response = await client.send(command);
98
- * /* response ==
98
+ * /* response is
99
99
  * {
100
- * "appId": "fe0acf86-49e5-4def-a0c2-40ce0cafee14",
101
- * "permissions": [
100
+ * appId: "fe0acf86-49e5-4def-a0c2-40ce0cafee14",
101
+ * permissions: [
102
102
  * {
103
- * "action": "write",
104
- * "principal": {
105
- * "email": "user1@example.com",
106
- * "userId": "f8f15330-b091-708b-d46e-adb0d914b699"
103
+ * action: "write",
104
+ * principal: {
105
+ * email: "user1@example.com",
106
+ * userId: "f8f15330-b091-708b-d46e-adb0d914b699"
107
107
  * }
108
108
  * },
109
109
  * {
110
- * "action": "read",
111
- * "principal": {
112
- * "email": "user2@example.com",
113
- * "userId": "c81133d0-10d1-70eb-aaa3-d427ea6fc0f3"
110
+ * action: "read",
111
+ * principal: {
112
+ * email: "user2@example.com",
113
+ * userId: "c81133d0-10d1-70eb-aaa3-d427ea6fc0f3"
114
114
  * }
115
115
  * }
116
116
  * ],
117
- * "resourceArn": "arn:aws:qapps:us-west-2:111111111111:application/01793661-ad73-4c7d-8eaa-1c95a10151c2/qapp/fe0acf86-49e5-4def-a0c2-40ce0cafee14"
117
+ * resourceArn: "arn:aws:qapps:us-west-2:111111111111:application/01793661-ad73-4c7d-8eaa-1c95a10151c2/qapp/fe0acf86-49e5-4def-a0c2-40ce0cafee14"
118
118
  * }
119
119
  * *\/
120
- * // example id: example-1
121
120
  * ```
122
121
  *
122
+ * @public
123
123
  */
124
124
  export declare class DescribeQAppPermissionsCommand extends DescribeQAppPermissionsCommand_base {
125
125
  /** @internal type navigation helper, not in runtime. */
@@ -80,19 +80,22 @@ declare const DisassociateLibraryItemReviewCommand_base: {
80
80
  * @throws {@link QAppsServiceException}
81
81
  * <p>Base exception class for all service exceptions from QApps service.</p>
82
82
  *
83
- * @public
83
+ *
84
84
  * @example Decrease the rating counter by 1 for the related app for this user
85
85
  * ```javascript
86
86
  * //
87
87
  * const input = {
88
- * "instanceId": "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
89
- * "libraryItemId": "cb9ecf72-8563-450d-9db9-994f98297316"
88
+ * instanceId: "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
89
+ * libraryItemId: "cb9ecf72-8563-450d-9db9-994f98297316"
90
90
  * };
91
91
  * const command = new DisassociateLibraryItemReviewCommand(input);
92
- * await client.send(command);
93
- * // example id: example-1
92
+ * const response = await client.send(command);
93
+ * /* response is
94
+ * { /* metadata only *\/ }
95
+ * *\/
94
96
  * ```
95
97
  *
98
+ * @public
96
99
  */
97
100
  export declare class DisassociateLibraryItemReviewCommand extends DisassociateLibraryItemReviewCommand_base {
98
101
  /** @internal type navigation helper, not in runtime. */
@@ -72,19 +72,22 @@ declare const DisassociateQAppFromUserCommand_base: {
72
72
  * @throws {@link QAppsServiceException}
73
73
  * <p>Base exception class for all service exceptions from QApps service.</p>
74
74
  *
75
- * @public
75
+ *
76
76
  * @example Unlinks an Amazon Q App from the invoker's list of apps
77
77
  * ```javascript
78
78
  * //
79
79
  * const input = {
80
- * "appId": "393e77fb-0a30-4f47-ad30-75d71aeaed8a",
81
- * "instanceId": "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f"
80
+ * appId: "393e77fb-0a30-4f47-ad30-75d71aeaed8a",
81
+ * instanceId: "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f"
82
82
  * };
83
83
  * const command = new DisassociateQAppFromUserCommand(input);
84
- * await client.send(command);
85
- * // example id: example-1
84
+ * const response = await client.send(command);
85
+ * /* response is
86
+ * { /* metadata only *\/ }
87
+ * *\/
86
88
  * ```
87
89
  *
90
+ * @public
88
91
  */
89
92
  export declare class DisassociateQAppFromUserCommand extends DisassociateQAppFromUserCommand_base {
90
93
  /** @internal type navigation helper, not in runtime. */
@@ -84,6 +84,7 @@ declare const ExportQAppSessionDataCommand_base: {
84
84
  * @throws {@link QAppsServiceException}
85
85
  * <p>Base exception class for all service exceptions from QApps service.</p>
86
86
  *
87
+ *
87
88
  * @public
88
89
  */
89
90
  export declare class ExportQAppSessionDataCommand extends ExportQAppSessionDataCommand_base {
@@ -95,49 +95,49 @@ declare const GetLibraryItemCommand_base: {
95
95
  * @throws {@link QAppsServiceException}
96
96
  * <p>Base exception class for all service exceptions from QApps service.</p>
97
97
  *
98
- * @public
98
+ *
99
99
  * @example Retrieve a library item
100
100
  * ```javascript
101
101
  * //
102
102
  * const input = {
103
- * "instanceId": "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
104
- * "libraryItemId": "18cbebaa-196a-4aa5-a840-88d548e07f8f"
103
+ * instanceId: "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
104
+ * libraryItemId: "18cbebaa-196a-4aa5-a840-88d548e07f8f"
105
105
  * };
106
106
  * const command = new GetLibraryItemCommand(input);
107
107
  * const response = await client.send(command);
108
- * /* response ==
108
+ * /* response is
109
109
  * {
110
- * "appId": "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
111
- * "appVersion": 1,
112
- * "categories": [
110
+ * appId: "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
111
+ * appVersion: 1,
112
+ * categories: [
113
113
  * {
114
- * "id": "9c871ed4-1c41-4065-aefe-321cd4b61cf8",
115
- * "title": "HR"
114
+ * id: "9c871ed4-1c41-4065-aefe-321cd4b61cf8",
115
+ * title: "HR"
116
116
  * },
117
117
  * {
118
- * "id": "fdc4b483-c4e2-44c9-b4b2-6c850bbdb579",
119
- * "title": "General"
118
+ * id: "fdc4b483-c4e2-44c9-b4b2-6c850bbdb579",
119
+ * title: "General"
120
120
  * },
121
121
  * {
122
- * "id": "c1c4e374-118c-446f-81fb-cba6225d88da",
123
- * "title": "IT"
122
+ * id: "c1c4e374-118c-446f-81fb-cba6225d88da",
123
+ * title: "IT"
124
124
  * }
125
125
  * ],
126
- * "createdAt": "2024-05-08T16:09:56.080Z",
127
- * "createdBy": "a841e300-40c1-7062-fa34-5b46dadbbaac",
128
- * "isRatedByUser": false,
129
- * "isVerified": false,
130
- * "libraryItemId": "18cbebaa-196a-4aa5-a840-88d548e07f8f",
131
- * "ratingCount": 0,
132
- * "status": "PUBLISHED",
133
- * "updatedAt": "2024-05-08T16:09:56.080Z",
134
- * "updatedBy": "a841e300-40c1-7062-fa34-5b46dadbbaac",
135
- * "userCount": 1
126
+ * createdAt: "2024-05-08T16:09:56.080Z",
127
+ * createdBy: "a841e300-40c1-7062-fa34-5b46dadbbaac",
128
+ * isRatedByUser: false,
129
+ * isVerified: false,
130
+ * libraryItemId: "18cbebaa-196a-4aa5-a840-88d548e07f8f",
131
+ * ratingCount: 0,
132
+ * status: "PUBLISHED",
133
+ * updatedAt: "2024-05-08T16:09:56.080Z",
134
+ * updatedBy: "a841e300-40c1-7062-fa34-5b46dadbbaac",
135
+ * userCount: 1
136
136
  * }
137
137
  * *\/
138
- * // example id: example-1
139
138
  * ```
140
139
  *
140
+ * @public
141
141
  */
142
142
  export declare class GetLibraryItemCommand extends GetLibraryItemCommand_base {
143
143
  /** @internal type navigation helper, not in runtime. */
@@ -236,57 +236,57 @@ declare const GetQAppCommand_base: {
236
236
  * @throws {@link QAppsServiceException}
237
237
  * <p>Base exception class for all service exceptions from QApps service.</p>
238
238
  *
239
- * @public
239
+ *
240
240
  * @example A basic application with 1 text input card and 1 output card
241
241
  * ```javascript
242
242
  * //
243
243
  * const input = {
244
- * "appId": "3d110749-efc3-427c-87e8-15e966e5c168",
245
- * "instanceId": "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f"
244
+ * appId: "3d110749-efc3-427c-87e8-15e966e5c168",
245
+ * instanceId: "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f"
246
246
  * };
247
247
  * const command = new GetQAppCommand(input);
248
248
  * const response = await client.send(command);
249
- * /* response ==
249
+ * /* response is
250
250
  * {
251
- * "appArn": "arn:aws:qapps:us-west-2:123456789012:app/7212ff04-de7b-4831-bd80-45d6975ba1b0",
252
- * "appDefinition": {
253
- * "appDefinitionVersion": "1",
254
- * "cards": [
251
+ * appArn: "arn:aws:qapps:us-west-2:123456789012:app/7212ff04-de7b-4831-bd80-45d6975ba1b0",
252
+ * appDefinition: {
253
+ * appDefinitionVersion: "1",
254
+ * cards: [
255
255
  * {
256
- * "textInput": {
257
- * "type": "text-input",
258
- * "dependencies": [],
259
- * "id": "4cf94d96-8819-45c2-98cc-58c56b35c72f",
260
- * "title": "Color Base"
256
+ * textInput: {
257
+ * dependencies: [],
258
+ * id: "4cf94d96-8819-45c2-98cc-58c56b35c72f",
259
+ * title: "Color Base",
260
+ * type: "text-input"
261
261
  * }
262
262
  * },
263
263
  * {
264
- * "qQuery": {
265
- * "type": "q-query",
266
- * "dependencies": [
264
+ * qQuery: {
265
+ * dependencies: [
267
266
  * "91e4513d-6981-454a-9329-329c9302eef4"
268
267
  * ],
269
- * "id": "18870b94-1e63-40e0-8c12-669c90ac5acc",
270
- * "outputSource": "llm",
271
- * "prompt": "Recommend me a list of colors that go well with @91e4513d-6981-454a-9329-329c9302eef4 ",
272
- * "title": "Recommended Palette"
268
+ * id: "18870b94-1e63-40e0-8c12-669c90ac5acc",
269
+ * outputSource: "llm",
270
+ * prompt: "Recommend me a list of colors that go well with @91e4513d-6981-454a-9329-329c9302eef4 ",
271
+ * title: "Recommended Palette",
272
+ * type: "q-query"
273
273
  * }
274
274
  * }
275
275
  * ]
276
276
  * },
277
- * "appId": "7212ff04-de7b-4831-bd80-45d6975ba1b0",
278
- * "appVersion": 1,
279
- * "createdAt": "2024-05-14T00:11:54.232Z",
280
- * "createdBy": "a841e300-40c1-7062-fa34-5b46dadbbaac",
281
- * "status": "DRAFT",
282
- * "title": "Color Palette Generator",
283
- * "updatedAt": "2024-05-14T00:13:26.168Z",
284
- * "updatedBy": "a841e300-40c1-7062-fa34-5b46dadbbaac"
277
+ * appId: "7212ff04-de7b-4831-bd80-45d6975ba1b0",
278
+ * appVersion: 1,
279
+ * createdAt: "2024-05-14T00:11:54.232Z",
280
+ * createdBy: "a841e300-40c1-7062-fa34-5b46dadbbaac",
281
+ * status: "DRAFT",
282
+ * title: "Color Palette Generator",
283
+ * updatedAt: "2024-05-14T00:13:26.168Z",
284
+ * updatedBy: "a841e300-40c1-7062-fa34-5b46dadbbaac"
285
285
  * }
286
286
  * *\/
287
- * // example id: example-1
288
287
  * ```
289
288
  *
289
+ * @public
290
290
  */
291
291
  export declare class GetQAppCommand extends GetQAppCommand_base {
292
292
  /** @internal type navigation helper, not in runtime. */
@@ -97,46 +97,46 @@ declare const GetQAppSessionCommand_base: {
97
97
  * @throws {@link QAppsServiceException}
98
98
  * <p>Base exception class for all service exceptions from QApps service.</p>
99
99
  *
100
- * @public
100
+ *
101
101
  * @example Retrieves an existing session for an Amazon Q App
102
102
  * ```javascript
103
103
  * //
104
104
  * const input = {
105
- * "instanceId": "288ae830-1df2-4871-b6c0-4314d74dadef",
106
- * "sessionId": "1fca878e-64c5-4dc4-b1d9-c93effed4e82"
105
+ * instanceId: "288ae830-1df2-4871-b6c0-4314d74dadef",
106
+ * sessionId: "1fca878e-64c5-4dc4-b1d9-c93effed4e82"
107
107
  * };
108
108
  * const command = new GetQAppSessionCommand(input);
109
109
  * const response = await client.send(command);
110
- * /* response ==
110
+ * /* response is
111
111
  * {
112
- * "cardStatus": {
113
- * "1e6caeac-b481-45ff-a082-8b9a4a0b72e8": {
114
- * "currentState": "COMPLETED",
115
- * "currentValue": "Based on the responses, the most popular color is red, with 1 vote from the user \"user1\"."
112
+ * cardStatus: {
113
+ * 1e6caeac-b481-45ff-a082-8b9a4a0b72e8: {
114
+ * currentState: "COMPLETED",
115
+ * currentValue: `Based on the responses, the most popular color is red, with 1 vote from the user "user1".`
116
116
  * },
117
- * "6fb5b404-3b7b-48a4-8a8b-56406922a606": {
118
- * "currentState": "COMPLETED",
119
- * "currentValue": "",
120
- * "submissions": [
117
+ * 6fb5b404-3b7b-48a4-8a8b-56406922a606: {
118
+ * currentState: "COMPLETED",
119
+ * currentValue: "",
120
+ * submissions: [
121
121
  * {
122
- * "value": {
123
- * "18cee4cb-253e-4f87-9154-849fbb98e482": "user1",
124
- * "d52030f9-6c4b-47a9-a946-377f632c77cc": "red"
125
- * },
126
- * "submissionId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
127
- * "timestamp": "2023-06-15T14:30:45Z"
122
+ * submissionId: "f47ac10b-58cc-4372-a567-0e02b2c3d479",
123
+ * timestamp: "2023-06-15T14:30:45Z",
124
+ * value: {
125
+ * 18cee4cb-253e-4f87-9154-849fbb98e482: "user1",
126
+ * d52030f9-6c4b-47a9-a946-377f632c77cc: "red"
127
+ * }
128
128
  * }
129
129
  * ]
130
130
  * }
131
131
  * },
132
- * "sessionArn": "arn:aws:qapps:us-west-2:0123456789012:application/a929ecd6-5765-4ec7-bd3e-2ca90098b18e/qapp/65e7dce7-226a-47f9-b689-22850becef89/session/1fca878e-64c5-4dc4-b1d9-c93effed4e82",
133
- * "sessionId": "1fca878e-64c5-4dc4-b1d9-c93effed4e82",
134
- * "status": "COMPLETED"
132
+ * sessionArn: "arn:aws:qapps:us-west-2:0123456789012:application/a929ecd6-5765-4ec7-bd3e-2ca90098b18e/qapp/65e7dce7-226a-47f9-b689-22850becef89/session/1fca878e-64c5-4dc4-b1d9-c93effed4e82",
133
+ * sessionId: "1fca878e-64c5-4dc4-b1d9-c93effed4e82",
134
+ * status: "COMPLETED"
135
135
  * }
136
136
  * *\/
137
- * // example id: example-1
138
137
  * ```
139
138
  *
139
+ * @public
140
140
  */
141
141
  export declare class GetQAppSessionCommand extends GetQAppSessionCommand_base {
142
142
  /** @internal type navigation helper, not in runtime. */
@@ -86,32 +86,32 @@ declare const GetQAppSessionMetadataCommand_base: {
86
86
  * @throws {@link QAppsServiceException}
87
87
  * <p>Base exception class for all service exceptions from QApps service.</p>
88
88
  *
89
- * @public
89
+ *
90
90
  * @example Retrieves an existing session metadata for an Amazon Q App
91
91
  * ```javascript
92
92
  * //
93
93
  * const input = {
94
- * "instanceId": "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
95
- * "sessionId": "56ae47c3-10bc-4c2c-8b27-9b9fe23b3edb"
94
+ * instanceId: "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
95
+ * sessionId: "56ae47c3-10bc-4c2c-8b27-9b9fe23b3edb"
96
96
  * };
97
97
  * const command = new GetQAppSessionMetadataCommand(input);
98
98
  * const response = await client.send(command);
99
- * /* response ==
99
+ * /* response is
100
100
  * {
101
- * "sessionArn": "arn:aws:qapps:us-west-2:0123456789012:application/cbea8329-41c0-4566-a112-19250921a220/qapp/387ccac9-4717-489f-841f-729b7d7de355/session/56ae47c3-10bc-4c2c-8b27-9b9fe23b3edb",
102
- * "sessionId": "56ae47c3-10bc-4c2c-8b27-9b9fe23b3edb",
103
- * "sessionName": "Trip itinerary collection session",
104
- * "sessionOwner": true,
105
- * "sharingConfiguration": {
106
- * "acceptResponses": true,
107
- * "enabled": true,
108
- * "revealCards": false
101
+ * sessionArn: "arn:aws:qapps:us-west-2:0123456789012:application/cbea8329-41c0-4566-a112-19250921a220/qapp/387ccac9-4717-489f-841f-729b7d7de355/session/56ae47c3-10bc-4c2c-8b27-9b9fe23b3edb",
102
+ * sessionId: "56ae47c3-10bc-4c2c-8b27-9b9fe23b3edb",
103
+ * sessionName: "Trip itinerary collection session",
104
+ * sessionOwner: true,
105
+ * sharingConfiguration: {
106
+ * acceptResponses: true,
107
+ * enabled: true,
108
+ * revealCards: false
109
109
  * }
110
110
  * }
111
111
  * *\/
112
- * // example id: example-1
113
112
  * ```
114
113
  *
114
+ * @public
115
115
  */
116
116
  export declare class GetQAppSessionMetadataCommand extends GetQAppSessionMetadataCommand_base {
117
117
  /** @internal type navigation helper, not in runtime. */
@@ -90,50 +90,49 @@ declare const ImportDocumentCommand_base: {
90
90
  * @throws {@link QAppsServiceException}
91
91
  * <p>Base exception class for all service exceptions from QApps service.</p>
92
92
  *
93
- * @public
93
+ *
94
94
  * @example Upload a file to a specific session
95
95
  * ```javascript
96
96
  * //
97
97
  * const input = {
98
- * "appId": "4263767c-d889-4cb2-a8f6-8b649bc66af0",
99
- * "cardId": "82f69028-22a9-4bea-8727-0eabf58e9fed",
100
- * "fileContentsBase64": "data:text/plain;base64,SomeFileEncodedInBase64",
101
- * "fileName": "myFile.txt",
102
- * "instanceId": "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
103
- * "scope": "SESSION",
104
- * "sessionId": "4f0e5b87-9d38-41cd-9eb4-ebce2f2917cc"
98
+ * appId: "4263767c-d889-4cb2-a8f6-8b649bc66af0",
99
+ * cardId: "82f69028-22a9-4bea-8727-0eabf58e9fed",
100
+ * fileContentsBase64: "data:text/plain;base64,SomeFileEncodedInBase64",
101
+ * fileName: "myFile.txt",
102
+ * instanceId: "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
103
+ * scope: "SESSION",
104
+ * sessionId: "4f0e5b87-9d38-41cd-9eb4-ebce2f2917cc"
105
105
  * };
106
106
  * const command = new ImportDocumentCommand(input);
107
107
  * const response = await client.send(command);
108
- * /* response ==
108
+ * /* response is
109
109
  * {
110
- * "fileId": "412aa1b4-341c-45af-936d-da52f8a1a3b4"
110
+ * fileId: "412aa1b4-341c-45af-936d-da52f8a1a3b4"
111
111
  * }
112
112
  * *\/
113
- * // example id: example-1
114
113
  * ```
115
114
  *
116
115
  * @example Upload a file into a application
117
116
  * ```javascript
118
117
  * //
119
118
  * const input = {
120
- * "appId": "4263767c-d889-4cb2-a8f6-8b649bc66af0",
121
- * "cardId": "7a11f34b-42d4-4bc8-b668-ae4a788dae1e",
122
- * "fileContentsBase64": "data:text/plain;base64,SomeFileEncodedInBase64",
123
- * "fileName": "anApplicationFile.txt",
124
- * "instanceId": "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
125
- * "scope": "APPLICATION"
119
+ * appId: "4263767c-d889-4cb2-a8f6-8b649bc66af0",
120
+ * cardId: "7a11f34b-42d4-4bc8-b668-ae4a788dae1e",
121
+ * fileContentsBase64: "data:text/plain;base64,SomeFileEncodedInBase64",
122
+ * fileName: "anApplicationFile.txt",
123
+ * instanceId: "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
124
+ * scope: "APPLICATION"
126
125
  * };
127
126
  * const command = new ImportDocumentCommand(input);
128
127
  * const response = await client.send(command);
129
- * /* response ==
128
+ * /* response is
130
129
  * {
131
- * "fileId": "bc1a0cc9-076a-4e82-9a6c-f4d2d8a22489"
130
+ * fileId: "bc1a0cc9-076a-4e82-9a6c-f4d2d8a22489"
132
131
  * }
133
132
  * *\/
134
- * // example id: example-2
135
133
  * ```
136
134
  *
135
+ * @public
137
136
  */
138
137
  export declare class ImportDocumentCommand extends ImportDocumentCommand_base {
139
138
  /** @internal type navigation helper, not in runtime. */
@@ -81,36 +81,36 @@ declare const ListCategoriesCommand_base: {
81
81
  * @throws {@link QAppsServiceException}
82
82
  * <p>Base exception class for all service exceptions from QApps service.</p>
83
83
  *
84
- * @public
84
+ *
85
85
  * @example List categories available for the library items in this instance
86
86
  * ```javascript
87
87
  * //
88
88
  * const input = {
89
- * "instanceId": "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f"
89
+ * instanceId: "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f"
90
90
  * };
91
91
  * const command = new ListCategoriesCommand(input);
92
92
  * const response = await client.send(command);
93
- * /* response ==
93
+ * /* response is
94
94
  * {
95
- * "categories": [
95
+ * categories: [
96
96
  * {
97
- * "appCount": 10,
98
- * "color": "#FF6600",
99
- * "id": "549abfe0-f5c4-45a2-bb9b-c05987a49c6d",
100
- * "title": "HR"
97
+ * appCount: 10,
98
+ * color: "#FF6600",
99
+ * id: "549abfe0-f5c4-45a2-bb9b-c05987a49c6d",
100
+ * title: "HR"
101
101
  * },
102
102
  * {
103
- * "appCount": 11,
104
- * "color": "#FFFF00",
105
- * "id": "18cbebaa-196a-4aa5-a840-88d548e07f8f",
106
- * "title": "Marketing"
103
+ * appCount: 11,
104
+ * color: "#FFFF00",
105
+ * id: "18cbebaa-196a-4aa5-a840-88d548e07f8f",
106
+ * title: "Marketing"
107
107
  * }
108
108
  * ]
109
109
  * }
110
110
  * *\/
111
- * // example id: example-1
112
111
  * ```
113
112
  *
113
+ * @public
114
114
  */
115
115
  export declare class ListCategoriesCommand extends ListCategoriesCommand_base {
116
116
  /** @internal type navigation helper, not in runtime. */