@aws-sdk/client-wickr 3.995.0 → 3.996.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 +14 -0
- package/dist-cjs/index.js +45 -18
- package/dist-cjs/schemas/schemas_0.js +46 -11
- package/dist-es/Wickr.js +4 -0
- package/dist-es/commands/GetOpentdfConfigCommand.js +16 -0
- package/dist-es/commands/RegisterOpentdfConfigCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +43 -8
- package/dist-types/Wickr.d.ts +14 -0
- package/dist-types/WickrClient.d.ts +4 -2
- package/dist-types/commands/GetOpentdfConfigCommand.d.ts +134 -0
- package/dist-types/commands/RegisterOpentdfConfigCommand.d.ts +200 -0
- package/dist-types/commands/UpdateNetworkSettingsCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +100 -0
- package/dist-types/schemas/schemas_0.d.ts +6 -0
- package/dist-types/ts3.4/Wickr.d.ts +34 -0
- package/dist-types/ts3.4/WickrClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetOpentdfConfigCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/RegisterOpentdfConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +24 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
- package/package.json +6 -6
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetOpentdfConfigRequest, GetOpentdfConfigResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WickrClientResolvedConfig } from "../WickrClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetOpentdfConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetOpentdfConfigCommandInput extends GetOpentdfConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetOpentdfConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetOpentdfConfigCommandOutput extends GetOpentdfConfigResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetOpentdfConfigCommand_base: {
|
|
25
|
+
new (input: GetOpentdfConfigCommandInput): import("@smithy/smithy-client").CommandImpl<GetOpentdfConfigCommandInput, GetOpentdfConfigCommandOutput, WickrClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetOpentdfConfigCommandInput): import("@smithy/smithy-client").CommandImpl<GetOpentdfConfigCommandInput, GetOpentdfConfigCommandOutput, WickrClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the OpenTDF integration configuration for a Wickr network.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WickrClient, GetOpentdfConfigCommand } from "@aws-sdk/client-wickr"; // ES Modules import
|
|
35
|
+
* // const { WickrClient, GetOpentdfConfigCommand } = require("@aws-sdk/client-wickr"); // CommonJS import
|
|
36
|
+
* // import type { WickrClientConfig } from "@aws-sdk/client-wickr";
|
|
37
|
+
* const config = {}; // type is WickrClientConfig
|
|
38
|
+
* const client = new WickrClient(config);
|
|
39
|
+
* const input = { // GetOpentdfConfigRequest
|
|
40
|
+
* networkId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetOpentdfConfigCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetOpentdfConfigResponse
|
|
45
|
+
* // clientId: "STRING_VALUE", // required
|
|
46
|
+
* // domain: "STRING_VALUE", // required
|
|
47
|
+
* // clientSecret: "STRING_VALUE", // required
|
|
48
|
+
* // provider: "STRING_VALUE", // required
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param GetOpentdfConfigCommandInput - {@link GetOpentdfConfigCommandInput}
|
|
54
|
+
* @returns {@link GetOpentdfConfigCommandOutput}
|
|
55
|
+
* @see {@link GetOpentdfConfigCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link GetOpentdfConfigCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link WickrClientResolvedConfig | config} for WickrClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link BadRequestError} (client fault)
|
|
60
|
+
* <p>The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ForbiddenError} (client fault)
|
|
63
|
+
* <p>Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerError} (server fault)
|
|
66
|
+
* <p>An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link RateLimitError} (client fault)
|
|
69
|
+
* <p>The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundError} (client fault)
|
|
72
|
+
* <p>The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link UnauthorizedError} (client fault)
|
|
75
|
+
* <p>The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationError} (client fault)
|
|
78
|
+
* <p>One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link WickrServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from Wickr service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @example Get OpenTDF info successfully
|
|
85
|
+
* ```javascript
|
|
86
|
+
* //
|
|
87
|
+
* const input = {
|
|
88
|
+
* networkId: "12345678"
|
|
89
|
+
* };
|
|
90
|
+
* const command = new GetOpentdfConfigCommand(input);
|
|
91
|
+
* const response = await client.send(command);
|
|
92
|
+
* /* response is
|
|
93
|
+
* {
|
|
94
|
+
* clientId: "client123",
|
|
95
|
+
* clientSecret: "secret456",
|
|
96
|
+
* domain: "https://api.sample.com",
|
|
97
|
+
* provider: "virtru"
|
|
98
|
+
* }
|
|
99
|
+
* *\/
|
|
100
|
+
* ```
|
|
101
|
+
*
|
|
102
|
+
* @example Get OpenTDF info - not configured
|
|
103
|
+
* ```javascript
|
|
104
|
+
* //
|
|
105
|
+
* const input = {
|
|
106
|
+
* networkId: "12345678"
|
|
107
|
+
* };
|
|
108
|
+
* const command = new GetOpentdfConfigCommand(input);
|
|
109
|
+
* const response = await client.send(command);
|
|
110
|
+
* /* response is
|
|
111
|
+
* {
|
|
112
|
+
* clientId: "",
|
|
113
|
+
* clientSecret: "",
|
|
114
|
+
* domain: "",
|
|
115
|
+
* provider: ""
|
|
116
|
+
* }
|
|
117
|
+
* *\/
|
|
118
|
+
* ```
|
|
119
|
+
*
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export declare class GetOpentdfConfigCommand extends GetOpentdfConfigCommand_base {
|
|
123
|
+
/** @internal type navigation helper, not in runtime. */
|
|
124
|
+
protected static __types: {
|
|
125
|
+
api: {
|
|
126
|
+
input: GetOpentdfConfigRequest;
|
|
127
|
+
output: GetOpentdfConfigResponse;
|
|
128
|
+
};
|
|
129
|
+
sdk: {
|
|
130
|
+
input: GetOpentdfConfigCommandInput;
|
|
131
|
+
output: GetOpentdfConfigCommandOutput;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { RegisterOpentdfConfigRequest, RegisterOpentdfConfigResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WickrClientResolvedConfig } from "../WickrClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link RegisterOpentdfConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RegisterOpentdfConfigCommandInput extends RegisterOpentdfConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RegisterOpentdfConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RegisterOpentdfConfigCommandOutput extends RegisterOpentdfConfigResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RegisterOpentdfConfigCommand_base: {
|
|
25
|
+
new (input: RegisterOpentdfConfigCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterOpentdfConfigCommandInput, RegisterOpentdfConfigCommandOutput, WickrClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RegisterOpentdfConfigCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterOpentdfConfigCommandInput, RegisterOpentdfConfigCommandOutput, WickrClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Registers and saves OpenTDF configuration for a Wickr network, enabling attribute-based access control for Wickr through an OpenTDF provider.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WickrClient, RegisterOpentdfConfigCommand } from "@aws-sdk/client-wickr"; // ES Modules import
|
|
35
|
+
* // const { WickrClient, RegisterOpentdfConfigCommand } = require("@aws-sdk/client-wickr"); // CommonJS import
|
|
36
|
+
* // import type { WickrClientConfig } from "@aws-sdk/client-wickr";
|
|
37
|
+
* const config = {}; // type is WickrClientConfig
|
|
38
|
+
* const client = new WickrClient(config);
|
|
39
|
+
* const input = { // RegisterOpentdfConfigRequest
|
|
40
|
+
* networkId: "STRING_VALUE", // required
|
|
41
|
+
* clientId: "STRING_VALUE", // required
|
|
42
|
+
* clientSecret: "STRING_VALUE", // required
|
|
43
|
+
* domain: "STRING_VALUE", // required
|
|
44
|
+
* provider: "STRING_VALUE", // required
|
|
45
|
+
* dryRun: true || false,
|
|
46
|
+
* };
|
|
47
|
+
* const command = new RegisterOpentdfConfigCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // RegisterOpentdfConfigResponse
|
|
50
|
+
* // clientId: "STRING_VALUE", // required
|
|
51
|
+
* // domain: "STRING_VALUE", // required
|
|
52
|
+
* // clientSecret: "STRING_VALUE", // required
|
|
53
|
+
* // provider: "STRING_VALUE", // required
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param RegisterOpentdfConfigCommandInput - {@link RegisterOpentdfConfigCommandInput}
|
|
59
|
+
* @returns {@link RegisterOpentdfConfigCommandOutput}
|
|
60
|
+
* @see {@link RegisterOpentdfConfigCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link RegisterOpentdfConfigCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link WickrClientResolvedConfig | config} for WickrClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link BadRequestError} (client fault)
|
|
65
|
+
* <p>The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ForbiddenError} (client fault)
|
|
68
|
+
* <p>Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerError} (server fault)
|
|
71
|
+
* <p>An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link RateLimitError} (client fault)
|
|
74
|
+
* <p>The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundError} (client fault)
|
|
77
|
+
* <p>The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link UnauthorizedError} (client fault)
|
|
80
|
+
* <p>The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationError} (client fault)
|
|
83
|
+
* <p>One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link WickrServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from Wickr service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @example Save OpenTDF config successfully
|
|
90
|
+
* ```javascript
|
|
91
|
+
* //
|
|
92
|
+
* const input = {
|
|
93
|
+
* clientId: "client123",
|
|
94
|
+
* clientSecret: "secret456",
|
|
95
|
+
* domain: "https://api.sample.com",
|
|
96
|
+
* networkId: "12345678",
|
|
97
|
+
* provider: "virtru"
|
|
98
|
+
* };
|
|
99
|
+
* const command = new RegisterOpentdfConfigCommand(input);
|
|
100
|
+
* const response = await client.send(command);
|
|
101
|
+
* /* response is
|
|
102
|
+
* {
|
|
103
|
+
* clientId: "client123",
|
|
104
|
+
* clientSecret: "secret456",
|
|
105
|
+
* domain: "https://api.sample.com",
|
|
106
|
+
* provider: "virtru"
|
|
107
|
+
* }
|
|
108
|
+
* *\/
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
111
|
+
* @example Dry run saving OpenTDF config
|
|
112
|
+
* ```javascript
|
|
113
|
+
* //
|
|
114
|
+
* const input = {
|
|
115
|
+
* clientId: "client123",
|
|
116
|
+
* clientSecret: "secret456",
|
|
117
|
+
* domain: "https://api.sample.com",
|
|
118
|
+
* dryRun: true,
|
|
119
|
+
* networkId: "12345678",
|
|
120
|
+
* provider: "virtru"
|
|
121
|
+
* };
|
|
122
|
+
* const command = new RegisterOpentdfConfigCommand(input);
|
|
123
|
+
* const response = await client.send(command);
|
|
124
|
+
* /* response is
|
|
125
|
+
* {
|
|
126
|
+
* clientId: "client123",
|
|
127
|
+
* clientSecret: "secret456",
|
|
128
|
+
* domain: "https://api.sample.com",
|
|
129
|
+
* provider: "virtru"
|
|
130
|
+
* }
|
|
131
|
+
* *\/
|
|
132
|
+
* ```
|
|
133
|
+
*
|
|
134
|
+
* @example Dry run saving OpenTDF config - failed test
|
|
135
|
+
* ```javascript
|
|
136
|
+
* //
|
|
137
|
+
* const input = {
|
|
138
|
+
* clientId: "client123",
|
|
139
|
+
* clientSecret: "secret456",
|
|
140
|
+
* domain: "https://api.sample.com",
|
|
141
|
+
* dryRun: true,
|
|
142
|
+
* networkId: "12345678",
|
|
143
|
+
* provider: "virtru"
|
|
144
|
+
* };
|
|
145
|
+
* const command = new RegisterOpentdfConfigCommand(input);
|
|
146
|
+
* const response = await client.send(command);
|
|
147
|
+
* /* response is
|
|
148
|
+
* { /* metadata only *\/ }
|
|
149
|
+
* *\/
|
|
150
|
+
* ```
|
|
151
|
+
*
|
|
152
|
+
* @example Save OpenTDF config - invalid provider
|
|
153
|
+
* ```javascript
|
|
154
|
+
* //
|
|
155
|
+
* const input = {
|
|
156
|
+
* clientId: "client123",
|
|
157
|
+
* clientSecret: "secret456",
|
|
158
|
+
* domain: "https://api.sample.com",
|
|
159
|
+
* networkId: "12345678",
|
|
160
|
+
* provider: "invalid provider"
|
|
161
|
+
* };
|
|
162
|
+
* const command = new RegisterOpentdfConfigCommand(input);
|
|
163
|
+
* const response = await client.send(command);
|
|
164
|
+
* /* response is
|
|
165
|
+
* { /* metadata only *\/ }
|
|
166
|
+
* *\/
|
|
167
|
+
* ```
|
|
168
|
+
*
|
|
169
|
+
* @example Save OpenTDF config - network not found
|
|
170
|
+
* ```javascript
|
|
171
|
+
* //
|
|
172
|
+
* const input = {
|
|
173
|
+
* clientId: "client123",
|
|
174
|
+
* clientSecret: "secret456",
|
|
175
|
+
* domain: "https://api.sample.com",
|
|
176
|
+
* networkId: "99999999",
|
|
177
|
+
* provider: "virtru"
|
|
178
|
+
* };
|
|
179
|
+
* const command = new RegisterOpentdfConfigCommand(input);
|
|
180
|
+
* const response = await client.send(command);
|
|
181
|
+
* /* response is
|
|
182
|
+
* { /* metadata only *\/ }
|
|
183
|
+
* *\/
|
|
184
|
+
* ```
|
|
185
|
+
*
|
|
186
|
+
* @public
|
|
187
|
+
*/
|
|
188
|
+
export declare class RegisterOpentdfConfigCommand extends RegisterOpentdfConfigCommand_base {
|
|
189
|
+
/** @internal type navigation helper, not in runtime. */
|
|
190
|
+
protected static __types: {
|
|
191
|
+
api: {
|
|
192
|
+
input: RegisterOpentdfConfigRequest;
|
|
193
|
+
output: RegisterOpentdfConfigResponse;
|
|
194
|
+
};
|
|
195
|
+
sdk: {
|
|
196
|
+
input: RegisterOpentdfConfigCommandInput;
|
|
197
|
+
output: RegisterOpentdfConfigCommandOutput;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
}
|
|
@@ -44,6 +44,7 @@ declare const UpdateNetworkSettingsCommand_base: {
|
|
|
44
44
|
* status: "DISABLED" || "ENABLED" || "FORCE_ENABLED",
|
|
45
45
|
* },
|
|
46
46
|
* dataRetention: true || false,
|
|
47
|
+
* enableTrustedDataFormat: true || false,
|
|
47
48
|
* },
|
|
48
49
|
* };
|
|
49
50
|
* const command = new UpdateNetworkSettingsCommand(input);
|
|
@@ -20,6 +20,7 @@ export * from "./GetGuestUserHistoryCountCommand";
|
|
|
20
20
|
export * from "./GetNetworkCommand";
|
|
21
21
|
export * from "./GetNetworkSettingsCommand";
|
|
22
22
|
export * from "./GetOidcInfoCommand";
|
|
23
|
+
export * from "./GetOpentdfConfigCommand";
|
|
23
24
|
export * from "./GetSecurityGroupCommand";
|
|
24
25
|
export * from "./GetUserCommand";
|
|
25
26
|
export * from "./GetUsersCountCommand";
|
|
@@ -33,6 +34,7 @@ export * from "./ListSecurityGroupsCommand";
|
|
|
33
34
|
export * from "./ListUsersCommand";
|
|
34
35
|
export * from "./RegisterOidcConfigCommand";
|
|
35
36
|
export * from "./RegisterOidcConfigTestCommand";
|
|
37
|
+
export * from "./RegisterOpentdfConfigCommand";
|
|
36
38
|
export * from "./UpdateBotCommand";
|
|
37
39
|
export * from "./UpdateDataRetentionCommand";
|
|
38
40
|
export * from "./UpdateGuestUserCommand";
|
|
@@ -1753,6 +1753,41 @@ export interface GetOidcInfoResponse {
|
|
|
1753
1753
|
*/
|
|
1754
1754
|
tokenInfo?: OidcTokenInfo | undefined;
|
|
1755
1755
|
}
|
|
1756
|
+
/**
|
|
1757
|
+
* @public
|
|
1758
|
+
*/
|
|
1759
|
+
export interface GetOpentdfConfigRequest {
|
|
1760
|
+
/**
|
|
1761
|
+
* <p>The ID of the Wickr network for which OpenTDF integration will be retrieved.</p>
|
|
1762
|
+
* @public
|
|
1763
|
+
*/
|
|
1764
|
+
networkId: string | undefined;
|
|
1765
|
+
}
|
|
1766
|
+
/**
|
|
1767
|
+
* @public
|
|
1768
|
+
*/
|
|
1769
|
+
export interface GetOpentdfConfigResponse {
|
|
1770
|
+
/**
|
|
1771
|
+
* <p>The OIDC client ID used for authenticating with the OpenTDF provider.</p>
|
|
1772
|
+
* @public
|
|
1773
|
+
*/
|
|
1774
|
+
clientId: string | undefined;
|
|
1775
|
+
/**
|
|
1776
|
+
* <p>The domain of the OpenTDF server.</p>
|
|
1777
|
+
* @public
|
|
1778
|
+
*/
|
|
1779
|
+
domain: string | undefined;
|
|
1780
|
+
/**
|
|
1781
|
+
* <p>The OIDC client secret used for authenticating with the OpenTDF provider.</p>
|
|
1782
|
+
* @public
|
|
1783
|
+
*/
|
|
1784
|
+
clientSecret: string | undefined;
|
|
1785
|
+
/**
|
|
1786
|
+
* <p>The provider of the OpenTDF platform.</p>
|
|
1787
|
+
* @public
|
|
1788
|
+
*/
|
|
1789
|
+
provider: string | undefined;
|
|
1790
|
+
}
|
|
1756
1791
|
/**
|
|
1757
1792
|
* @public
|
|
1758
1793
|
*/
|
|
@@ -2431,6 +2466,11 @@ export interface NetworkSettings {
|
|
|
2431
2466
|
* @public
|
|
2432
2467
|
*/
|
|
2433
2468
|
dataRetention?: boolean | undefined;
|
|
2469
|
+
/**
|
|
2470
|
+
* <p>Configuration for OpenTDF integration at the network level, enforcing ABAC decision making when operating in TDF enabled rooms.</p>
|
|
2471
|
+
* @public
|
|
2472
|
+
*/
|
|
2473
|
+
enableTrustedDataFormat?: boolean | undefined;
|
|
2434
2474
|
}
|
|
2435
2475
|
/**
|
|
2436
2476
|
* @public
|
|
@@ -2652,6 +2692,66 @@ export interface RegisterOidcConfigTestResponse {
|
|
|
2652
2692
|
*/
|
|
2653
2693
|
microsoftMultiRefreshToken?: boolean | undefined;
|
|
2654
2694
|
}
|
|
2695
|
+
/**
|
|
2696
|
+
* @public
|
|
2697
|
+
*/
|
|
2698
|
+
export interface RegisterOpentdfConfigRequest {
|
|
2699
|
+
/**
|
|
2700
|
+
* <p>The ID of the Wickr network for which OpenTDF integration will be configured.</p>
|
|
2701
|
+
* @public
|
|
2702
|
+
*/
|
|
2703
|
+
networkId: string | undefined;
|
|
2704
|
+
/**
|
|
2705
|
+
* <p>The OIDC client ID used for authenticating with the OpenTDF provider.</p>
|
|
2706
|
+
* @public
|
|
2707
|
+
*/
|
|
2708
|
+
clientId: string | undefined;
|
|
2709
|
+
/**
|
|
2710
|
+
* <p>The OIDC client secret used for authenticating with the OpenTDF provider</p>
|
|
2711
|
+
* @public
|
|
2712
|
+
*/
|
|
2713
|
+
clientSecret: string | undefined;
|
|
2714
|
+
/**
|
|
2715
|
+
* <p>The domain of the OpenTDF server.</p>
|
|
2716
|
+
* @public
|
|
2717
|
+
*/
|
|
2718
|
+
domain: string | undefined;
|
|
2719
|
+
/**
|
|
2720
|
+
* <p>The provider of the OpenTDF platform.</p> <note> <p>Currently only Virtru is supported as the OpenTDF provider.</p> </note>
|
|
2721
|
+
* @public
|
|
2722
|
+
*/
|
|
2723
|
+
provider: string | undefined;
|
|
2724
|
+
/**
|
|
2725
|
+
* <p>Perform dry-run test connection of OpenTDF configuration (optional).</p>
|
|
2726
|
+
* @public
|
|
2727
|
+
*/
|
|
2728
|
+
dryRun?: boolean | undefined;
|
|
2729
|
+
}
|
|
2730
|
+
/**
|
|
2731
|
+
* @public
|
|
2732
|
+
*/
|
|
2733
|
+
export interface RegisterOpentdfConfigResponse {
|
|
2734
|
+
/**
|
|
2735
|
+
* <p>The OIDC client ID used for authenticating with the OpenTDF provider.</p>
|
|
2736
|
+
* @public
|
|
2737
|
+
*/
|
|
2738
|
+
clientId: string | undefined;
|
|
2739
|
+
/**
|
|
2740
|
+
* <p>The domain of the OpenTDF server.</p>
|
|
2741
|
+
* @public
|
|
2742
|
+
*/
|
|
2743
|
+
domain: string | undefined;
|
|
2744
|
+
/**
|
|
2745
|
+
* <p>The OIDC client secret used for authenticating with the OpenTDF provider.</p>
|
|
2746
|
+
* @public
|
|
2747
|
+
*/
|
|
2748
|
+
clientSecret: string | undefined;
|
|
2749
|
+
/**
|
|
2750
|
+
* <p>The provider of the OpenTDF platform.</p>
|
|
2751
|
+
* @public
|
|
2752
|
+
*/
|
|
2753
|
+
provider: string | undefined;
|
|
2754
|
+
}
|
|
2655
2755
|
/**
|
|
2656
2756
|
* @public
|
|
2657
2757
|
*/
|
|
@@ -70,6 +70,8 @@ export declare var GetNetworkSettingsRequest$: StaticStructureSchema;
|
|
|
70
70
|
export declare var GetNetworkSettingsResponse$: StaticStructureSchema;
|
|
71
71
|
export declare var GetOidcInfoRequest$: StaticStructureSchema;
|
|
72
72
|
export declare var GetOidcInfoResponse$: StaticStructureSchema;
|
|
73
|
+
export declare var GetOpentdfConfigRequest$: StaticStructureSchema;
|
|
74
|
+
export declare var GetOpentdfConfigResponse$: StaticStructureSchema;
|
|
73
75
|
export declare var GetSecurityGroupRequest$: StaticStructureSchema;
|
|
74
76
|
export declare var GetSecurityGroupResponse$: StaticStructureSchema;
|
|
75
77
|
export declare var GetUserRequest$: StaticStructureSchema;
|
|
@@ -105,6 +107,8 @@ export declare var RegisterOidcConfigRequest$: StaticStructureSchema;
|
|
|
105
107
|
export declare var RegisterOidcConfigResponse$: StaticStructureSchema;
|
|
106
108
|
export declare var RegisterOidcConfigTestRequest$: StaticStructureSchema;
|
|
107
109
|
export declare var RegisterOidcConfigTestResponse$: StaticStructureSchema;
|
|
110
|
+
export declare var RegisterOpentdfConfigRequest$: StaticStructureSchema;
|
|
111
|
+
export declare var RegisterOpentdfConfigResponse$: StaticStructureSchema;
|
|
108
112
|
export declare var SecurityGroup$: StaticStructureSchema;
|
|
109
113
|
export declare var SecurityGroupSettings$: StaticStructureSchema;
|
|
110
114
|
export declare var SecurityGroupSettingsRequest$: StaticStructureSchema;
|
|
@@ -149,6 +153,7 @@ export declare var GetGuestUserHistoryCount$: StaticOperationSchema;
|
|
|
149
153
|
export declare var GetNetwork$: StaticOperationSchema;
|
|
150
154
|
export declare var GetNetworkSettings$: StaticOperationSchema;
|
|
151
155
|
export declare var GetOidcInfo$: StaticOperationSchema;
|
|
156
|
+
export declare var GetOpentdfConfig$: StaticOperationSchema;
|
|
152
157
|
export declare var GetSecurityGroup$: StaticOperationSchema;
|
|
153
158
|
export declare var GetUser$: StaticOperationSchema;
|
|
154
159
|
export declare var GetUsersCount$: StaticOperationSchema;
|
|
@@ -162,6 +167,7 @@ export declare var ListSecurityGroupUsers$: StaticOperationSchema;
|
|
|
162
167
|
export declare var ListUsers$: StaticOperationSchema;
|
|
163
168
|
export declare var RegisterOidcConfig$: StaticOperationSchema;
|
|
164
169
|
export declare var RegisterOidcConfigTest$: StaticOperationSchema;
|
|
170
|
+
export declare var RegisterOpentdfConfig$: StaticOperationSchema;
|
|
165
171
|
export declare var UpdateBot$: StaticOperationSchema;
|
|
166
172
|
export declare var UpdateDataRetention$: StaticOperationSchema;
|
|
167
173
|
export declare var UpdateGuestUser$: StaticOperationSchema;
|
|
@@ -91,6 +91,10 @@ import {
|
|
|
91
91
|
GetOidcInfoCommandInput,
|
|
92
92
|
GetOidcInfoCommandOutput,
|
|
93
93
|
} from "./commands/GetOidcInfoCommand";
|
|
94
|
+
import {
|
|
95
|
+
GetOpentdfConfigCommandInput,
|
|
96
|
+
GetOpentdfConfigCommandOutput,
|
|
97
|
+
} from "./commands/GetOpentdfConfigCommand";
|
|
94
98
|
import {
|
|
95
99
|
GetSecurityGroupCommandInput,
|
|
96
100
|
GetSecurityGroupCommandOutput,
|
|
@@ -143,6 +147,10 @@ import {
|
|
|
143
147
|
RegisterOidcConfigTestCommandInput,
|
|
144
148
|
RegisterOidcConfigTestCommandOutput,
|
|
145
149
|
} from "./commands/RegisterOidcConfigTestCommand";
|
|
150
|
+
import {
|
|
151
|
+
RegisterOpentdfConfigCommandInput,
|
|
152
|
+
RegisterOpentdfConfigCommandOutput,
|
|
153
|
+
} from "./commands/RegisterOpentdfConfigCommand";
|
|
146
154
|
import {
|
|
147
155
|
UpdateBotCommandInput,
|
|
148
156
|
UpdateBotCommandOutput,
|
|
@@ -459,6 +467,19 @@ export interface Wickr {
|
|
|
459
467
|
options: __HttpHandlerOptions,
|
|
460
468
|
cb: (err: any, data?: GetOidcInfoCommandOutput) => void
|
|
461
469
|
): void;
|
|
470
|
+
getOpentdfConfig(
|
|
471
|
+
args: GetOpentdfConfigCommandInput,
|
|
472
|
+
options?: __HttpHandlerOptions
|
|
473
|
+
): Promise<GetOpentdfConfigCommandOutput>;
|
|
474
|
+
getOpentdfConfig(
|
|
475
|
+
args: GetOpentdfConfigCommandInput,
|
|
476
|
+
cb: (err: any, data?: GetOpentdfConfigCommandOutput) => void
|
|
477
|
+
): void;
|
|
478
|
+
getOpentdfConfig(
|
|
479
|
+
args: GetOpentdfConfigCommandInput,
|
|
480
|
+
options: __HttpHandlerOptions,
|
|
481
|
+
cb: (err: any, data?: GetOpentdfConfigCommandOutput) => void
|
|
482
|
+
): void;
|
|
462
483
|
getSecurityGroup(
|
|
463
484
|
args: GetSecurityGroupCommandInput,
|
|
464
485
|
options?: __HttpHandlerOptions
|
|
@@ -629,6 +650,19 @@ export interface Wickr {
|
|
|
629
650
|
options: __HttpHandlerOptions,
|
|
630
651
|
cb: (err: any, data?: RegisterOidcConfigTestCommandOutput) => void
|
|
631
652
|
): void;
|
|
653
|
+
registerOpentdfConfig(
|
|
654
|
+
args: RegisterOpentdfConfigCommandInput,
|
|
655
|
+
options?: __HttpHandlerOptions
|
|
656
|
+
): Promise<RegisterOpentdfConfigCommandOutput>;
|
|
657
|
+
registerOpentdfConfig(
|
|
658
|
+
args: RegisterOpentdfConfigCommandInput,
|
|
659
|
+
cb: (err: any, data?: RegisterOpentdfConfigCommandOutput) => void
|
|
660
|
+
): void;
|
|
661
|
+
registerOpentdfConfig(
|
|
662
|
+
args: RegisterOpentdfConfigCommandInput,
|
|
663
|
+
options: __HttpHandlerOptions,
|
|
664
|
+
cb: (err: any, data?: RegisterOpentdfConfigCommandOutput) => void
|
|
665
|
+
): void;
|
|
632
666
|
updateBot(
|
|
633
667
|
args: UpdateBotCommandInput,
|
|
634
668
|
options?: __HttpHandlerOptions
|
|
@@ -133,6 +133,10 @@ import {
|
|
|
133
133
|
GetOidcInfoCommandInput,
|
|
134
134
|
GetOidcInfoCommandOutput,
|
|
135
135
|
} from "./commands/GetOidcInfoCommand";
|
|
136
|
+
import {
|
|
137
|
+
GetOpentdfConfigCommandInput,
|
|
138
|
+
GetOpentdfConfigCommandOutput,
|
|
139
|
+
} from "./commands/GetOpentdfConfigCommand";
|
|
136
140
|
import {
|
|
137
141
|
GetSecurityGroupCommandInput,
|
|
138
142
|
GetSecurityGroupCommandOutput,
|
|
@@ -185,6 +189,10 @@ import {
|
|
|
185
189
|
RegisterOidcConfigTestCommandInput,
|
|
186
190
|
RegisterOidcConfigTestCommandOutput,
|
|
187
191
|
} from "./commands/RegisterOidcConfigTestCommand";
|
|
192
|
+
import {
|
|
193
|
+
RegisterOpentdfConfigCommandInput,
|
|
194
|
+
RegisterOpentdfConfigCommandOutput,
|
|
195
|
+
} from "./commands/RegisterOpentdfConfigCommand";
|
|
188
196
|
import {
|
|
189
197
|
UpdateBotCommandInput,
|
|
190
198
|
UpdateBotCommandOutput,
|
|
@@ -243,6 +251,7 @@ export type ServiceInputTypes =
|
|
|
243
251
|
| GetNetworkCommandInput
|
|
244
252
|
| GetNetworkSettingsCommandInput
|
|
245
253
|
| GetOidcInfoCommandInput
|
|
254
|
+
| GetOpentdfConfigCommandInput
|
|
246
255
|
| GetSecurityGroupCommandInput
|
|
247
256
|
| GetUserCommandInput
|
|
248
257
|
| GetUsersCountCommandInput
|
|
@@ -256,6 +265,7 @@ export type ServiceInputTypes =
|
|
|
256
265
|
| ListUsersCommandInput
|
|
257
266
|
| RegisterOidcConfigCommandInput
|
|
258
267
|
| RegisterOidcConfigTestCommandInput
|
|
268
|
+
| RegisterOpentdfConfigCommandInput
|
|
259
269
|
| UpdateBotCommandInput
|
|
260
270
|
| UpdateDataRetentionCommandInput
|
|
261
271
|
| UpdateGuestUserCommandInput
|
|
@@ -286,6 +296,7 @@ export type ServiceOutputTypes =
|
|
|
286
296
|
| GetNetworkCommandOutput
|
|
287
297
|
| GetNetworkSettingsCommandOutput
|
|
288
298
|
| GetOidcInfoCommandOutput
|
|
299
|
+
| GetOpentdfConfigCommandOutput
|
|
289
300
|
| GetSecurityGroupCommandOutput
|
|
290
301
|
| GetUserCommandOutput
|
|
291
302
|
| GetUsersCountCommandOutput
|
|
@@ -299,6 +310,7 @@ export type ServiceOutputTypes =
|
|
|
299
310
|
| ListUsersCommandOutput
|
|
300
311
|
| RegisterOidcConfigCommandOutput
|
|
301
312
|
| RegisterOidcConfigTestCommandOutput
|
|
313
|
+
| RegisterOpentdfConfigCommandOutput
|
|
302
314
|
| UpdateBotCommandOutput
|
|
303
315
|
| UpdateDataRetentionCommandOutput
|
|
304
316
|
| UpdateGuestUserCommandOutput
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GetOpentdfConfigRequest,
|
|
5
|
+
GetOpentdfConfigResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
WickrClientResolvedConfig,
|
|
11
|
+
} from "../WickrClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetOpentdfConfigCommandInput extends GetOpentdfConfigRequest {}
|
|
15
|
+
export interface GetOpentdfConfigCommandOutput
|
|
16
|
+
extends GetOpentdfConfigResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const GetOpentdfConfigCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: GetOpentdfConfigCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
GetOpentdfConfigCommandInput,
|
|
23
|
+
GetOpentdfConfigCommandOutput,
|
|
24
|
+
WickrClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: GetOpentdfConfigCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetOpentdfConfigCommandInput,
|
|
32
|
+
GetOpentdfConfigCommandOutput,
|
|
33
|
+
WickrClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class GetOpentdfConfigCommand extends GetOpentdfConfigCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: GetOpentdfConfigRequest;
|
|
43
|
+
output: GetOpentdfConfigResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: GetOpentdfConfigCommandInput;
|
|
47
|
+
output: GetOpentdfConfigCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|