@aws-sdk/client-opensearch 3.682.0 → 3.686.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 (69) hide show
  1. package/README.md +47 -7
  2. package/dist-cjs/index.js +344 -29
  3. package/dist-es/OpenSearch.js +10 -0
  4. package/dist-es/commands/CreateApplicationCommand.js +22 -0
  5. package/dist-es/commands/DeleteApplicationCommand.js +22 -0
  6. package/dist-es/commands/GetApplicationCommand.js +22 -0
  7. package/dist-es/commands/ListApplicationsCommand.js +22 -0
  8. package/dist-es/commands/UpdateApplicationCommand.js +22 -0
  9. package/dist-es/commands/UpdateDomainConfigCommand.js +1 -1
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/models_0.js +23 -28
  12. package/dist-es/models/models_1.js +30 -1
  13. package/dist-es/pagination/ListApplicationsPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +191 -3
  16. package/dist-types/OpenSearch.d.ts +36 -0
  17. package/dist-types/OpenSearchClient.d.ts +7 -2
  18. package/dist-types/commands/AuthorizeVpcEndpointAccessCommand.d.ts +2 -1
  19. package/dist-types/commands/CreateApplicationCommand.d.ts +140 -0
  20. package/dist-types/commands/CreateDomainCommand.d.ts +14 -0
  21. package/dist-types/commands/DeleteApplicationCommand.d.ts +90 -0
  22. package/dist-types/commands/DeleteDomainCommand.d.ts +8 -0
  23. package/dist-types/commands/DescribeDomainCommand.d.ts +8 -0
  24. package/dist-types/commands/DescribeDomainConfigCommand.d.ts +11 -0
  25. package/dist-types/commands/DescribeDomainsCommand.d.ts +8 -0
  26. package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +8 -0
  27. package/dist-types/commands/GetApplicationCommand.d.ts +113 -0
  28. package/dist-types/commands/ListApplicationsCommand.d.ts +104 -0
  29. package/dist-types/commands/RejectInboundConnectionCommand.d.ts +2 -1
  30. package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
  31. package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +3 -2
  32. package/dist-types/commands/StartDomainMaintenanceCommand.d.ts +1 -1
  33. package/dist-types/commands/StartServiceSoftwareUpdateCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateApplicationCommand.d.ts +126 -0
  35. package/dist-types/commands/UpdateDataSourceCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateDomainConfigCommand.d.ts +18 -1
  37. package/dist-types/commands/UpdatePackageCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateScheduledActionCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +1 -1
  40. package/dist-types/commands/index.d.ts +5 -0
  41. package/dist-types/models/models_0.d.ts +538 -565
  42. package/dist-types/models/models_1.d.ts +603 -1
  43. package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
  44. package/dist-types/pagination/index.d.ts +1 -0
  45. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  46. package/dist-types/ts3.4/OpenSearch.d.ts +86 -0
  47. package/dist-types/ts3.4/OpenSearchClient.d.ts +30 -0
  48. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +50 -0
  51. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +50 -0
  52. package/dist-types/ts3.4/commands/RejectInboundConnectionCommand.d.ts +2 -4
  53. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/RevokeVpcEndpointAccessCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/StartDomainMaintenanceCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/StartServiceSoftwareUpdateCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/UpdateDomainConfigCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  64. package/dist-types/ts3.4/models/models_0.d.ts +129 -114
  65. package/dist-types/ts3.4/models/models_1.d.ts +169 -1
  66. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
  67. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  68. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  69. package/package.json +38 -36
@@ -142,6 +142,12 @@ declare const CreateDomainCommand_base: {
142
142
  * },
143
143
  * AnonymousAuthEnabled: true || false,
144
144
  * },
