@aws-sdk/client-evs 3.1032.0 → 3.1033.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 +49 -0
- package/dist-cjs/endpoint/bdd.js +49 -0
- package/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +136 -0
- package/dist-cjs/schemas/schemas_0.js +189 -23
- package/dist-es/Evs.js +18 -0
- package/dist-es/commands/CreateEntitlementCommand.js +16 -0
- package/dist-es/commands/CreateEnvironmentConnectorCommand.js +16 -0
- package/dist-es/commands/DeleteEntitlementCommand.js +16 -0
- package/dist-es/commands/DeleteEnvironmentConnectorCommand.js +16 -0
- package/dist-es/commands/ListEnvironmentConnectorsCommand.js +16 -0
- package/dist-es/commands/ListVmEntitlementsCommand.js +16 -0
- package/dist-es/commands/UpdateEnvironmentConnectorCommand.js +16 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoint/bdd.js +46 -0
- package/dist-es/endpoint/endpointResolver.js +3 -3
- package/dist-es/models/enums.js +26 -0
- package/dist-es/pagination/ListEnvironmentConnectorsPaginator.js +4 -0
- package/dist-es/pagination/ListVmEntitlementsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +187 -21
- package/dist-types/Evs.d.ts +63 -0
- package/dist-types/EvsClient.d.ts +9 -2
- package/dist-types/commands/CreateEntitlementCommand.d.ts +105 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateEnvironmentConnectorCommand.d.ts +106 -0
- package/dist-types/commands/DeleteEntitlementCommand.d.ts +105 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEnvironmentConnectorCommand.d.ts +114 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/ListEnvironmentConnectorsCommand.d.ts +104 -0
- package/dist-types/commands/ListVmEntitlementsCommand.d.ts +101 -0
- package/dist-types/commands/UpdateEnvironmentConnectorCommand.d.ts +106 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/models/enums.d.ts +58 -0
- package/dist-types/models/models_0.d.ts +435 -1
- package/dist-types/pagination/ListEnvironmentConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListVmEntitlementsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +25 -0
- package/dist-types/ts3.4/Evs.d.ts +133 -0
- package/dist-types/ts3.4/EvsClient.d.ts +44 -2
- package/dist-types/ts3.4/commands/CreateEntitlementCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentConnectorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteEntitlementCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteEnvironmentConnectorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEnvironmentConnectorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListVmEntitlementsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateEnvironmentConnectorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +33 -0
- package/dist-types/ts3.4/models/models_0.d.ts +108 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentConnectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVmEntitlementsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
- package/package.json +5 -5
- package/dist-cjs/endpoint/ruleset.js +0 -7
- package/dist-es/endpoint/ruleset.js +0 -4
- package/dist-types/endpoint/ruleset.d.ts +0 -2
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
|
@@ -64,7 +64,7 @@ declare const GetEnvironmentCommand_base: {
|
|
|
64
64
|
* // environmentStatus: "PASSED" || "FAILED" || "UNKNOWN",
|
|
65
65
|
* // checks: [ // ChecksList
|
|
66
66
|
* // { // Check
|
|
67
|
-
* // type: "KEY_REUSE" || "KEY_COVERAGE" || "REACHABILITY" || "HOST_COUNT",
|
|
67
|
+
* // type: "KEY_REUSE" || "KEY_COVERAGE" || "REACHABILITY" || "HOST_COUNT" || "VCENTER_REACHABILITY" || "VCENTER_VM_SYNC" || "VCENTER_VM_EVENT",
|
|
68
68
|
* // result: "PASSED" || "FAILED" || "UNKNOWN",
|
|
69
69
|
* // impairedSince: new Date("TIMESTAMP"),
|
|
70
70
|
* // },
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
|
|
4
|
+
import type { ListEnvironmentConnectorsRequest, ListEnvironmentConnectorsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListEnvironmentConnectorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListEnvironmentConnectorsCommandInput extends ListEnvironmentConnectorsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListEnvironmentConnectorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListEnvironmentConnectorsCommandOutput extends ListEnvironmentConnectorsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListEnvironmentConnectorsCommand_base: {
|
|
25
|
+
new (input: ListEnvironmentConnectorsCommandInput): import("@smithy/smithy-client").CommandImpl<ListEnvironmentConnectorsCommandInput, ListEnvironmentConnectorsCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListEnvironmentConnectorsCommandInput): import("@smithy/smithy-client").CommandImpl<ListEnvironmentConnectorsCommandInput, ListEnvironmentConnectorsCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the connectors within an environment. Returns the status of each connector and its applicable checks, among other connector details.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EvsClient, ListEnvironmentConnectorsCommand } from "@aws-sdk/client-evs"; // ES Modules import
|
|
35
|
+
* // const { EvsClient, ListEnvironmentConnectorsCommand } = require("@aws-sdk/client-evs"); // CommonJS import
|
|
36
|
+
* // import type { EvsClientConfig } from "@aws-sdk/client-evs";
|
|
37
|
+
* const config = {}; // type is EvsClientConfig
|
|
38
|
+
* const client = new EvsClient(config);
|
|
39
|
+
* const input = { // ListEnvironmentConnectorsRequest
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* environmentId: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListEnvironmentConnectorsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListEnvironmentConnectorsResponse
|
|
47
|
+
* // nextToken: "STRING_VALUE",
|
|
48
|
+
* // connectors: [ // ConnectorList
|
|
49
|
+
* // { // Connector
|
|
50
|
+
* // environmentId: "STRING_VALUE",
|
|
51
|
+
* // connectorId: "STRING_VALUE",
|
|
52
|
+
* // type: "VCENTER",
|
|
53
|
+
* // applianceFqdn: "STRING_VALUE",
|
|
54
|
+
* // secretArn: "STRING_VALUE",
|
|
55
|
+
* // state: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "DELETED",
|
|
56
|
+
* // stateDetails: "STRING_VALUE",
|
|
57
|
+
* // status: "PASSED" || "FAILED" || "UNKNOWN",
|
|
58
|
+
* // checks: [ // ConnectorsChecksList
|
|
59
|
+
* // { // ConnectorCheck
|
|
60
|
+
* // type: "KEY_REUSE" || "KEY_COVERAGE" || "REACHABILITY" || "HOST_COUNT" || "VCENTER_REACHABILITY" || "VCENTER_VM_SYNC" || "VCENTER_VM_EVENT",
|
|
61
|
+
* // result: "PASSED" || "FAILED" || "UNKNOWN",
|
|
62
|
+
* // lastCheckAttempt: new Date("TIMESTAMP"),
|
|
63
|
+
* // impairedSince: new Date("TIMESTAMP"),
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
67
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param ListEnvironmentConnectorsCommandInput - {@link ListEnvironmentConnectorsCommandInput}
|
|
75
|
+
* @returns {@link ListEnvironmentConnectorsCommandOutput}
|
|
76
|
+
* @see {@link ListEnvironmentConnectorsCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link ListEnvironmentConnectorsCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>A service resource associated with the request could not be found. The resource might not be specified correctly, or it may have a <code>state</code> of <code>DELETED</code>.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link EvsServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from Evs service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class ListEnvironmentConnectorsCommand extends ListEnvironmentConnectorsCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: ListEnvironmentConnectorsRequest;
|
|
97
|
+
output: ListEnvironmentConnectorsResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: ListEnvironmentConnectorsCommandInput;
|
|
101
|
+
output: ListEnvironmentConnectorsCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
|
|
4
|
+
import type { ListVmEntitlementsRequest, ListVmEntitlementsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListVmEntitlementsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListVmEntitlementsCommandInput extends ListVmEntitlementsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListVmEntitlementsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListVmEntitlementsCommandOutput extends ListVmEntitlementsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListVmEntitlementsCommand_base: {
|
|
25
|
+
new (input: ListVmEntitlementsCommandInput): import("@smithy/smithy-client").CommandImpl<ListVmEntitlementsCommandInput, ListVmEntitlementsCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListVmEntitlementsCommandInput): import("@smithy/smithy-client").CommandImpl<ListVmEntitlementsCommandInput, ListVmEntitlementsCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the Windows Server License entitlements for virtual machines in an Amazon EVS environment. Returns existing entitlements for virtual machines associated with the specified environment and connector.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EvsClient, ListVmEntitlementsCommand } from "@aws-sdk/client-evs"; // ES Modules import
|
|
35
|
+
* // const { EvsClient, ListVmEntitlementsCommand } = require("@aws-sdk/client-evs"); // CommonJS import
|
|
36
|
+
* // import type { EvsClientConfig } from "@aws-sdk/client-evs";
|
|
37
|
+
* const config = {}; // type is EvsClientConfig
|
|
38
|
+
* const client = new EvsClient(config);
|
|
39
|
+
* const input = { // ListVmEntitlementsRequest
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* environmentId: "STRING_VALUE", // required
|
|
43
|
+
* connectorId: "STRING_VALUE", // required
|
|
44
|
+
* entitlementType: "WINDOWS_SERVER", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ListVmEntitlementsCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ListVmEntitlementsResponse
|
|
49
|
+
* // nextToken: "STRING_VALUE",
|
|
50
|
+
* // entitlements: [ // VmEntitlementList
|
|
51
|
+
* // { // VmEntitlement
|
|
52
|
+
* // vmId: "STRING_VALUE",
|
|
53
|
+
* // environmentId: "STRING_VALUE",
|
|
54
|
+
* // connectorId: "STRING_VALUE",
|
|
55
|
+
* // vmName: "STRING_VALUE",
|
|
56
|
+
* // type: "WINDOWS_SERVER",
|
|
57
|
+
* // status: "CREATING" || "CREATED" || "DELETED" || "AT_RISK" || "ENTITLEMENT_REMOVED" || "CREATE_FAILED",
|
|
58
|
+
* // lastSyncedAt: new Date("TIMESTAMP"),
|
|
59
|
+
* // startedAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // stoppedAt: new Date("TIMESTAMP"),
|
|
61
|
+
* // errorDetail: { // ErrorDetail
|
|
62
|
+
* // errorCode: "STRING_VALUE", // required
|
|
63
|
+
* // errorMessage: "STRING_VALUE", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param ListVmEntitlementsCommandInput - {@link ListVmEntitlementsCommandInput}
|
|
72
|
+
* @returns {@link ListVmEntitlementsCommandOutput}
|
|
73
|
+
* @see {@link ListVmEntitlementsCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link ListVmEntitlementsCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* <p>A service resource associated with the request could not be found. The resource might not be specified correctly, or it may have a <code>state</code> of <code>DELETED</code>.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <p>The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link EvsServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from Evs service.</p>
|
|
85
|
+
*
|
|
86
|
+
*
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class ListVmEntitlementsCommand extends ListVmEntitlementsCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: ListVmEntitlementsRequest;
|
|
94
|
+
output: ListVmEntitlementsResponse;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: ListVmEntitlementsCommandInput;
|
|
98
|
+
output: ListVmEntitlementsCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
|
|
4
|
+
import type { UpdateEnvironmentConnectorRequest, UpdateEnvironmentConnectorResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateEnvironmentConnectorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateEnvironmentConnectorCommandInput extends UpdateEnvironmentConnectorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateEnvironmentConnectorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateEnvironmentConnectorCommandOutput extends UpdateEnvironmentConnectorResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateEnvironmentConnectorCommand_base: {
|
|
25
|
+
new (input: UpdateEnvironmentConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEnvironmentConnectorCommandInput, UpdateEnvironmentConnectorCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateEnvironmentConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEnvironmentConnectorCommandInput, UpdateEnvironmentConnectorCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates a connector for an Amazon EVS environment. You can update the Amazon Web Services Secrets Manager secret ARN or the appliance FQDN to reconfigure the connector metadata.</p> <note> <p>You cannot update both the secret and the FQDN in the same request.</p> </note>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EvsClient, UpdateEnvironmentConnectorCommand } from "@aws-sdk/client-evs"; // ES Modules import
|
|
35
|
+
* // const { EvsClient, UpdateEnvironmentConnectorCommand } = require("@aws-sdk/client-evs"); // CommonJS import
|
|
36
|
+
* // import type { EvsClientConfig } from "@aws-sdk/client-evs";
|
|
37
|
+
* const config = {}; // type is EvsClientConfig
|
|
38
|
+
* const client = new EvsClient(config);
|
|
39
|
+
* const input = { // UpdateEnvironmentConnectorRequest
|
|
40
|
+
* clientToken: "STRING_VALUE",
|
|
41
|
+
* environmentId: "STRING_VALUE", // required
|
|
42
|
+
* connectorId: "STRING_VALUE", // required
|
|
43
|
+
* applianceFqdn: "STRING_VALUE",
|
|
44
|
+
* secretIdentifier: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new UpdateEnvironmentConnectorCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // UpdateEnvironmentConnectorResponse
|
|
49
|
+
* // connector: { // Connector
|
|
50
|
+
* // environmentId: "STRING_VALUE",
|
|
51
|
+
* // connectorId: "STRING_VALUE",
|
|
52
|
+
* // type: "VCENTER",
|
|
53
|
+
* // applianceFqdn: "STRING_VALUE",
|
|
54
|
+
* // secretArn: "STRING_VALUE",
|
|
55
|
+
* // state: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "DELETED",
|
|
56
|
+
* // stateDetails: "STRING_VALUE",
|
|
57
|
+
* // status: "PASSED" || "FAILED" || "UNKNOWN",
|
|
58
|
+
* // checks: [ // ConnectorsChecksList
|
|
59
|
+
* // { // ConnectorCheck
|
|
60
|
+
* // type: "KEY_REUSE" || "KEY_COVERAGE" || "REACHABILITY" || "HOST_COUNT" || "VCENTER_REACHABILITY" || "VCENTER_VM_SYNC" || "VCENTER_VM_EVENT",
|
|
61
|
+
* // result: "PASSED" || "FAILED" || "UNKNOWN",
|
|
62
|
+
* // lastCheckAttempt: new Date("TIMESTAMP"),
|
|
63
|
+
* // impairedSince: new Date("TIMESTAMP"),
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
67
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
68
|
+
* // },
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param UpdateEnvironmentConnectorCommandInput - {@link UpdateEnvironmentConnectorCommandInput}
|
|
74
|
+
* @returns {@link UpdateEnvironmentConnectorCommandOutput}
|
|
75
|
+
* @see {@link UpdateEnvironmentConnectorCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link UpdateEnvironmentConnectorCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <p>A service resource associated with the request could not be found. The resource might not be specified correctly, or it may have a <code>state</code> of <code>DELETED</code>.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
83
|
+
* <p>The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ValidationException} (client fault)
|
|
86
|
+
* <p>The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link EvsServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from Evs service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class UpdateEnvironmentConnectorCommand extends UpdateEnvironmentConnectorCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: UpdateEnvironmentConnectorRequest;
|
|
99
|
+
output: UpdateEnvironmentConnectorResponse;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: UpdateEnvironmentConnectorCommandInput;
|
|
103
|
+
output: UpdateEnvironmentConnectorCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
export * from "./AssociateEipToVlanCommand";
|
|
2
|
+
export * from "./CreateEntitlementCommand";
|
|
2
3
|
export * from "./CreateEnvironmentCommand";
|
|
4
|
+
export * from "./CreateEnvironmentConnectorCommand";
|
|
3
5
|
export * from "./CreateEnvironmentHostCommand";
|
|
6
|
+
export * from "./DeleteEntitlementCommand";
|
|
4
7
|
export * from "./DeleteEnvironmentCommand";
|
|
8
|
+
export * from "./DeleteEnvironmentConnectorCommand";
|
|
5
9
|
export * from "./DeleteEnvironmentHostCommand";
|
|
6
10
|
export * from "./DisassociateEipFromVlanCommand";
|
|
7
11
|
export * from "./GetEnvironmentCommand";
|
|
8
12
|
export * from "./GetVersionsCommand";
|
|
13
|
+
export * from "./ListEnvironmentConnectorsCommand";
|
|
9
14
|
export * from "./ListEnvironmentHostsCommand";
|
|
10
15
|
export * from "./ListEnvironmentVlansCommand";
|
|
11
16
|
export * from "./ListEnvironmentsCommand";
|
|
12
17
|
export * from "./ListTagsForResourceCommand";
|
|
18
|
+
export * from "./ListVmEntitlementsCommand";
|
|
13
19
|
export * from "./TagResourceCommand";
|
|
14
20
|
export * from "./UntagResourceCommand";
|
|
21
|
+
export * from "./UpdateEnvironmentConnectorCommand";
|
|
@@ -27,6 +27,33 @@ export declare const ValidationExceptionReason: {
|
|
|
27
27
|
* @public
|
|
28
28
|
*/
|
|
29
29
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* @enum
|
|
33
|
+
*/
|
|
34
|
+
export declare const EntitlementType: {
|
|
35
|
+
readonly WINDOWS_SERVER: "WINDOWS_SERVER";
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export type EntitlementType = (typeof EntitlementType)[keyof typeof EntitlementType];
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
* @enum
|
|
44
|
+
*/
|
|
45
|
+
export declare const EntitlementStatus: {
|
|
46
|
+
readonly AT_RISK: "AT_RISK";
|
|
47
|
+
readonly CREATED: "CREATED";
|
|
48
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
49
|
+
readonly CREATING: "CREATING";
|
|
50
|
+
readonly DELETED: "DELETED";
|
|
51
|
+
readonly ENTITLEMENT_REMOVED: "ENTITLEMENT_REMOVED";
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export type EntitlementStatus = (typeof EntitlementStatus)[keyof typeof EntitlementStatus];
|
|
30
57
|
/**
|
|
31
58
|
* @public
|
|
32
59
|
* @enum
|
|
@@ -72,6 +99,9 @@ export declare const CheckType: {
|
|
|
72
99
|
readonly KEY_COVERAGE: "KEY_COVERAGE";
|
|
73
100
|
readonly KEY_REUSE: "KEY_REUSE";
|
|
74
101
|
readonly REACHABILITY: "REACHABILITY";
|
|
102
|
+
readonly VCENTER_REACHABILITY: "VCENTER_REACHABILITY";
|
|
103
|
+
readonly VCENTER_VM_EVENT: "VCENTER_VM_EVENT";
|
|
104
|
+
readonly VCENTER_VM_SYNC: "VCENTER_VM_SYNC";
|
|
75
105
|
};
|
|
76
106
|
/**
|
|
77
107
|
* @public
|
|
@@ -92,6 +122,34 @@ export declare const EnvironmentState: {
|
|
|
92
122
|
* @public
|
|
93
123
|
*/
|
|
94
124
|
export type EnvironmentState = (typeof EnvironmentState)[keyof typeof EnvironmentState];
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
* @enum
|
|
128
|
+
*/
|
|
129
|
+
export declare const ConnectorType: {
|
|
130
|
+
readonly VCENTER: "VCENTER";
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
export type ConnectorType = (typeof ConnectorType)[keyof typeof ConnectorType];
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
* @enum
|
|
139
|
+
*/
|
|
140
|
+
export declare const ConnectorState: {
|
|
141
|
+
readonly ACTIVE: "ACTIVE";
|
|
142
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
143
|
+
readonly CREATING: "CREATING";
|
|
144
|
+
readonly DELETED: "DELETED";
|
|
145
|
+
readonly DELETING: "DELETING";
|
|
146
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
147
|
+
readonly UPDATING: "UPDATING";
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
export type ConnectorState = (typeof ConnectorState)[keyof typeof ConnectorState];
|
|
95
153
|
/**
|
|
96
154
|
* @public
|
|
97
155
|
* @enum
|