@aws-sdk/client-opensearch 3.600.0 → 3.601.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/dist-cjs/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +12 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +6 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +6 -0
- package/dist-types/commands/DescribeDomainConfigCommand.d.ts +6 -0
- package/dist-types/commands/DescribeDomainsCommand.d.ts +6 -0
- package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDomainConfigCommand.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +64 -2
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -3069,6 +3069,7 @@ var de_AdvancedSecurityOptions = /* @__PURE__ */ __name((output, context) => {
|
|
|
3069
3069
|
AnonymousAuthEnabled: import_smithy_client.expectBoolean,
|
|
3070
3070
|
Enabled: import_smithy_client.expectBoolean,
|
|
3071
3071
|
InternalUserDatabaseEnabled: import_smithy_client.expectBoolean,
|
|
3072
|
+
JWTOptions: import_smithy_client._json,
|
|
3072
3073
|
SAMLOptions: import_smithy_client._json
|
|
3073
3074
|
});
|
|
3074
3075
|
}, "de_AdvancedSecurityOptions");
|
|
@@ -2034,6 +2034,7 @@ const de_AdvancedSecurityOptions = (output, context) => {
|
|
|
2034
2034
|
AnonymousAuthEnabled: __expectBoolean,
|
|
2035
2035
|
Enabled: __expectBoolean,
|
|
2036
2036
|
InternalUserDatabaseEnabled: __expectBoolean,
|
|
2037
|
+
JWTOptions: _json,
|
|
2037
2038
|
SAMLOptions: _json,
|
|
2038
2039
|
});
|
|
2039
2040
|
};
|
|
@@ -124,6 +124,12 @@ declare const CreateDomainCommand_base: {
|
|
|
124
124
|
* RolesKey: "STRING_VALUE",
|
|
125
125
|
* SessionTimeoutMinutes: Number("int"),
|
|
126
126
|
* },
|
|
127
|
+
* JWTOptions: { // JWTOptionsInput
|
|
128
|
+
* Enabled: true || false,
|
|
129
|
+
* SubjectKey: "STRING_VALUE",
|
|
130
|
+
* RolesKey: "STRING_VALUE",
|
|
131
|
+
* PublicKey: "STRING_VALUE",
|
|
132
|
+
* },
|
|
127
133
|
* AnonymousAuthEnabled: true || false,
|
|
128
134
|
* },
|
|
129
135
|
* TagList: [ // TagList
|
|
@@ -271,6 +277,12 @@ declare const CreateDomainCommand_base: {
|
|
|
271
277
|
* // RolesKey: "STRING_VALUE",
|
|
272
278
|
* // SessionTimeoutMinutes: Number("int"),
|
|
273
279
|
* // },
|
|
280
|
+
* // JWTOptions: { // JWTOptionsOutput
|
|
281
|
+
* // Enabled: true || false,
|
|
282
|
+
* // SubjectKey: "STRING_VALUE",
|
|
283
|
+
* // RolesKey: "STRING_VALUE",
|
|
284
|
+
* // PublicKey: "STRING_VALUE",
|
|
285
|
+
* // },
|
|
274
286
|
* // AnonymousAuthDisableDate: new Date("TIMESTAMP"),
|
|
275
287
|
* // AnonymousAuthEnabled: true || false,
|
|
276
288
|
* // },
|
|
@@ -150,6 +150,12 @@ declare const DeleteDomainCommand_base: {
|
|
|
150
150
|
* // RolesKey: "STRING_VALUE",
|
|
151
151
|
* // SessionTimeoutMinutes: Number("int"),
|
|
152
152
|
* // },
|
|
153
|
+
* // JWTOptions: { // JWTOptionsOutput
|
|
154
|
+
* // Enabled: true || false,
|
|
155
|
+
* // SubjectKey: "STRING_VALUE",
|
|
156
|
+
* // RolesKey: "STRING_VALUE",
|
|
157
|
+
* // PublicKey: "STRING_VALUE",
|
|
158
|
+
* // },
|
|
153
159
|
* // AnonymousAuthDisableDate: new Date("TIMESTAMP"),
|
|
154
160
|
* // AnonymousAuthEnabled: true || false,
|
|
155
161
|
* // },
|
|
@@ -150,6 +150,12 @@ declare const DescribeDomainCommand_base: {
|
|
|
150
150
|
* // RolesKey: "STRING_VALUE",
|
|
151
151
|
* // SessionTimeoutMinutes: Number("int"),
|
|
152
152
|
* // },
|
|
153
|
+
* // JWTOptions: { // JWTOptionsOutput
|
|
154
|
+
* // Enabled: true || false,
|
|
155
|
+
* // SubjectKey: "STRING_VALUE",
|
|
156
|
+
* // RolesKey: "STRING_VALUE",
|
|
157
|
+
* // PublicKey: "STRING_VALUE",
|
|
158
|
+
* // },
|
|
153
159
|
* // AnonymousAuthDisableDate: new Date("TIMESTAMP"),
|
|
154
160
|
* // AnonymousAuthEnabled: true || false,
|
|
155
161
|
* // },
|
|
@@ -196,6 +196,12 @@ declare const DescribeDomainConfigCommand_base: {
|
|
|
196
196
|
* // RolesKey: "STRING_VALUE",
|
|
197
197
|
* // SessionTimeoutMinutes: Number("int"),
|
|
198
198
|
* // },
|
|
199
|
+
* // JWTOptions: { // JWTOptionsOutput
|
|
200
|
+
* // Enabled: true || false,
|
|
201
|
+
* // SubjectKey: "STRING_VALUE",
|
|
202
|
+
* // RolesKey: "STRING_VALUE",
|
|
203
|
+
* // PublicKey: "STRING_VALUE",
|
|
204
|
+
* // },
|
|
199
205
|
* // AnonymousAuthDisableDate: new Date("TIMESTAMP"),
|
|
200
206
|
* // AnonymousAuthEnabled: true || false,
|
|
201
207
|
* // },
|
|
@@ -153,6 +153,12 @@ declare const DescribeDomainsCommand_base: {
|
|
|
153
153
|
* // RolesKey: "STRING_VALUE",
|
|
154
154
|
* // SessionTimeoutMinutes: Number("int"),
|
|
155
155
|
* // },
|
|
156
|
+
* // JWTOptions: { // JWTOptionsOutput
|
|
157
|
+
* // Enabled: true || false,
|
|
158
|
+
* // SubjectKey: "STRING_VALUE",
|
|
159
|
+
* // RolesKey: "STRING_VALUE",
|
|
160
|
+
* // PublicKey: "STRING_VALUE",
|
|
161
|
+
* // },
|
|
156
162
|
* // AnonymousAuthDisableDate: new Date("TIMESTAMP"),
|
|
157
163
|
* // AnonymousAuthEnabled: true || false,
|
|
158
164
|
* // },
|
|
@@ -164,6 +164,12 @@ declare const DescribeDryRunProgressCommand_base: {
|
|
|
164
164
|
* // RolesKey: "STRING_VALUE",
|
|
165
165
|
* // SessionTimeoutMinutes: Number("int"),
|
|
166
166
|
* // },
|
|
167
|
+
* // JWTOptions: { // JWTOptionsOutput
|
|
168
|
+
* // Enabled: true || false,
|
|
169
|
+
* // SubjectKey: "STRING_VALUE",
|
|
170
|
+
* // RolesKey: "STRING_VALUE",
|
|
171
|
+
* // PublicKey: "STRING_VALUE",
|
|
172
|
+
* // },
|
|
167
173
|
* // AnonymousAuthDisableDate: new Date("TIMESTAMP"),
|
|
168
174
|
* // AnonymousAuthEnabled: true || false,
|
|
169
175
|
* // },
|
|
@@ -124,6 +124,12 @@ declare const UpdateDomainConfigCommand_base: {
|
|
|
124
124
|
* RolesKey: "STRING_VALUE",
|
|
125
125
|
* SessionTimeoutMinutes: Number("int"),
|
|
126
126
|
* },
|
|
127
|
+
* JWTOptions: { // JWTOptionsInput
|
|
128
|
+
* Enabled: true || false,
|
|
129
|
+
* SubjectKey: "STRING_VALUE",
|
|
130
|
+
* RolesKey: "STRING_VALUE",
|
|
131
|
+
* PublicKey: "STRING_VALUE",
|
|
132
|
+
* },
|
|
127
133
|
* AnonymousAuthEnabled: true || false,
|
|
128
134
|
* },
|
|
129
135
|
* AutoTuneOptions: { // AutoTuneOptions
|
|
@@ -315,6 +321,12 @@ declare const UpdateDomainConfigCommand_base: {
|
|
|
315
321
|
* // RolesKey: "STRING_VALUE",
|
|
316
322
|
* // SessionTimeoutMinutes: Number("int"),
|
|
317
323
|
* // },
|
|
324
|
+
* // JWTOptions: { // JWTOptionsOutput
|
|
325
|
+
* // Enabled: true || false,
|
|
326
|
+
* // SubjectKey: "STRING_VALUE",
|
|
327
|
+
* // RolesKey: "STRING_VALUE",
|
|
328
|
+
* // PublicKey: "STRING_VALUE",
|
|
329
|
+
* // },
|
|
318
330
|
* // AnonymousAuthDisableDate: new Date("TIMESTAMP"),
|
|
319
331
|
* // AnonymousAuthEnabled: true || false,
|
|
320
332
|
* // },
|
|
@@ -567,6 +567,32 @@ export interface AdvancedOptionsStatus {
|
|
|
567
567
|
*/
|
|
568
568
|
Status: OptionStatus | undefined;
|
|
569
569
|
}
|
|
570
|
+
/**
|
|
571
|
+
* <p>Describes the JWT options configured for the domain.</p>
|
|
572
|
+
* @public
|
|
573
|
+
*/
|
|
574
|
+
export interface JWTOptionsOutput {
|
|
575
|
+
/**
|
|
576
|
+
* <p>True if JWT use is enabled.</p>
|
|
577
|
+
* @public
|
|
578
|
+
*/
|
|
579
|
+
Enabled?: boolean;
|
|
580
|
+
/**
|
|
581
|
+
* <p>The key used for matching the JWT subject attribute.</p>
|
|
582
|
+
* @public
|
|
583
|
+
*/
|
|
584
|
+
SubjectKey?: string;
|
|
585
|
+
/**
|
|
586
|
+
* <p>The key used for matching the JWT roles attribute.</p>
|
|
587
|
+
* @public
|
|
588
|
+
*/
|
|
589
|
+
RolesKey?: string;
|
|
590
|
+
/**
|
|
591
|
+
* <p>The key used to verify the signature of incoming JWT requests.</p>
|
|
592
|
+
* @public
|
|
593
|
+
*/
|
|
594
|
+
PublicKey?: string;
|
|
595
|
+
}
|
|
570
596
|
/**
|
|
571
597
|
* <p>The SAML identity povider information.</p>
|
|
572
598
|
* @public
|
|
@@ -634,6 +660,11 @@ export interface AdvancedSecurityOptions {
|
|
|
634
660
|
* @public
|
|
635
661
|
*/
|
|
636
662
|
SAMLOptions?: SAMLOptionsOutput;
|
|
663
|
+
/**
|
|
664
|
+
* <p>Container for information about the JWT configuration of the Amazon OpenSearch Service.</p>
|
|
665
|
+
* @public
|
|
666
|
+
*/
|
|
667
|
+
JWTOptions?: JWTOptionsOutput;
|
|
637
668
|
/**
|
|
638
669
|
* <p>Date and time when the migration period will be disabled. Only necessary when <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing">enabling
|
|
639
670
|
* fine-grained access control on an existing domain</a>.</p>
|
|
@@ -648,6 +679,32 @@ export interface AdvancedSecurityOptions {
|
|
|
648
679
|
*/
|
|
649
680
|
AnonymousAuthEnabled?: boolean;
|
|
650
681
|
}
|
|
682
|
+
/**
|
|
683
|
+
* <p>The JWT authentication and authorization configuration for an Amazon OpenSearch Service domain.</p>
|
|
684
|
+
* @public
|
|
685
|
+
*/
|
|
686
|
+
export interface JWTOptionsInput {
|
|
687
|
+
/**
|
|
688
|
+
* <p>True to enable JWT authentication and authorization for a domain.</p>
|
|
689
|
+
* @public
|
|
690
|
+
*/
|
|
691
|
+
Enabled?: boolean;
|
|
692
|
+
/**
|
|
693
|
+
* <p>Element of the JWT assertion to use for the user name.</p>
|
|
694
|
+
* @public
|
|
695
|
+
*/
|
|
696
|
+
SubjectKey?: string;
|
|
697
|
+
/**
|
|
698
|
+
* <p>Element of the JWT assertion to use for roles.</p>
|
|
699
|
+
* @public
|
|
700
|
+
*/
|
|
701
|
+
RolesKey?: string;
|
|
702
|
+
/**
|
|
703
|
+
* <p>Element of the JWT assertion used by the cluster to verify JWT signatures.</p>
|
|
704
|
+
* @public
|
|
705
|
+
*/
|
|
706
|
+
PublicKey?: string;
|
|
707
|
+
}
|
|
651
708
|
/**
|
|
652
709
|
* <p>Credentials for the master user for a domain.</p>
|
|
653
710
|
* @public
|
|
@@ -742,6 +799,11 @@ export interface AdvancedSecurityOptionsInput {
|
|
|
742
799
|
* @public
|
|
743
800
|
*/
|
|
744
801
|
SAMLOptions?: SAMLOptionsInput;
|
|
802
|
+
/**
|
|
803
|
+
* <p>Container for information about the JWT configuration of the Amazon OpenSearch Service. </p>
|
|
804
|
+
* @public
|
|
805
|
+
*/
|
|
806
|
+
JWTOptions?: JWTOptionsInput;
|
|
745
807
|
/**
|
|
746
808
|
* <p>True to enable a 30-day migration period during which administrators can create role
|
|
747
809
|
* mappings. Only necessary when <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing">enabling
|
|
@@ -4955,7 +5017,7 @@ export interface GetDataSourceResponse {
|
|
|
4955
5017
|
*/
|
|
4956
5018
|
Description?: string;
|
|
4957
5019
|
/**
|
|
4958
|
-
* <p>The status of the data source
|
|
5020
|
+
* <p>The status of the data source.</p>
|
|
4959
5021
|
* @public
|
|
4960
5022
|
*/
|
|
4961
5023
|
Status?: DataSourceStatus;
|
|
@@ -6191,7 +6253,7 @@ export interface UpdateDataSourceRequest {
|
|
|
6191
6253
|
*/
|
|
6192
6254
|
Description?: string;
|
|
6193
6255
|
/**
|
|
6194
|
-
* <p>The status of the data source update
|
|
6256
|
+
* <p>The status of the data source update.</p>
|
|
6195
6257
|
* @public
|
|
6196
6258
|
*/
|
|
6197
6259
|
Status?: DataSourceStatus;
|
|
@@ -180,6 +180,12 @@ export interface AdvancedOptionsStatus {
|
|
|
180
180
|
Options: Record<string, string> | undefined;
|
|
181
181
|
Status: OptionStatus | undefined;
|
|
182
182
|
}
|
|
183
|
+
export interface JWTOptionsOutput {
|
|
184
|
+
Enabled?: boolean;
|
|
185
|
+
SubjectKey?: string;
|
|
186
|
+
RolesKey?: string;
|
|
187
|
+
PublicKey?: string;
|
|
188
|
+
}
|
|
183
189
|
export interface SAMLIdp {
|
|
184
190
|
MetadataContent: string | undefined;
|
|
185
191
|
EntityId: string | undefined;
|
|
@@ -195,9 +201,16 @@ export interface AdvancedSecurityOptions {
|
|
|
195
201
|
Enabled?: boolean;
|
|
196
202
|
InternalUserDatabaseEnabled?: boolean;
|
|
197
203
|
SAMLOptions?: SAMLOptionsOutput;
|
|
204
|
+
JWTOptions?: JWTOptionsOutput;
|
|
198
205
|
AnonymousAuthDisableDate?: Date;
|
|
199
206
|
AnonymousAuthEnabled?: boolean;
|
|
200
207
|
}
|
|
208
|
+
export interface JWTOptionsInput {
|
|
209
|
+
Enabled?: boolean;
|
|
210
|
+
SubjectKey?: string;
|
|
211
|
+
RolesKey?: string;
|
|
212
|
+
PublicKey?: string;
|
|
213
|
+
}
|
|
201
214
|
export interface MasterUserOptions {
|
|
202
215
|
MasterUserARN?: string;
|
|
203
216
|
MasterUserName?: string;
|
|
@@ -217,6 +230,7 @@ export interface AdvancedSecurityOptionsInput {
|
|
|
217
230
|
InternalUserDatabaseEnabled?: boolean;
|
|
218
231
|
MasterUserOptions?: MasterUserOptions;
|
|
219
232
|
SAMLOptions?: SAMLOptionsInput;
|
|
233
|
+
JWTOptions?: JWTOptionsInput;
|
|
220
234
|
AnonymousAuthEnabled?: boolean;
|
|
221
235
|
}
|
|
222
236
|
export interface AdvancedSecurityOptionsStatus {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-opensearch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Opensearch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.601.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-opensearch",
|