145
+ * IdentityCenterOptions: { // IdentityCenterOptionsInput
146
+ * EnabledAPIAccess: true || false,
147
+ * IdentityCenterInstanceARN: "STRING_VALUE",
148
+ * SubjectKey: "UserName" || "UserId" || "Email",
149
+ * RolesKey: "GroupName" || "GroupId",
150
+ * },
145
151
  * TagList: [ // TagList
146
152
  * { // Tag
147
153
  * Key: "STRING_VALUE", // required
@@ -311,6 +317,14 @@ declare const CreateDomainCommand_base: {
311
317
  * // AnonymousAuthDisableDate: new Date("TIMESTAMP"),
312
318
  * // AnonymousAuthEnabled: true || false,
313
319
  * // },
320
+ * // IdentityCenterOptions: { // IdentityCenterOptions
321
+ * // EnabledAPIAccess: true || false,
322
+ * // IdentityCenterInstanceARN: "STRING_VALUE",
323
+ * // SubjectKey: "UserName" || "UserId" || "Email",
324
+ * // RolesKey: "GroupName" || "GroupId",
325
+ * // IdentityCenterApplicationARN: "STRING_VALUE",
326
+ * // IdentityStoreId: "STRING_VALUE",
327
+ * // },
314
328
  * // AutoTuneOptions: { // AutoTuneOptionsOutput
315
329
  * // State: "ENABLED" || "DISABLED" || "ENABLE_IN_PROGRESS" || "DISABLE_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_SCHEDULED" || "DISABLED_AND_ROLLBACK_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_COMPLETE" || "DISABLED_AND_ROLLBACK_ERROR" || "ERROR",
316
330
  * // ErrorMessage: "STRING_VALUE",
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteApplicationRequest, DeleteApplicationResponse } from "../models/models_0";
4
+ import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteApplicationCommand}.
14
+ */
15
+ export interface DeleteApplicationCommandInput extends DeleteApplicationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteApplicationCommand}.
21
+ */
22
+ export interface DeleteApplicationCommandOutput extends DeleteApplicationResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteApplicationCommand_base: {
25
+ new (input: DeleteApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes an existing OpenSearch Application.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { OpenSearchClient, DeleteApplicationCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
35
+ * // const { OpenSearchClient, DeleteApplicationCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
36
+ * const client = new OpenSearchClient(config);
37
+ * const input = { // DeleteApplicationRequest
38
+ * id: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteApplicationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteApplicationCommandInput - {@link DeleteApplicationCommandInput}
47
+ * @returns {@link DeleteApplicationCommandOutput}
48
+ * @see {@link DeleteApplicationCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteApplicationCommandOutput} for command's `response` shape.
50
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>An error occurred because you don't have permissions to access the resource.</p>
54
+ *
55
+ * @throws {@link BaseException} (client fault)
56
+ * <p>An error occurred while processing the request.</p>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>An error occurred because the client attempts to remove a resource that is currently in use.</p>
60
+ *
61
+ * @throws {@link DisabledOperationException} (client fault)
62
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
63
+ *
64
+ * @throws {@link InternalException} (server fault)
65
+ * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
72
+ *
73
+ * @throws {@link OpenSearchServiceException}
74
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
75
+ *
76
+ * @public
77
+ */
78
+ export declare class DeleteApplicationCommand extends DeleteApplicationCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: DeleteApplicationRequest;
83
+ output: {};
84
+ };
85
+ sdk: {
86
+ input: DeleteApplicationCommandInput;
87
+ output: DeleteApplicationCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -169,6 +169,14 @@ declare const DeleteDomainCommand_base: {
169
169
  * // AnonymousAuthDisableDate: new Date("TIMESTAMP"),
170
170
  * // AnonymousAuthEnabled: true || false,
171
171
  * // },
172
+ * // IdentityCenterOptions: { // IdentityCenterOptions
173
+ * // EnabledAPIAccess: true || false,
174
+ * // IdentityCenterInstanceARN: "STRING_VALUE",
175
+ * // SubjectKey: "UserName" || "UserId" || "Email",
176
+ * // RolesKey: "GroupName" || "GroupId",
177
+ * // IdentityCenterApplicationARN: "STRING_VALUE",
178
+ * // IdentityStoreId: "STRING_VALUE",
179
+ * // },
172
180
  * // AutoTuneOptions: { // AutoTuneOptionsOutput
173
181
  * // State: "ENABLED" || "DISABLED" || "ENABLE_IN_PROGRESS" || "DISABLE_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_SCHEDULED" || "DISABLED_AND_ROLLBACK_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_COMPLETE" || "DISABLED_AND_ROLLBACK_ERROR" || "ERROR",
174
182
  * // ErrorMessage: "STRING_VALUE",
@@ -169,6 +169,14 @@ declare const DescribeDomainCommand_base: {
169
169
  * // AnonymousAuthDisableDate: new Date("TIMESTAMP"),
170
170
  * // AnonymousAuthEnabled: true || false,
171
171
  * // },
172
+ * // IdentityCenterOptions: { // IdentityCenterOptions
173
+ * // EnabledAPIAccess: true || false,
174
+ * // IdentityCenterInstanceARN: "STRING_VALUE",
175
+ * // SubjectKey: "UserName" || "UserId" || "Email",
176
+ * // RolesKey: "GroupName" || "GroupId",
177
+ * // IdentityCenterApplicationARN: "STRING_VALUE",
178
+ * // IdentityStoreId: "STRING_VALUE",
179
+ * // },
172
180
  * // AutoTuneOptions: { // AutoTuneOptionsOutput
173
181
  * // State: "ENABLED" || "DISABLED" || "ENABLE_IN_PROGRESS" || "DISABLE_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_SCHEDULED" || "DISABLED_AND_ROLLBACK_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_COMPLETE" || "DISABLED_AND_ROLLBACK_ERROR" || "ERROR",
174
182
  * // ErrorMessage: "STRING_VALUE",
@@ -217,6 +217,17 @@ declare const DescribeDomainConfigCommand_base: {
217
217
  * // },
218
218
  * // Status: "<OptionStatus>", // required
219
219
  * // },
220
+ * // IdentityCenterOptions: { // IdentityCenterOptionsStatus
221
+ * // Options: { // IdentityCenterOptions
222
+ * // EnabledAPIAccess: true || false,
223
+ * // IdentityCenterInstanceARN: "STRING_VALUE",
224
+ * // SubjectKey: "UserName" || "UserId" || "Email",
225
+ * // RolesKey: "GroupName" || "GroupId",
226
+ * // IdentityCenterApplicationARN: "STRING_VALUE",
227
+ * // IdentityStoreId: "STRING_VALUE",
228
+ * // },
229
+ * // Status: "<OptionStatus>", // required
230
+ * // },
220
231
  * // AutoTuneOptions: { // AutoTuneOptionsStatus
221
232
  * // Options: { // AutoTuneOptions
222
233
  * // DesiredState: "ENABLED" || "DISABLED",
@@ -172,6 +172,14 @@ declare const DescribeDomainsCommand_base: {
172
172
  * // AnonymousAuthDisableDate: new Date("TIMESTAMP"),
173
173
  * // AnonymousAuthEnabled: true || false,
174
174
  * // },
175
+ * // IdentityCenterOptions: { // IdentityCenterOptions
176
+ * // EnabledAPIAccess: true || false,
177
+ * // IdentityCenterInstanceARN: "STRING_VALUE",
178
+ * // SubjectKey: "UserName" || "UserId" || "Email",
179
+ * // RolesKey: "GroupName" || "GroupId",
180
+ * // IdentityCenterApplicationARN: "STRING_VALUE",
181
+ * // IdentityStoreId: "STRING_VALUE",
182
+ * // },
175
183
  * // AutoTuneOptions: { // AutoTuneOptionsOutput
176
184
  * // State: "ENABLED" || "DISABLED" || "ENABLE_IN_PROGRESS" || "DISABLE_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_SCHEDULED" || "DISABLED_AND_ROLLBACK_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_COMPLETE" || "DISABLED_AND_ROLLBACK_ERROR" || "ERROR",
177
185
  * // ErrorMessage: "STRING_VALUE",
@@ -183,6 +183,14 @@ declare const DescribeDryRunProgressCommand_base: {
183
183
  * // AnonymousAuthDisableDate: new Date("TIMESTAMP"),
184
184
  * // AnonymousAuthEnabled: true || false,
185
185
  * // },
186
+ * // IdentityCenterOptions: { // IdentityCenterOptions
187
+ * // EnabledAPIAccess: true || false,
188
+ * // IdentityCenterInstanceARN: "STRING_VALUE",
189
+ * // SubjectKey: "UserName" || "UserId" || "Email",
190
+ * // RolesKey: "GroupName" || "GroupId",
191
+ * // IdentityCenterApplicationARN: "STRING_VALUE",
192
+ * // IdentityStoreId: "STRING_VALUE",
193
+ * // },
186
194
  * // AutoTuneOptions: { // AutoTuneOptionsOutput
187
195
  * // State: "ENABLED" || "DISABLED" || "ENABLE_IN_PROGRESS" || "DISABLE_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_SCHEDULED" || "DISABLED_AND_ROLLBACK_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_COMPLETE" || "DISABLED_AND_ROLLBACK_ERROR" || "ERROR",
188
196
  * // ErrorMessage: "STRING_VALUE",
@@ -0,0 +1,113 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetApplicationRequest, GetApplicationResponse } from "../models/models_0";
4
+ import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetApplicationCommand}.
14
+ */
15
+ export interface GetApplicationCommandInput extends GetApplicationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetApplicationCommand}.
21
+ */
22
+ export interface GetApplicationCommandOutput extends GetApplicationResponse, __MetadataBearer {
23
+ }
24
+ declare const GetApplicationCommand_base: {
25
+ new (input: GetApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<GetApplicationCommandInput, GetApplicationCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<GetApplicationCommandInput, GetApplicationCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Check the configuration and status of an existing OpenSearch Application.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { OpenSearchClient, GetApplicationCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
35
+ * // const { OpenSearchClient, GetApplicationCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
36
+ * const client = new OpenSearchClient(config);
37
+ * const input = { // GetApplicationRequest
38
+ * id: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetApplicationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetApplicationResponse
43
+ * // id: "STRING_VALUE",
44
+ * // arn: "STRING_VALUE",
45
+ * // name: "STRING_VALUE",
46
+ * // endpoint: "STRING_VALUE",
47
+ * // status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "FAILED",
48
+ * // iamIdentityCenterOptions: { // IamIdentityCenterOptions
49
+ * // enabled: true || false,
50
+ * // iamIdentityCenterInstanceArn: "STRING_VALUE",
51
+ * // iamRoleForIdentityCenterApplicationArn: "STRING_VALUE",
52
+ * // iamIdentityCenterApplicationArn: "STRING_VALUE",
53
+ * // },
54
+ * // dataSources: [ // DataSources
55
+ * // { // DataSource
56
+ * // dataSourceArn: "STRING_VALUE",
57
+ * // dataSourceDescription: "STRING_VALUE",
58
+ * // },
59
+ * // ],
60
+ * // appConfigs: [ // AppConfigs
61
+ * // { // AppConfig
62
+ * // key: "opensearchDashboards.dashboardAdmin.users" || "opensearchDashboards.dashboardAdmin.groups",
63
+ * // value: "STRING_VALUE",
64
+ * // },
65
+ * // ],
66
+ * // createdAt: new Date("TIMESTAMP"),
67
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param GetApplicationCommandInput - {@link GetApplicationCommandInput}
73
+ * @returns {@link GetApplicationCommandOutput}
74
+ * @see {@link GetApplicationCommandInput} for command's `input` shape.
75
+ * @see {@link GetApplicationCommandOutput} for command's `response` shape.
76
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
77
+ *
78
+ * @throws {@link AccessDeniedException} (client fault)
79
+ * <p>An error occurred because you don't have permissions to access the resource.</p>
80
+ *
81
+ * @throws {@link BaseException} (client fault)
82
+ * <p>An error occurred while processing the request.</p>
83
+ *
84
+ * @throws {@link DisabledOperationException} (client fault)
85
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
86
+ *
87
+ * @throws {@link InternalException} (server fault)
88
+ * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
89
+ *
90
+ * @throws {@link ResourceNotFoundException} (client fault)
91
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
92
+ *
93
+ * @throws {@link ValidationException} (client fault)
94
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
95
+ *
96
+ * @throws {@link OpenSearchServiceException}
97
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
98
+ *
99
+ * @public
100
+ */
101
+ export declare class GetApplicationCommand extends GetApplicationCommand_base {
102
+ /** @internal type navigation helper, not in runtime. */
103
+ protected static __types: {
104
+ api: {
105
+ input: GetApplicationRequest;
106
+ output: GetApplicationResponse;
107
+ };
108
+ sdk: {
109
+ input: GetApplicationCommandInput;
110
+ output: GetApplicationCommandOutput;
111
+ };
112
+ };
113
+ }
@@ -0,0 +1,104 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListApplicationsRequest, ListApplicationsResponse } from "../models/models_0";
4
+ import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListApplicationsCommand}.
14
+ */
15
+ export interface ListApplicationsCommandInput extends ListApplicationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListApplicationsCommand}.
21
+ */
22
+ export interface ListApplicationsCommandOutput extends ListApplicationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListApplicationsCommand_base: {
25
+ new (input: ListApplicationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListApplicationsCommandInput, ListApplicationsCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListApplicationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListApplicationsCommandInput, ListApplicationsCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List all OpenSearch Applications under your account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { OpenSearchClient, ListApplicationsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
35
+ * // const { OpenSearchClient, ListApplicationsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
36
+ * const client = new OpenSearchClient(config);
37
+ * const input = { // ListApplicationsRequest
38
+ * nextToken: "STRING_VALUE",
39
+ * statuses: [ // ApplicationStatuses
40
+ * "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "FAILED",
41
+ * ],
42
+ * maxResults: Number("int"),
43
+ * };
44
+ * const command = new ListApplicationsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListApplicationsResponse
47
+ * // ApplicationSummaries: [ // ApplicationSummaries
48
+ * // { // ApplicationSummary
49
+ * // id: "STRING_VALUE",
50
+ * // arn: "STRING_VALUE",
51
+ * // name: "STRING_VALUE",
52
+ * // endpoint: "STRING_VALUE",
53
+ * // status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "FAILED",
54
+ * // createdAt: new Date("TIMESTAMP"),
55
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
56
+ * // },
57
+ * // ],
58
+ * // nextToken: "STRING_VALUE",
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ListApplicationsCommandInput - {@link ListApplicationsCommandInput}
64
+ * @returns {@link ListApplicationsCommandOutput}
65
+ * @see {@link ListApplicationsCommandInput} for command's `input` shape.
66
+ * @see {@link ListApplicationsCommandOutput} for command's `response` shape.
67
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * <p>An error occurred because you don't have permissions to access the resource.</p>
71
+ *
72
+ * @throws {@link BaseException} (client fault)
73
+ * <p>An error occurred while processing the request.</p>
74
+ *
75
+ * @throws {@link DisabledOperationException} (client fault)
76
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
77
+ *
78
+ * @throws {@link InternalException} (server fault)
79
+ * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
83
+ *
84
+ * @throws {@link ValidationException} (client fault)
85
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
86
+ *
87
+ * @throws {@link OpenSearchServiceException}
88
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
89
+ *
90
+ * @public
91
+ */
92
+ export declare class ListApplicationsCommand extends ListApplicationsCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: ListApplicationsRequest;
97
+ output: ListApplicationsResponse;
98
+ };
99
+ sdk: {
100
+ input: ListApplicationsCommandInput;
101
+ output: ListApplicationsCommandOutput;
102
+ };
103
+ };
104
+ }
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { RejectInboundConnectionRequest, RejectInboundConnectionResponse } from "../models/models_0";
3
+ import { RejectInboundConnectionRequest } from "../models/models_0";
4
+ import { RejectInboundConnectionResponse } from "../models/models_1";
4
5
  import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
5
6
  /**
6
7
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { RemoveTagsRequest } from "../models/models_0";
3
+ import { RemoveTagsRequest } from "../models/models_1";
4
4
  import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { RevokeVpcEndpointAccessRequest, RevokeVpcEndpointAccessResponse } from "../models/models_0";
3
+ import { RevokeVpcEndpointAccessRequest, RevokeVpcEndpointAccessResponse } from "../models/models_1";
4
4
  import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
5
5
  /**
6
6
  * @public
@@ -37,7 +37,8 @@ declare const RevokeVpcEndpointAccessCommand_base: {
37
37
  * const client = new OpenSearchClient(config);
38
38
  * const input = { // RevokeVpcEndpointAccessRequest
39
39
  * DomainName: "STRING_VALUE", // required
40
- * Account: "STRING_VALUE", // required
40
+ * Account: "STRING_VALUE",
41
+ * Service: "application.opensearchservice.amazonaws.com",
41
42
  * };
42
43
  * const command = new RevokeVpcEndpointAccessCommand(input);
43
44
  * const response = await client.send(command);
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { StartDomainMaintenanceRequest, StartDomainMaintenanceResponse } from "../models/models_0";
3
+ import { StartDomainMaintenanceRequest, StartDomainMaintenanceResponse } from "../models/models_1";
4
4
  import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { StartServiceSoftwareUpdateRequest, StartServiceSoftwareUpdateResponse } from "../models/models_0";
3
+ import { StartServiceSoftwareUpdateRequest, StartServiceSoftwareUpdateResponse } from "../models/models_1";
4
4
  import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
5
5
  /**
6
6
  * @public
@@ -0,0 +1,126 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateApplicationRequest, UpdateApplicationResponse } from "../models/models_1";
4
+ import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateApplicationCommand}.
14
+ */
15
+ export interface UpdateApplicationCommandInput extends UpdateApplicationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateApplicationCommand}.
21
+ */
22
+ export interface UpdateApplicationCommandOutput extends UpdateApplicationResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateApplicationCommand_base: {
25
+ new (input: UpdateApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateApplicationCommandInput, UpdateApplicationCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateApplicationCommandInput, UpdateApplicationCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Update the OpenSearch Application. </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { OpenSearchClient, UpdateApplicationCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
35
+ * // const { OpenSearchClient, UpdateApplicationCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
36
+ * const client = new OpenSearchClient(config);
37
+ * const input = { // UpdateApplicationRequest
38
+ * id: "STRING_VALUE", // required
39
+ * dataSources: [ // DataSources
40
+ * { // DataSource
41
+ * dataSourceArn: "STRING_VALUE",
42
+ * dataSourceDescription: "STRING_VALUE",
43
+ * },
44
+ * ],
45
+ * appConfigs: [ // AppConfigs
46
+ * { // AppConfig
47
+ * key: "opensearchDashboards.dashboardAdmin.users" || "opensearchDashboards.dashboardAdmin.groups",
48
+ * value: "STRING_VALUE",
49
+ * },
50
+ * ],
51
+ * };
52
+ * const command = new UpdateApplicationCommand(input);
53
+ * const response = await client.send(command);
54
+ * // { // UpdateApplicationResponse
55
+ * // id: "STRING_VALUE",
56
+ * // name: "STRING_VALUE",
57
+ * // arn: "STRING_VALUE",
58
+ * // dataSources: [ // DataSources
59
+ * // { // DataSource
60
+ * // dataSourceArn: "STRING_VALUE",
61
+ * // dataSourceDescription: "STRING_VALUE",
62
+ * // },
63
+ * // ],
64
+ * // iamIdentityCenterOptions: { // IamIdentityCenterOptions
65
+ * // enabled: true || false,
66
+ * // iamIdentityCenterInstanceArn: "STRING_VALUE",
67
+ * // iamRoleForIdentityCenterApplicationArn: "STRING_VALUE",
68
+ * // iamIdentityCenterApplicationArn: "STRING_VALUE",
69
+ * // },
70
+ * // appConfigs: [ // AppConfigs
71
+ * // { // AppConfig
72
+ * // key: "opensearchDashboards.dashboardAdmin.users" || "opensearchDashboards.dashboardAdmin.groups",
73
+ * // value: "STRING_VALUE",
74
+ * // },
75
+ * // ],
76
+ * // createdAt: new Date("TIMESTAMP"),
77
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
78
+ * // };
79
+ *
80
+ * ```
81
+ *
82
+ * @param UpdateApplicationCommandInput - {@link UpdateApplicationCommandInput}
83
+ * @returns {@link UpdateApplicationCommandOutput}
84
+ * @see {@link UpdateApplicationCommandInput} for command's `input` shape.
85
+ * @see {@link UpdateApplicationCommandOutput} for command's `response` shape.
86
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
87
+ *
88
+ * @throws {@link AccessDeniedException} (client fault)
89
+ * <p>An error occurred because you don't have permissions to access the resource.</p>
90
+ *
91
+ * @throws {@link BaseException} (client fault)
92
+ * <p>An error occurred while processing the request.</p>
93
+ *
94
+ * @throws {@link ConflictException} (client fault)
95
+ * <p>An error occurred because the client attempts to remove a resource that is currently in use.</p>
96
+ *
97
+ * @throws {@link DisabledOperationException} (client fault)
98
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
99
+ *
100
+ * @throws {@link InternalException} (server fault)
101
+ * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
102
+ *
103
+ * @throws {@link ResourceNotFoundException} (client fault)
104
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
105
+ *
106
+ * @throws {@link ValidationException} (client fault)
107
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
108
+ *
109
+ * @throws {@link OpenSearchServiceException}
110
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
111
+ *
112
+ * @public
113
+ */
114
+ export declare class UpdateApplicationCommand extends UpdateApplicationCommand_base {
115
+ /** @internal type navigation helper, not in runtime. */
116
+ protected static __types: {
117
+ api: {
118
+ input: UpdateApplicationRequest;
119
+ output: UpdateApplicationResponse;
120
+ };
121
+ sdk: {
122
+ input: UpdateApplicationCommandInput;
123
+ output: UpdateApplicationCommandOutput;
124
+ };
125
+ };
126
+ }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UpdateDataSourceRequest, UpdateDataSourceResponse } from "../models/models_0";
3
+ import { UpdateDataSourceRequest, UpdateDataSourceResponse } from "../models/models_1";
4
4
  import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UpdateDomainConfigRequest, UpdateDomainConfigResponse } from "../models/models_0";
3
+ import { UpdateDomainConfigRequest, UpdateDomainConfigResponse } from "../models/models_1";
4
4
  import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
5
5
  /**
6
6
  * @public
@@ -142,6 +142,12 @@ declare const UpdateDomainConfigCommand_base: {
142
142
  * },
143
143
  * AnonymousAuthEnabled: true || false,
144
144
  * },
145
+ * IdentityCenterOptions: { // IdentityCenterOptionsInput
146
+ * EnabledAPIAccess: true || false,
147
+ * IdentityCenterInstanceARN: "STRING_VALUE",
148
+ * SubjectKey: "UserName" || "UserId" || "Email",
149
+ * RolesKey: "GroupName" || "GroupId",
150
+ * },
145
151
  * AutoTuneOptions: { // AutoTuneOptions
146
152
  * DesiredState: "ENABLED" || "DISABLED",
147
153
  * RollbackOnDisable: "NO_ROLLBACK" || "DEFAULT_ROLLBACK",
@@ -357,6 +363,17 @@ declare const UpdateDomainConfigCommand_base: {
357
363
  * // },
358
364
  * // Status: "<OptionStatus>", // required
359
365
  * // },
366
+ * // IdentityCenterOptions: { // IdentityCenterOptionsStatus
367
+ * // Options: { // IdentityCenterOptions
368
+ * // EnabledAPIAccess: true || false,
369
+ * // IdentityCenterInstanceARN: "STRING_VALUE",
370
+ * // SubjectKey: "UserName" || "UserId" || "Email",
371
+ * // RolesKey: "GroupName" || "GroupId",
372
+ * // IdentityCenterApplicationARN: "STRING_VALUE",
373
+ * // IdentityStoreId: "STRING_VALUE",
374
+ * // },
375
+ * // Status: "<OptionStatus>", // required
376
+ * // },
360
377
  * // AutoTuneOptions: { // AutoTuneOptionsStatus
361
378
  * // Options: { // AutoTuneOptions
362
379
  * // DesiredState: "ENABLED" || "DISABLED",