@aws-sdk/client-qbusiness 3.703.0 → 3.705.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.
- package/README.md +96 -0
- package/dist-cjs/index.js +801 -42
- package/dist-es/QBusiness.js +24 -0
- package/dist-es/commands/AssociatePermissionCommand.js +22 -0
- package/dist-es/commands/ChatCommand.js +2 -1
- package/dist-es/commands/CreateDataAccessorCommand.js +23 -0
- package/dist-es/commands/DeleteDataAccessorCommand.js +22 -0
- package/dist-es/commands/DisassociatePermissionCommand.js +22 -0
- package/dist-es/commands/GetDataAccessorCommand.js +23 -0
- package/dist-es/commands/GetPolicyCommand.js +22 -0
- package/dist-es/commands/ListDataAccessorsCommand.js +23 -0
- package/dist-es/commands/ListPluginActionsCommand.js +22 -0
- package/dist-es/commands/ListPluginTypeActionsCommand.js +22 -0
- package/dist-es/commands/ListPluginTypeMetadataCommand.js +22 -0
- package/dist-es/commands/SearchRelevantContentCommand.js +22 -0
- package/dist-es/commands/UpdateDataAccessorCommand.js +23 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +59 -52
- package/dist-es/models/models_1.js +54 -0
- package/dist-es/pagination/ListDataAccessorsPaginator.js +4 -0
- package/dist-es/pagination/ListPluginActionsPaginator.js +4 -0
- package/dist-es/pagination/ListPluginTypeActionsPaginator.js +4 -0
- package/dist-es/pagination/ListPluginTypeMetadataPaginator.js +4 -0
- package/dist-es/pagination/SearchRelevantContentPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +455 -4
- package/dist-types/QBusiness.d.ts +85 -0
- package/dist-types/QBusinessClient.d.ts +14 -2
- package/dist-types/commands/AssociatePermissionCommand.d.ts +105 -0
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +2 -2
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +2 -2
- package/dist-types/commands/ChatCommand.d.ts +5 -4
- package/dist-types/commands/ChatSyncCommand.d.ts +5 -4
- package/dist-types/commands/CreateApplicationCommand.d.ts +6 -3
- package/dist-types/commands/CreateDataAccessorCommand.d.ts +203 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/CreateIndexCommand.d.ts +2 -2
- package/dist-types/commands/CreatePluginCommand.d.ts +9 -3
- package/dist-types/commands/CreateRetrieverCommand.d.ts +2 -2
- package/dist-types/commands/CreateUserCommand.d.ts +2 -2
- package/dist-types/commands/CreateWebExperienceCommand.d.ts +8 -2
- package/dist-types/commands/DeleteApplicationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteChatControlsConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteConversationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteDataAccessorCommand.d.ts +95 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/DeleteGroupCommand.d.ts +2 -2
- package/dist-types/commands/DeleteIndexCommand.d.ts +2 -2
- package/dist-types/commands/DeletePluginCommand.d.ts +2 -2
- package/dist-types/commands/DeleteRetrieverCommand.d.ts +2 -2
- package/dist-types/commands/DeleteUserCommand.d.ts +2 -2
- package/dist-types/commands/DeleteWebExperienceCommand.d.ts +2 -2
- package/dist-types/commands/DisassociatePermissionCommand.d.ts +95 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +6 -3
- package/dist-types/commands/GetChatControlsConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/GetDataAccessorCommand.d.ts +191 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/GetGroupCommand.d.ts +2 -2
- package/dist-types/commands/GetIndexCommand.d.ts +2 -2
- package/dist-types/commands/GetMediaCommand.d.ts +2 -2
- package/dist-types/commands/GetPluginCommand.d.ts +9 -3
- package/dist-types/commands/GetPolicyCommand.d.ts +92 -0
- package/dist-types/commands/GetRetrieverCommand.d.ts +2 -2
- package/dist-types/commands/GetUserCommand.d.ts +2 -2
- package/dist-types/commands/GetWebExperienceCommand.d.ts +8 -2
- package/dist-types/commands/ListApplicationsCommand.d.ts +4 -1
- package/dist-types/commands/ListAttachmentsCommand.d.ts +2 -2
- package/dist-types/commands/ListConversationsCommand.d.ts +2 -2
- package/dist-types/commands/ListDataAccessorsCommand.d.ts +106 -0
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +2 -2
- package/dist-types/commands/ListDataSourcesCommand.d.ts +2 -2
- package/dist-types/commands/ListDocumentsCommand.d.ts +2 -2
- package/dist-types/commands/ListGroupsCommand.d.ts +2 -2
- package/dist-types/commands/ListIndicesCommand.d.ts +2 -2
- package/dist-types/commands/ListMessagesCommand.d.ts +3 -3
- package/dist-types/commands/ListPluginActionsCommand.d.ts +102 -0
- package/dist-types/commands/ListPluginTypeActionsCommand.d.ts +98 -0
- package/dist-types/commands/ListPluginTypeMetadataCommand.d.ts +95 -0
- package/dist-types/commands/ListPluginsCommand.d.ts +3 -3
- package/dist-types/commands/ListRetrieversCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/ListWebExperiencesCommand.d.ts +2 -2
- package/dist-types/commands/PutFeedbackCommand.d.ts +2 -2
- package/dist-types/commands/PutGroupCommand.d.ts +2 -2
- package/dist-types/commands/SearchRelevantContentCommand.d.ts +218 -0
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +4 -3
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateApplicationCommand.d.ts +2 -2
- package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDataAccessorCommand.d.ts +186 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateIndexCommand.d.ts +2 -2
- package/dist-types/commands/UpdatePluginCommand.d.ts +8 -2
- package/dist-types/commands/UpdateRetrieverCommand.d.ts +2 -2
- package/dist-types/commands/UpdateUserCommand.d.ts +3 -3
- package/dist-types/commands/UpdateWebExperienceCommand.d.ts +8 -2
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +735 -636
- package/dist-types/models/models_1.d.ts +752 -0
- package/dist-types/pagination/ListDataAccessorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPluginActionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPluginTypeActionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPluginTypeMetadataPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchRelevantContentPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
- package/dist-types/ts3.4/QBusiness.d.ts +205 -0
- package/dist-types/ts3.4/QBusinessClient.d.ts +72 -0
- package/dist-types/ts3.4/commands/AssociatePermissionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ChatCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ChatSyncCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateDataAccessorCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/DeleteDataAccessorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociatePermissionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDataAccessorCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListDataAccessorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPluginActionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPluginTypeActionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPluginTypeMetadataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SearchRelevantContentCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateChatControlsConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDataAccessorCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +250 -224
- package/dist-types/ts3.4/models/models_1.d.ts +241 -0
- package/dist-types/ts3.4/pagination/ListDataAccessorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPluginActionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPluginTypeActionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPluginTypeMetadataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchRelevantContentPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
- package/package.json +1 -1
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateDataAccessorResponse } from "../models/models_0";
|
|
4
|
+
import { CreateDataAccessorRequest } from "../models/models_1";
|
|
5
|
+
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export type { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*
|
|
14
|
+
* The input for {@link CreateDataAccessorCommand}.
|
|
15
|
+
*/
|
|
16
|
+
export interface CreateDataAccessorCommandInput extends CreateDataAccessorRequest {
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*
|
|
21
|
+
* The output of {@link CreateDataAccessorCommand}.
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateDataAccessorCommandOutput extends CreateDataAccessorResponse, __MetadataBearer {
|
|
24
|
+
}
|
|
25
|
+
declare const CreateDataAccessorCommand_base: {
|
|
26
|
+
new (input: CreateDataAccessorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataAccessorCommandInput, CreateDataAccessorCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
new (__0_0: CreateDataAccessorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataAccessorCommandInput, CreateDataAccessorCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* <p>Creates a new data accessor for an ISV to access data from a Q Business application.
|
|
32
|
+
* The data accessor is an entity that represents the ISV's access to the Q Business application's data.
|
|
33
|
+
* It includes the IAM role ARN for the ISV, a friendly name, and a set of action configurations that define the
|
|
34
|
+
* specific actions the ISV is allowed to perform and any associated data filters. When the data accessor is created,
|
|
35
|
+
* an AWS IAM Identity Center application is also created to manage the ISV's identity and authentication for
|
|
36
|
+
* accessing the Q Business application.</p>
|
|
37
|
+
* @example
|
|
38
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import { QBusinessClient, CreateDataAccessorCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
|
|
41
|
+
* // const { QBusinessClient, CreateDataAccessorCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
|
|
42
|
+
* const client = new QBusinessClient(config);
|
|
43
|
+
* const input = { // CreateDataAccessorRequest
|
|
44
|
+
* applicationId: "STRING_VALUE", // required
|
|
45
|
+
* principal: "STRING_VALUE", // required
|
|
46
|
+
* actionConfigurations: [ // ActionConfigurationList // required
|
|
47
|
+
* { // ActionConfiguration
|
|
48
|
+
* action: "STRING_VALUE", // required
|
|
49
|
+
* filterConfiguration: { // ActionFilterConfiguration
|
|
50
|
+
* documentAttributeFilter: { // AttributeFilter
|
|
51
|
+
* andAllFilters: [ // AttributeFilters
|
|
52
|
+
* {
|
|
53
|
+
* andAllFilters: [
|
|
54
|
+
* "<AttributeFilter>",
|
|
55
|
+
* ],
|
|
56
|
+
* orAllFilters: [
|
|
57
|
+
* "<AttributeFilter>",
|
|
58
|
+
* ],
|
|
59
|
+
* notFilter: "<AttributeFilter>",
|
|
60
|
+
* equalsTo: { // DocumentAttribute
|
|
61
|
+
* name: "STRING_VALUE", // required
|
|
62
|
+
* value: { // DocumentAttributeValue Union: only one key present
|
|
63
|
+
* stringValue: "STRING_VALUE",
|
|
64
|
+
* stringListValue: [ // DocumentAttributeStringListValue
|
|
65
|
+
* "STRING_VALUE",
|
|
66
|
+
* ],
|
|
67
|
+
* longValue: Number("long"),
|
|
68
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* containsAll: {
|
|
72
|
+
* name: "STRING_VALUE", // required
|
|
73
|
+
* value: {// Union: only one key present
|
|
74
|
+
* stringValue: "STRING_VALUE",
|
|
75
|
+
* stringListValue: [
|
|
76
|
+
* "STRING_VALUE",
|
|
77
|
+
* ],
|
|
78
|
+
* longValue: Number("long"),
|
|
79
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* containsAny: {
|
|
83
|
+
* name: "STRING_VALUE", // required
|
|
84
|
+
* value: {// Union: only one key present
|
|
85
|
+
* stringValue: "STRING_VALUE",
|
|
86
|
+
* stringListValue: [
|
|
87
|
+
* "STRING_VALUE",
|
|
88
|
+
* ],
|
|
89
|
+
* longValue: Number("long"),
|
|
90
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
91
|
+
* },
|
|
92
|
+
* },
|
|
93
|
+
* greaterThan: {
|
|
94
|
+
* name: "STRING_VALUE", // required
|
|
95
|
+
* value: {// Union: only one key present
|
|
96
|
+
* stringValue: "STRING_VALUE",
|
|
97
|
+
* stringListValue: [
|
|
98
|
+
* "STRING_VALUE",
|
|
99
|
+
* ],
|
|
100
|
+
* longValue: Number("long"),
|
|
101
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
102
|
+
* },
|
|
103
|
+
* },
|
|
104
|
+
* greaterThanOrEquals: {
|
|
105
|
+
* name: "STRING_VALUE", // required
|
|
106
|
+
* value: {// Union: only one key present
|
|
107
|
+
* stringValue: "STRING_VALUE",
|
|
108
|
+
* stringListValue: [
|
|
109
|
+
* "STRING_VALUE",
|
|
110
|
+
* ],
|
|
111
|
+
* longValue: Number("long"),
|
|
112
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
113
|
+
* },
|
|
114
|
+
* },
|
|
115
|
+
* lessThan: "<DocumentAttribute>",
|
|
116
|
+
* lessThanOrEquals: "<DocumentAttribute>",
|
|
117
|
+
* },
|
|
118
|
+
* ],
|
|
119
|
+
* orAllFilters: [
|
|
120
|
+
* "<AttributeFilter>",
|
|
121
|
+
* ],
|
|
122
|
+
* notFilter: "<AttributeFilter>",
|
|
123
|
+
* equalsTo: "<DocumentAttribute>",
|
|
124
|
+
* containsAll: "<DocumentAttribute>",
|
|
125
|
+
* containsAny: "<DocumentAttribute>",
|
|
126
|
+
* greaterThan: "<DocumentAttribute>",
|
|
127
|
+
* greaterThanOrEquals: "<DocumentAttribute>",
|
|
128
|
+
* lessThan: "<DocumentAttribute>",
|
|
129
|
+
* lessThanOrEquals: "<DocumentAttribute>",
|
|
130
|
+
* },
|
|
131
|
+
* },
|
|
132
|
+
* },
|
|
133
|
+
* ],
|
|
134
|
+
* clientToken: "STRING_VALUE",
|
|
135
|
+
* displayName: "STRING_VALUE", // required
|
|
136
|
+
* tags: [ // Tags
|
|
137
|
+
* { // Tag
|
|
138
|
+
* key: "STRING_VALUE", // required
|
|
139
|
+
* value: "STRING_VALUE", // required
|
|
140
|
+
* },
|
|
141
|
+
* ],
|
|
142
|
+
* };
|
|
143
|
+
* const command = new CreateDataAccessorCommand(input);
|
|
144
|
+
* const response = await client.send(command);
|
|
145
|
+
* // { // CreateDataAccessorResponse
|
|
146
|
+
* // dataAccessorId: "STRING_VALUE", // required
|
|
147
|
+
* // idcApplicationArn: "STRING_VALUE", // required
|
|
148
|
+
* // dataAccessorArn: "STRING_VALUE", // required
|
|
149
|
+
* // };
|
|
150
|
+
*
|
|
151
|
+
* ```
|
|
152
|
+
*
|
|
153
|
+
* @param CreateDataAccessorCommandInput - {@link CreateDataAccessorCommandInput}
|
|
154
|
+
* @returns {@link CreateDataAccessorCommandOutput}
|
|
155
|
+
* @see {@link CreateDataAccessorCommandInput} for command's `input` shape.
|
|
156
|
+
* @see {@link CreateDataAccessorCommandOutput} for command's `response` shape.
|
|
157
|
+
* @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
|
|
158
|
+
*
|
|
159
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
160
|
+
* <p> You don't have access to perform this action. Make sure you have the required
|
|
161
|
+
* permission policies and user accounts and try again.</p>
|
|
162
|
+
*
|
|
163
|
+
* @throws {@link ConflictException} (client fault)
|
|
164
|
+
* <p>You are trying to perform an action that conflicts with the current status of your
|
|
165
|
+
* resource. Fix any inconsistencies with your resources and try again.</p>
|
|
166
|
+
*
|
|
167
|
+
* @throws {@link InternalServerException} (server fault)
|
|
168
|
+
* <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
|
|
169
|
+
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
170
|
+
*
|
|
171
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
172
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
173
|
+
* provided the correct resource and try again.</p>
|
|
174
|
+
*
|
|
175
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
176
|
+
* <p>You have exceeded the set limits for your Amazon Q Business service. </p>
|
|
177
|
+
*
|
|
178
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
179
|
+
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
180
|
+
* again.</p>
|
|
181
|
+
*
|
|
182
|
+
* @throws {@link ValidationException} (client fault)
|
|
183
|
+
* <p>The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
|
|
184
|
+
* correct input and try again.</p>
|
|
185
|
+
*
|
|
186
|
+
* @throws {@link QBusinessServiceException}
|
|
187
|
+
* <p>Base exception class for all service exceptions from QBusiness service.</p>
|
|
188
|
+
*
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
export declare class CreateDataAccessorCommand extends CreateDataAccessorCommand_base {
|
|
192
|
+
/** @internal type navigation helper, not in runtime. */
|
|
193
|
+
protected static __types: {
|
|
194
|
+
api: {
|
|
195
|
+
input: CreateDataAccessorRequest;
|
|
196
|
+
output: CreateDataAccessorResponse;
|
|
197
|
+
};
|
|
198
|
+
sdk: {
|
|
199
|
+
input: CreateDataAccessorCommandInput;
|
|
200
|
+
output: CreateDataAccessorCommandOutput;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
}
|
|
@@ -159,8 +159,8 @@ declare const CreateDataSourceCommand_base: {
|
|
|
159
159
|
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
160
160
|
*
|
|
161
161
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
162
|
-
* <p>The resource you want to use doesn’t exist. Make sure you have
|
|
163
|
-
* resource and try again.</p>
|
|
162
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
163
|
+
* provided the correct resource and try again.</p>
|
|
164
164
|
*
|
|
165
165
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
166
166
|
* <p>You have exceeded the set limits for your Amazon Q Business service. </p>
|
|
@@ -86,8 +86,8 @@ declare const CreateIndexCommand_base: {
|
|
|
86
86
|
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
87
87
|
*
|
|
88
88
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
|
-
* <p>The resource you want to use doesn’t exist. Make sure you have
|
|
90
|
-
* resource and try again.</p>
|
|
89
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
90
|
+
* provided the correct resource and try again.</p>
|
|
91
91
|
*
|
|
92
92
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
93
93
|
* <p>You have exceeded the set limits for your Amazon Q Business service. </p>
|
|
@@ -37,7 +37,7 @@ declare const CreatePluginCommand_base: {
|
|
|
37
37
|
* const input = { // CreatePluginRequest
|
|
38
38
|
* applicationId: "STRING_VALUE", // required
|
|
39
39
|
* displayName: "STRING_VALUE", // required
|
|
40
|
-
* type: "SERVICE_NOW" || "SALESFORCE" || "JIRA" || "ZENDESK" || "CUSTOM", // required
|
|
40
|
+
* type: "SERVICE_NOW" || "SALESFORCE" || "JIRA" || "ZENDESK" || "CUSTOM" || "QUICKSIGHT" || "SERVICENOW_NOW_PLATFORM" || "JIRA_CLOUD" || "SALESFORCE_CRM" || "ZENDESK_SUITE" || "ATLASSIAN_CONFLUENCE" || "GOOGLE_CALENDAR" || "MICROSOFT_TEAMS" || "MICROSOFT_EXCHANGE" || "PAGERDUTY_ADVANCE" || "SMARTSHEET" || "ASANA", // required
|
|
41
41
|
* authConfiguration: { // PluginAuthConfiguration Union: only one key present
|
|
42
42
|
* basicAuthConfiguration: { // BasicAuthConfiguration
|
|
43
43
|
* secretArn: "STRING_VALUE", // required
|
|
@@ -46,8 +46,14 @@ declare const CreatePluginCommand_base: {
|
|
|
46
46
|
* oAuth2ClientCredentialConfiguration: { // OAuth2ClientCredentialConfiguration
|
|
47
47
|
* secretArn: "STRING_VALUE", // required
|
|
48
48
|
* roleArn: "STRING_VALUE", // required
|
|
49
|
+
* authorizationUrl: "STRING_VALUE",
|
|
50
|
+
* tokenUrl: "STRING_VALUE",
|
|
49
51
|
* },
|
|
50
52
|
* noAuthConfiguration: {},
|
|
53
|
+
* idcAuthConfiguration: { // IdcAuthConfiguration
|
|
54
|
+
* idcApplicationArn: "STRING_VALUE", // required
|
|
55
|
+
* roleArn: "STRING_VALUE", // required
|
|
56
|
+
* },
|
|
51
57
|
* },
|
|
52
58
|
* serverUrl: "STRING_VALUE",
|
|
53
59
|
* customPluginConfiguration: { // CustomPluginConfiguration
|
|
@@ -98,8 +104,8 @@ declare const CreatePluginCommand_base: {
|
|
|
98
104
|
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
99
105
|
*
|
|
100
106
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
101
|
-
* <p>The resource you want to use doesn’t exist. Make sure you have
|
|
102
|
-
* resource and try again.</p>
|
|
107
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
108
|
+
* provided the correct resource and try again.</p>
|
|
103
109
|
*
|
|
104
110
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
105
111
|
* <p>You have exceeded the set limits for your Amazon Q Business service. </p>
|
|
@@ -104,8 +104,8 @@ declare const CreateRetrieverCommand_base: {
|
|
|
104
104
|
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
105
105
|
*
|
|
106
106
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
107
|
-
* <p>The resource you want to use doesn’t exist. Make sure you have
|
|
108
|
-
* resource and try again.</p>
|
|
107
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
108
|
+
* provided the correct resource and try again.</p>
|
|
109
109
|
*
|
|
110
110
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
111
111
|
* <p>You have exceeded the set limits for your Amazon Q Business service. </p>
|
|
@@ -72,8 +72,8 @@ declare const CreateUserCommand_base: {
|
|
|
72
72
|
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
-
* <p>The resource you want to use doesn’t exist. Make sure you have
|
|
76
|
-
* resource and try again.</p>
|
|
75
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
76
|
+
* provided the correct resource and try again.</p>
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
79
79
|
* <p>You have exceeded the set limits for your Amazon Q Business service. </p>
|
|
@@ -65,6 +65,12 @@ declare const CreateWebExperienceCommand_base: {
|
|
|
65
65
|
* "STRING_VALUE",
|
|
66
66
|
* ],
|
|
67
67
|
* },
|
|
68
|
+
* customizationConfiguration: { // CustomizationConfiguration
|
|
69
|
+
* customCSSUrl: "STRING_VALUE",
|
|
70
|
+
* logoUrl: "STRING_VALUE",
|
|
71
|
+
* fontUrl: "STRING_VALUE",
|
|
72
|
+
* faviconUrl: "STRING_VALUE",
|
|
73
|
+
* },
|
|
68
74
|
* };
|
|
69
75
|
* const command = new CreateWebExperienceCommand(input);
|
|
70
76
|
* const response = await client.send(command);
|
|
@@ -94,8 +100,8 @@ declare const CreateWebExperienceCommand_base: {
|
|
|
94
100
|
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
95
101
|
*
|
|
96
102
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
97
|
-
* <p>The resource you want to use doesn’t exist. Make sure you have
|
|
98
|
-
* resource and try again.</p>
|
|
103
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
104
|
+
* provided the correct resource and try again.</p>
|
|
99
105
|
*
|
|
100
106
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
101
107
|
* <p>You have exceeded the set limits for your Amazon Q Business service. </p>
|
|
@@ -62,8 +62,8 @@ declare const DeleteApplicationCommand_base: {
|
|
|
62
62
|
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
-
* <p>The resource you want to use doesn’t exist. Make sure you have
|
|
66
|
-
* resource and try again.</p>
|
|
65
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
66
|
+
* provided the correct resource and try again.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ThrottlingException} (client fault)
|
|
69
69
|
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
@@ -58,8 +58,8 @@ declare const DeleteChatControlsConfigurationCommand_base: {
|
|
|
58
58
|
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
-
* <p>The resource you want to use doesn’t exist. Make sure you have
|
|
62
|
-
* resource and try again.</p>
|
|
61
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
62
|
+
* provided the correct resource and try again.</p>
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link ThrottlingException} (client fault)
|
|
65
65
|
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
@@ -64,8 +64,8 @@ declare const DeleteConversationCommand_base: {
|
|
|
64
64
|
* your admin to activate your license and try again after your licence is active.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
-
* <p>The resource you want to use doesn’t exist. Make sure you have
|
|
68
|
-
* resource and try again.</p>
|
|
67
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
68
|
+
* provided the correct resource and try again.</p>
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link ThrottlingException} (client fault)
|
|
71
71
|
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteDataAccessorRequest, DeleteDataAccessorResponse } from "../models/models_0";
|
|
4
|
+
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteDataAccessorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteDataAccessorCommandInput extends DeleteDataAccessorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteDataAccessorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteDataAccessorCommandOutput extends DeleteDataAccessorResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteDataAccessorCommand_base: {
|
|
25
|
+
new (input: DeleteDataAccessorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDataAccessorCommandInput, DeleteDataAccessorCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteDataAccessorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDataAccessorCommandInput, DeleteDataAccessorCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a specified data accessor. This operation permanently removes the data accessor
|
|
31
|
+
* and its associated AWS IAM Identity Center application. Any access granted to the ISV through this data accessor will be revoked</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { QBusinessClient, DeleteDataAccessorCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
|
|
36
|
+
* // const { QBusinessClient, DeleteDataAccessorCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
|
|
37
|
+
* const client = new QBusinessClient(config);
|
|
38
|
+
* const input = { // DeleteDataAccessorRequest
|
|
39
|
+
* applicationId: "STRING_VALUE", // required
|
|
40
|
+
* dataAccessorId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteDataAccessorCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DeleteDataAccessorCommandInput - {@link DeleteDataAccessorCommandInput}
|
|
49
|
+
* @returns {@link DeleteDataAccessorCommandOutput}
|
|
50
|
+
* @see {@link DeleteDataAccessorCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DeleteDataAccessorCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p> You don't have access to perform this action. Make sure you have the required
|
|
56
|
+
* permission policies and user accounts and try again.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ConflictException} (client fault)
|
|
59
|
+
* <p>You are trying to perform an action that conflicts with the current status of your
|
|
60
|
+
* resource. Fix any inconsistencies with your resources and try again.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
|
|
64
|
+
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
68
|
+
* provided the correct resource and try again.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
72
|
+
* again.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
|
|
76
|
+
* correct input and try again.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link QBusinessServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from QBusiness service.</p>
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class DeleteDataAccessorCommand extends DeleteDataAccessorCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: DeleteDataAccessorRequest;
|
|
88
|
+
output: {};
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: DeleteDataAccessorCommandInput;
|
|
92
|
+
output: DeleteDataAccessorCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -66,8 +66,8 @@ declare const DeleteDataSourceCommand_base: {
|
|
|
66
66
|
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
-
* <p>The resource you want to use doesn’t exist. Make sure you have
|
|
70
|
-
* resource and try again.</p>
|
|
69
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
70
|
+
* provided the correct resource and try again.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ThrottlingException} (client fault)
|
|
73
73
|
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
@@ -73,8 +73,8 @@ declare const DeleteGroupCommand_base: {
|
|
|
73
73
|
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
-
* <p>The resource you want to use doesn’t exist. Make sure you have
|
|
77
|
-
* resource and try again.</p>
|
|
76
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
77
|
+
* provided the correct resource and try again.</p>
|
|
78
78
|
*
|
|
79
79
|
* @throws {@link ThrottlingException} (client fault)
|
|
80
80
|
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
@@ -63,8 +63,8 @@ declare const DeleteIndexCommand_base: {
|
|
|
63
63
|
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
-
* <p>The resource you want to use doesn’t exist. Make sure you have
|
|
67
|
-
* resource and try again.</p>
|
|
66
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
67
|
+
* provided the correct resource and try again.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ThrottlingException} (client fault)
|
|
70
70
|
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
@@ -63,8 +63,8 @@ declare const DeletePluginCommand_base: {
|
|
|
63
63
|
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
-
* <p>The resource you want to use doesn’t exist. Make sure you have
|
|
67
|
-
* resource and try again.</p>
|
|
66
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
67
|
+
* provided the correct resource and try again.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ThrottlingException} (client fault)
|
|
70
70
|
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
@@ -63,8 +63,8 @@ declare const DeleteRetrieverCommand_base: {
|
|
|
63
63
|
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
-
* <p>The resource you want to use doesn’t exist. Make sure you have
|
|
67
|
-
* resource and try again.</p>
|
|
66
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
67
|
+
* provided the correct resource and try again.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ThrottlingException} (client fault)
|
|
70
70
|
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
@@ -63,8 +63,8 @@ declare const DeleteUserCommand_base: {
|
|
|
63
63
|
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
-
* <p>The resource you want to use doesn’t exist. Make sure you have
|
|
67
|
-
* resource and try again.</p>
|
|
66
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
67
|
+
* provided the correct resource and try again.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ThrottlingException} (client fault)
|
|
70
70
|
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
@@ -63,8 +63,8 @@ declare const DeleteWebExperienceCommand_base: {
|
|
|
63
63
|
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
-
* <p>The resource you want to use doesn’t exist. Make sure you have
|
|
67
|
-
* resource and try again.</p>
|
|
66
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
67
|
+
* provided the correct resource and try again.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ThrottlingException} (client fault)
|
|
70
70
|
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DisassociatePermissionRequest, DisassociatePermissionResponse } from "../models/models_0";
|
|
4
|
+
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisassociatePermissionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociatePermissionCommandInput extends DisassociatePermissionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociatePermissionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociatePermissionCommandOutput extends DisassociatePermissionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DisassociatePermissionCommand_base: {
|
|
25
|
+
new (input: DisassociatePermissionCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociatePermissionCommandInput, DisassociatePermissionCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DisassociatePermissionCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociatePermissionCommandInput, DisassociatePermissionCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Removes a permission policy from a Q Business application, revoking the cross-account access that was
|
|
31
|
+
* previously granted to an ISV. This operation deletes the specified policy statement from the application's permission policy.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { QBusinessClient, DisassociatePermissionCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
|
|
36
|
+
* // const { QBusinessClient, DisassociatePermissionCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
|
|
37
|
+
* const client = new QBusinessClient(config);
|
|
38
|
+
* const input = { // DisassociatePermissionRequest
|
|
39
|
+
* applicationId: "STRING_VALUE", // required
|
|
40
|
+
* statementId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DisassociatePermissionCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DisassociatePermissionCommandInput - {@link DisassociatePermissionCommandInput}
|
|
49
|
+
* @returns {@link DisassociatePermissionCommandOutput}
|
|
50
|
+
* @see {@link DisassociatePermissionCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DisassociatePermissionCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p> You don't have access to perform this action. Make sure you have the required
|
|
56
|
+
* permission policies and user accounts and try again.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ConflictException} (client fault)
|
|
59
|
+
* <p>You are trying to perform an action that conflicts with the current status of your
|
|
60
|
+
* resource. Fix any inconsistencies with your resources and try again.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
|
|
64
|
+
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
|
|
68
|
+
* provided the correct resource and try again.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
72
|
+
* again.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
|
|
76
|
+
* correct input and try again.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link QBusinessServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from QBusiness service.</p>
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class DisassociatePermissionCommand extends DisassociatePermissionCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: DisassociatePermissionRequest;
|
|
88
|
+
output: {};
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: DisassociatePermissionCommandInput;
|
|
92
|
+
output: DisassociatePermissionCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|