@aws-sdk/client-opensearch 3.686.0 → 3.689.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 +24 -0
- package/dist-cjs/index.js +186 -3
- package/dist-es/OpenSearch.js +6 -0
- package/dist-es/commands/AssociatePackagesCommand.js +22 -0
- package/dist-es/commands/DissociatePackagesCommand.js +22 -0
- package/dist-es/commands/UpdatePackageScopeCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/models/models_1.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +108 -1
- package/dist-types/OpenSearch.d.ts +21 -0
- package/dist-types/OpenSearchClient.d.ts +5 -2
- package/dist-types/commands/AssociatePackageCommand.d.ts +19 -1
- package/dist-types/commands/AssociatePackagesCommand.d.ts +127 -0
- package/dist-types/commands/CreatePackageCommand.d.ts +33 -2
- package/dist-types/commands/DeletePackageCommand.d.ts +18 -1
- package/dist-types/commands/DescribePackagesCommand.d.ts +19 -2
- package/dist-types/commands/DissociatePackageCommand.d.ts +10 -1
- package/dist-types/commands/DissociatePackagesCommand.d.ts +116 -0
- package/dist-types/commands/GetPackageVersionHistoryCommand.d.ts +6 -0
- package/dist-types/commands/ListDomainsForPackageCommand.d.ts +10 -1
- package/dist-types/commands/ListPackagesForDomainCommand.d.ts +10 -1
- package/dist-types/commands/ListVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/ListVpcEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseReservedInstanceOfferingCommand.d.ts +1 -1
- package/dist-types/commands/RejectInboundConnectionCommand.d.ts +1 -2
- package/dist-types/commands/UpdatePackageCommand.d.ts +28 -1
- package/dist-types/commands/UpdatePackageScopeCommand.d.ts +94 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +242 -186
- package/dist-types/models/models_1.d.ts +250 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +51 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/AssociatePackagesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DissociatePackagesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVpcEndpointAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVpcEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVpcEndpointsForDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PurchaseReservedInstanceOfferingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectInboundConnectionCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdatePackageScopeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +63 -43
- package/dist-types/ts3.4/models/models_1.d.ts +66 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +6 -6
|
@@ -47,16 +47,25 @@ declare const DissociatePackageCommand_base: {
|
|
|
47
47
|
* // DomainPackageDetails: { // DomainPackageDetails
|
|
48
48
|
* // PackageID: "STRING_VALUE",
|
|
49
49
|
* // PackageName: "STRING_VALUE",
|
|
50
|
-
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN",
|
|
50
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN" || "PACKAGE-LICENSE" || "PACKAGE-CONFIG",
|
|
51
51
|
* // LastUpdated: new Date("TIMESTAMP"),
|
|
52
52
|
* // DomainName: "STRING_VALUE",
|
|
53
53
|
* // DomainPackageStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ACTIVE" || "DISSOCIATING" || "DISSOCIATION_FAILED",
|
|
54
54
|
* // PackageVersion: "STRING_VALUE",
|
|
55
|
+
* // PrerequisitePackageIDList: [ // PackageIDList
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
55
58
|
* // ReferencePath: "STRING_VALUE",
|
|
56
59
|
* // ErrorDetails: { // ErrorDetails
|
|
57
60
|
* // ErrorType: "STRING_VALUE",
|
|
58
61
|
* // ErrorMessage: "STRING_VALUE",
|
|
59
62
|
* // },
|
|
63
|
+
* // AssociationConfiguration: { // PackageAssociationConfiguration
|
|
64
|
+
* // KeyStoreAccessOption: { // KeyStoreAccessOption
|
|
65
|
+
* // KeyAccessRoleArn: "STRING_VALUE",
|
|
66
|
+
* // KeyStoreAccessEnabled: true || false, // required
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
60
69
|
* // },
|
|
61
70
|
* // };
|
|
62
71
|
*
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DissociatePackagesRequest, DissociatePackagesResponse } 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 DissociatePackagesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DissociatePackagesCommandInput extends DissociatePackagesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DissociatePackagesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DissociatePackagesCommandOutput extends DissociatePackagesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DissociatePackagesCommand_base: {
|
|
25
|
+
new (input: DissociatePackagesCommandInput): import("@smithy/smithy-client").CommandImpl<DissociatePackagesCommandInput, DissociatePackagesCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DissociatePackagesCommandInput): import("@smithy/smithy-client").CommandImpl<DissociatePackagesCommandInput, DissociatePackagesCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Dissociates multiple packages from a domain simulatneously.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { OpenSearchClient, DissociatePackagesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
35
|
+
* // const { OpenSearchClient, DissociatePackagesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
36
|
+
* const client = new OpenSearchClient(config);
|
|
37
|
+
* const input = { // DissociatePackagesRequest
|
|
38
|
+
* PackageList: [ // PackageIDList // required
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* DomainName: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DissociatePackagesCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DissociatePackagesResponse
|
|
46
|
+
* // DomainPackageDetailsList: [ // DomainPackageDetailsList
|
|
47
|
+
* // { // DomainPackageDetails
|
|
48
|
+
* // PackageID: "STRING_VALUE",
|
|
49
|
+
* // PackageName: "STRING_VALUE",
|
|
50
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN" || "PACKAGE-LICENSE" || "PACKAGE-CONFIG",
|
|
51
|
+
* // LastUpdated: new Date("TIMESTAMP"),
|
|
52
|
+
* // DomainName: "STRING_VALUE",
|
|
53
|
+
* // DomainPackageStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ACTIVE" || "DISSOCIATING" || "DISSOCIATION_FAILED",
|
|
54
|
+
* // PackageVersion: "STRING_VALUE",
|
|
55
|
+
* // PrerequisitePackageIDList: [ // PackageIDList
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // ReferencePath: "STRING_VALUE",
|
|
59
|
+
* // ErrorDetails: { // ErrorDetails
|
|
60
|
+
* // ErrorType: "STRING_VALUE",
|
|
61
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // AssociationConfiguration: { // PackageAssociationConfiguration
|
|
64
|
+
* // KeyStoreAccessOption: { // KeyStoreAccessOption
|
|
65
|
+
* // KeyAccessRoleArn: "STRING_VALUE",
|
|
66
|
+
* // KeyStoreAccessEnabled: true || false, // required
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param DissociatePackagesCommandInput - {@link DissociatePackagesCommandInput}
|
|
76
|
+
* @returns {@link DissociatePackagesCommandOutput}
|
|
77
|
+
* @see {@link DissociatePackagesCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link DissociatePackagesCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link BaseException} (client fault)
|
|
82
|
+
* <p>An error occurred while processing the request.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ConflictException} (client fault)
|
|
85
|
+
* <p>An error occurred because the client attempts to remove a resource that is currently in use.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
88
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InternalException} (server fault)
|
|
91
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
94
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ValidationException} (client fault)
|
|
97
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link OpenSearchServiceException}
|
|
100
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
101
|
+
*
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export declare class DissociatePackagesCommand extends DissociatePackagesCommand_base {
|
|
105
|
+
/** @internal type navigation helper, not in runtime. */
|
|
106
|
+
protected static __types: {
|
|
107
|
+
api: {
|
|
108
|
+
input: DissociatePackagesRequest;
|
|
109
|
+
output: DissociatePackagesResponse;
|
|
110
|
+
};
|
|
111
|
+
sdk: {
|
|
112
|
+
input: DissociatePackagesCommandInput;
|
|
113
|
+
output: DissociatePackagesCommandOutput;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
}
|
|
@@ -57,6 +57,12 @@ declare const GetPackageVersionHistoryCommand_base: {
|
|
|
57
57
|
* // ClassName: "STRING_VALUE",
|
|
58
58
|
* // UncompressedSizeInBytes: Number("long"),
|
|
59
59
|
* // },
|
|
60
|
+
* // PackageConfiguration: { // PackageConfiguration
|
|
61
|
+
* // LicenseRequirement: "REQUIRED" || "OPTIONAL" || "NONE", // required
|
|
62
|
+
* // LicenseFilepath: "STRING_VALUE",
|
|
63
|
+
* // ConfigurationRequirement: "REQUIRED" || "OPTIONAL" || "NONE", // required
|
|
64
|
+
* // RequiresRestartForConfigurationUpdate: true || false,
|
|
65
|
+
* // },
|
|
60
66
|
* // },
|
|
61
67
|
* // ],
|
|
62
68
|
* // NextToken: "STRING_VALUE",
|
|
@@ -48,16 +48,25 @@ declare const ListDomainsForPackageCommand_base: {
|
|
|
48
48
|
* // { // DomainPackageDetails
|
|
49
49
|
* // PackageID: "STRING_VALUE",
|
|
50
50
|
* // PackageName: "STRING_VALUE",
|
|
51
|
-
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN",
|
|
51
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN" || "PACKAGE-LICENSE" || "PACKAGE-CONFIG",
|
|
52
52
|
* // LastUpdated: new Date("TIMESTAMP"),
|
|
53
53
|
* // DomainName: "STRING_VALUE",
|
|
54
54
|
* // DomainPackageStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ACTIVE" || "DISSOCIATING" || "DISSOCIATION_FAILED",
|
|
55
55
|
* // PackageVersion: "STRING_VALUE",
|
|
56
|
+
* // PrerequisitePackageIDList: [ // PackageIDList
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
56
59
|
* // ReferencePath: "STRING_VALUE",
|
|
57
60
|
* // ErrorDetails: { // ErrorDetails
|
|
58
61
|
* // ErrorType: "STRING_VALUE",
|
|
59
62
|
* // ErrorMessage: "STRING_VALUE",
|
|
60
63
|
* // },
|
|
64
|
+
* // AssociationConfiguration: { // PackageAssociationConfiguration
|
|
65
|
+
* // KeyStoreAccessOption: { // KeyStoreAccessOption
|
|
66
|
+
* // KeyAccessRoleArn: "STRING_VALUE",
|
|
67
|
+
* // KeyStoreAccessEnabled: true || false, // required
|
|
68
|
+
* // },
|
|
69
|
+
* // },
|
|
61
70
|
* // },
|
|
62
71
|
* // ],
|
|
63
72
|
* // NextToken: "STRING_VALUE",
|
|
@@ -48,16 +48,25 @@ declare const ListPackagesForDomainCommand_base: {
|
|
|
48
48
|
* // { // DomainPackageDetails
|
|
49
49
|
* // PackageID: "STRING_VALUE",
|
|
50
50
|
* // PackageName: "STRING_VALUE",
|
|
51
|
-
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN",
|
|
51
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN" || "PACKAGE-LICENSE" || "PACKAGE-CONFIG",
|
|
52
52
|
* // LastUpdated: new Date("TIMESTAMP"),
|
|
53
53
|
* // DomainName: "STRING_VALUE",
|
|
54
54
|
* // DomainPackageStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ACTIVE" || "DISSOCIATING" || "DISSOCIATION_FAILED",
|
|
55
55
|
* // PackageVersion: "STRING_VALUE",
|
|
56
|
+
* // PrerequisitePackageIDList: [ // PackageIDList
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
56
59
|
* // ReferencePath: "STRING_VALUE",
|
|
57
60
|
* // ErrorDetails: { // ErrorDetails
|
|
58
61
|
* // ErrorType: "STRING_VALUE",
|
|
59
62
|
* // ErrorMessage: "STRING_VALUE",
|
|
60
63
|
* // },
|
|
64
|
+
* // AssociationConfiguration: { // PackageAssociationConfiguration
|
|
65
|
+
* // KeyStoreAccessOption: { // KeyStoreAccessOption
|
|
66
|
+
* // KeyAccessRoleArn: "STRING_VALUE",
|
|
67
|
+
* // KeyStoreAccessEnabled: true || false, // required
|
|
68
|
+
* // },
|
|
69
|
+
* // },
|
|
61
70
|
* // },
|
|
62
71
|
* // ],
|
|
63
72
|
* // NextToken: "STRING_VALUE",
|
|
@@ -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 { ListVersionsRequest, ListVersionsResponse } from "../models/
|
|
3
|
+
import { ListVersionsRequest, ListVersionsResponse } 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 { ListVpcEndpointAccessRequest, ListVpcEndpointAccessResponse } from "../models/
|
|
3
|
+
import { ListVpcEndpointAccessRequest, ListVpcEndpointAccessResponse } 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 { ListVpcEndpointsRequest, ListVpcEndpointsResponse } from "../models/
|
|
3
|
+
import { ListVpcEndpointsRequest, ListVpcEndpointsResponse } 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 { ListVpcEndpointsForDomainRequest, ListVpcEndpointsForDomainResponse } from "../models/
|
|
3
|
+
import { ListVpcEndpointsForDomainRequest, ListVpcEndpointsForDomainResponse } 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 { PurchaseReservedInstanceOfferingRequest, PurchaseReservedInstanceOfferingResponse } from "../models/
|
|
3
|
+
import { PurchaseReservedInstanceOfferingRequest, PurchaseReservedInstanceOfferingResponse } from "../models/models_1";
|
|
4
4
|
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { RejectInboundConnectionRequest } from "../models/
|
|
4
|
-
import { RejectInboundConnectionResponse } from "../models/models_1";
|
|
3
|
+
import { RejectInboundConnectionRequest, RejectInboundConnectionResponse } from "../models/models_1";
|
|
5
4
|
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -43,6 +43,16 @@ declare const UpdatePackageCommand_base: {
|
|
|
43
43
|
* },
|
|
44
44
|
* PackageDescription: "STRING_VALUE",
|
|
45
45
|
* CommitMessage: "STRING_VALUE",
|
|
46
|
+
* PackageConfiguration: { // PackageConfiguration
|
|
47
|
+
* LicenseRequirement: "REQUIRED" || "OPTIONAL" || "NONE", // required
|
|
48
|
+
* LicenseFilepath: "STRING_VALUE",
|
|
49
|
+
* ConfigurationRequirement: "REQUIRED" || "OPTIONAL" || "NONE", // required
|
|
50
|
+
* RequiresRestartForConfigurationUpdate: true || false,
|
|
51
|
+
* },
|
|
52
|
+
* PackageEncryptionOptions: { // PackageEncryptionOptions
|
|
53
|
+
* KmsKeyIdentifier: "STRING_VALUE",
|
|
54
|
+
* EncryptionEnabled: true || false, // required
|
|
55
|
+
* },
|
|
46
56
|
* };
|
|
47
57
|
* const command = new UpdatePackageCommand(input);
|
|
48
58
|
* const response = await client.send(command);
|
|
@@ -50,7 +60,7 @@ declare const UpdatePackageCommand_base: {
|
|
|
50
60
|
* // PackageDetails: { // PackageDetails
|
|
51
61
|
* // PackageID: "STRING_VALUE",
|
|
52
62
|
* // PackageName: "STRING_VALUE",
|
|
53
|
-
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN",
|
|
63
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN" || "PACKAGE-LICENSE" || "PACKAGE-CONFIG",
|
|
54
64
|
* // PackageDescription: "STRING_VALUE",
|
|
55
65
|
* // PackageStatus: "COPYING" || "COPY_FAILED" || "VALIDATING" || "VALIDATION_FAILED" || "AVAILABLE" || "DELETING" || "DELETED" || "DELETE_FAILED",
|
|
56
66
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
@@ -68,6 +78,23 @@ declare const UpdatePackageCommand_base: {
|
|
|
68
78
|
* // ClassName: "STRING_VALUE",
|
|
69
79
|
* // UncompressedSizeInBytes: Number("long"),
|
|
70
80
|
* // },
|
|
81
|
+
* // AvailablePackageConfiguration: { // PackageConfiguration
|
|
82
|
+
* // LicenseRequirement: "REQUIRED" || "OPTIONAL" || "NONE", // required
|
|
83
|
+
* // LicenseFilepath: "STRING_VALUE",
|
|
84
|
+
* // ConfigurationRequirement: "REQUIRED" || "OPTIONAL" || "NONE", // required
|
|
85
|
+
* // RequiresRestartForConfigurationUpdate: true || false,
|
|
86
|
+
* // },
|
|
87
|
+
* // AllowListedUserList: [ // PackageUserList
|
|
88
|
+
* // "STRING_VALUE",
|
|
89
|
+
* // ],
|
|
90
|
+
* // PackageOwner: "STRING_VALUE",
|
|
91
|
+
* // PackageVendingOptions: { // PackageVendingOptions
|
|
92
|
+
* // VendingEnabled: true || false, // required
|
|
93
|
+
* // },
|
|
94
|
+
* // PackageEncryptionOptions: { // PackageEncryptionOptions
|
|
95
|
+
* // KmsKeyIdentifier: "STRING_VALUE",
|
|
96
|
+
* // EncryptionEnabled: true || false, // required
|
|
97
|
+
* // },
|
|
71
98
|
* // },
|
|
72
99
|
* // };
|
|
73
100
|
*
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdatePackageScopeRequest, UpdatePackageScopeResponse } 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 UpdatePackageScopeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdatePackageScopeCommandInput extends UpdatePackageScopeRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdatePackageScopeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdatePackageScopeCommandOutput extends UpdatePackageScopeResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdatePackageScopeCommand_base: {
|
|
25
|
+
new (input: UpdatePackageScopeCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePackageScopeCommandInput, UpdatePackageScopeCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdatePackageScopeCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePackageScopeCommandInput, UpdatePackageScopeCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the scope of a package. Scope of the package defines users who can view and associate a package.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { OpenSearchClient, UpdatePackageScopeCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
35
|
+
* // const { OpenSearchClient, UpdatePackageScopeCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
36
|
+
* const client = new OpenSearchClient(config);
|
|
37
|
+
* const input = { // UpdatePackageScopeRequest
|
|
38
|
+
* PackageID: "STRING_VALUE", // required
|
|
39
|
+
* Operation: "ADD" || "OVERRIDE" || "REMOVE", // required
|
|
40
|
+
* PackageUserList: [ // PackageUserList // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
44
|
+
* const command = new UpdatePackageScopeCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // UpdatePackageScopeResponse
|
|
47
|
+
* // PackageID: "STRING_VALUE",
|
|
48
|
+
* // Operation: "ADD" || "OVERRIDE" || "REMOVE",
|
|
49
|
+
* // PackageUserList: [ // PackageUserList
|
|
50
|
+
* // "STRING_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param UpdatePackageScopeCommandInput - {@link UpdatePackageScopeCommandInput}
|
|
57
|
+
* @returns {@link UpdatePackageScopeCommandOutput}
|
|
58
|
+
* @see {@link UpdatePackageScopeCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link UpdatePackageScopeCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link BaseException} (client fault)
|
|
63
|
+
* <p>An error occurred while processing the request.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
66
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalException} (server fault)
|
|
69
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link OpenSearchServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class UpdatePackageScopeCommand extends UpdatePackageScopeCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: UpdatePackageScopeRequest;
|
|
87
|
+
output: UpdatePackageScopeResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: UpdatePackageScopeCommandInput;
|
|
91
|
+
output: UpdatePackageScopeCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from "./AcceptInboundConnectionCommand";
|
|
|
2
2
|
export * from "./AddDataSourceCommand";
|
|
3
3
|
export * from "./AddTagsCommand";
|
|
4
4
|
export * from "./AssociatePackageCommand";
|
|
5
|
+
export * from "./AssociatePackagesCommand";
|
|
5
6
|
export * from "./AuthorizeVpcEndpointAccessCommand";
|
|
6
7
|
export * from "./CancelDomainConfigChangeCommand";
|
|
7
8
|
export * from "./CancelServiceSoftwareUpdateCommand";
|
|
@@ -33,6 +34,7 @@ export * from "./DescribeReservedInstanceOfferingsCommand";
|
|
|
33
34
|
export * from "./DescribeReservedInstancesCommand";
|
|
34
35
|
export * from "./DescribeVpcEndpointsCommand";
|
|
35
36
|
export * from "./DissociatePackageCommand";
|
|
37
|
+
export * from "./DissociatePackagesCommand";
|
|
36
38
|
export * from "./GetApplicationCommand";
|
|
37
39
|
export * from "./GetCompatibleVersionsCommand";
|
|
38
40
|
export * from "./GetDataSourceCommand";
|
|
@@ -63,6 +65,7 @@ export * from "./UpdateApplicationCommand";
|
|
|
63
65
|
export * from "./UpdateDataSourceCommand";
|
|
64
66
|
export * from "./UpdateDomainConfigCommand";
|
|
65
67
|
export * from "./UpdatePackageCommand";
|
|
68
|
+
export * from "./UpdatePackageScopeCommand";
|
|
66
69
|
export * from "./UpdateScheduledActionCommand";
|
|
67
70
|
export * from "./UpdateVpcEndpointCommand";
|
|
68
71
|
export * from "./UpgradeDomainCommand";
|