@aws-sdk/client-evs 3.824.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/LICENSE +201 -0
- package/README.md +293 -0
- package/dist-cjs/Evs.js +33 -0
- package/dist-cjs/EvsClient.js +52 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateEnvironmentCommand.js +26 -0
- package/dist-cjs/commands/CreateEnvironmentHostCommand.js +26 -0
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +26 -0
- package/dist-cjs/commands/DeleteEnvironmentHostCommand.js +26 -0
- package/dist-cjs/commands/GetEnvironmentCommand.js +26 -0
- package/dist-cjs/commands/ListEnvironmentHostsCommand.js +26 -0
- package/dist-cjs/commands/ListEnvironmentVlansCommand.js +26 -0
- package/dist-cjs/commands/ListEnvironmentsCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/index.js +14 -0
- package/dist-cjs/endpoint/EndpointParameters.js +17 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/EvsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +126 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListEnvironmentHostsPaginator.js +7 -0
- package/dist-cjs/pagination/ListEnvironmentVlansPaginator.js +7 -0
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_0.js +536 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-es/Evs.js +29 -0
- package/dist-es/EvsClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateEnvironmentCommand.js +22 -0
- package/dist-es/commands/CreateEnvironmentHostCommand.js +22 -0
- package/dist-es/commands/DeleteEnvironmentCommand.js +22 -0
- package/dist-es/commands/DeleteEnvironmentHostCommand.js +22 -0
- package/dist-es/commands/GetEnvironmentCommand.js +22 -0
- package/dist-es/commands/ListEnvironmentHostsCommand.js +22 -0
- package/dist-es/commands/ListEnvironmentVlansCommand.js +22 -0
- package/dist-es/commands/ListEnvironmentsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/EvsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +118 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListEnvironmentHostsPaginator.js +4 -0
- package/dist-es/pagination/ListEnvironmentVlansPaginator.js +4 -0
- package/dist-es/pagination/ListEnvironmentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_0.js +511 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-types/Evs.d.ts +88 -0
- package/dist-types/EvsClient.d.ts +198 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +197 -0
- package/dist-types/commands/CreateEnvironmentHostCommand.d.ts +113 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +133 -0
- package/dist-types/commands/DeleteEnvironmentHostCommand.d.ts +107 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +132 -0
- package/dist-types/commands/ListEnvironmentHostsCommand.d.ts +100 -0
- package/dist-types/commands/ListEnvironmentVlansCommand.d.ts +93 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +91 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +77 -0
- package/dist-types/commands/TagResourceCommand.d.ts +82 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +79 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/EvsServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1083 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListEnvironmentHostsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEnvironmentVlansPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +101 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/Evs.d.ts +193 -0
- package/dist-types/ts3.4/EvsClient.d.ts +182 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +46 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentHostCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteEnvironmentHostCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListEnvironmentHostsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEnvironmentVlansCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +48 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/EvsServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +306 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentHostsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentVlansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +137 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
|
|
4
|
+
import { ListEnvironmentVlansRequest, ListEnvironmentVlansResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListEnvironmentVlansCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListEnvironmentVlansCommandInput extends ListEnvironmentVlansRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListEnvironmentVlansCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListEnvironmentVlansCommandOutput extends ListEnvironmentVlansResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListEnvironmentVlansCommand_base: {
|
|
25
|
+
new (input: ListEnvironmentVlansCommandInput): import("@smithy/smithy-client").CommandImpl<ListEnvironmentVlansCommandInput, ListEnvironmentVlansCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListEnvironmentVlansCommandInput): import("@smithy/smithy-client").CommandImpl<ListEnvironmentVlansCommandInput, ListEnvironmentVlansCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists environment VLANs that are associated with the specified environment.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EvsClient, ListEnvironmentVlansCommand } from "@aws-sdk/client-evs"; // ES Modules import
|
|
35
|
+
* // const { EvsClient, ListEnvironmentVlansCommand } = require("@aws-sdk/client-evs"); // CommonJS import
|
|
36
|
+
* const client = new EvsClient(config);
|
|
37
|
+
* const input = { // ListEnvironmentVlansRequest
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* environmentId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListEnvironmentVlansCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListEnvironmentVlansResponse
|
|
45
|
+
* // nextToken: "STRING_VALUE",
|
|
46
|
+
* // environmentVlans: [ // VlanList
|
|
47
|
+
* // { // Vlan
|
|
48
|
+
* // vlanId: Number("int"),
|
|
49
|
+
* // cidr: "STRING_VALUE",
|
|
50
|
+
* // availabilityZone: "STRING_VALUE",
|
|
51
|
+
* // functionName: "STRING_VALUE",
|
|
52
|
+
* // subnetId: "STRING_VALUE",
|
|
53
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
55
|
+
* // vlanState: "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
|
|
56
|
+
* // stateDetails: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param ListEnvironmentVlansCommandInput - {@link ListEnvironmentVlansCommandInput}
|
|
64
|
+
* @returns {@link ListEnvironmentVlansCommandOutput}
|
|
65
|
+
* @see {@link ListEnvironmentVlansCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link ListEnvironmentVlansCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <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>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <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>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link EvsServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Evs service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class ListEnvironmentVlansCommand extends ListEnvironmentVlansCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: ListEnvironmentVlansRequest;
|
|
86
|
+
output: ListEnvironmentVlansResponse;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: ListEnvironmentVlansCommandInput;
|
|
90
|
+
output: ListEnvironmentVlansCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
|
|
4
|
+
import { ListEnvironmentsRequest, ListEnvironmentsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListEnvironmentsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListEnvironmentsCommandInput extends ListEnvironmentsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListEnvironmentsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListEnvironmentsCommandOutput extends ListEnvironmentsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListEnvironmentsCommand_base: {
|
|
25
|
+
new (input: ListEnvironmentsCommandInput): import("@smithy/smithy-client").CommandImpl<ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListEnvironmentsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the Amazon EVS environments in your Amazon Web Services account in the specified Amazon Web Services Region.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EvsClient, ListEnvironmentsCommand } from "@aws-sdk/client-evs"; // ES Modules import
|
|
35
|
+
* // const { EvsClient, ListEnvironmentsCommand } = require("@aws-sdk/client-evs"); // CommonJS import
|
|
36
|
+
* const client = new EvsClient(config);
|
|
37
|
+
* const input = { // ListEnvironmentsRequest
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* state: [ // EnvironmentStateList
|
|
41
|
+
* "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListEnvironmentsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListEnvironmentsResponse
|
|
47
|
+
* // nextToken: "STRING_VALUE",
|
|
48
|
+
* // environmentSummaries: [ // EnvironmentSummaryList
|
|
49
|
+
* // { // EnvironmentSummary
|
|
50
|
+
* // environmentId: "STRING_VALUE",
|
|
51
|
+
* // environmentName: "STRING_VALUE",
|
|
52
|
+
* // vcfVersion: "VCF-5.2.1",
|
|
53
|
+
* // environmentStatus: "PASSED" || "FAILED" || "UNKNOWN",
|
|
54
|
+
* // environmentState: "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
|
|
55
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
57
|
+
* // environmentArn: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param ListEnvironmentsCommandInput - {@link ListEnvironmentsCommandInput}
|
|
65
|
+
* @returns {@link ListEnvironmentsCommandOutput}
|
|
66
|
+
* @see {@link ListEnvironmentsCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link ListEnvironmentsCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <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>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link EvsServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from Evs service.</p>
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class ListEnvironmentsCommand extends ListEnvironmentsCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: ListEnvironmentsRequest;
|
|
84
|
+
output: ListEnvironmentsResponse;
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: ListEnvironmentsCommandInput;
|
|
88
|
+
output: ListEnvironmentsCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
|
|
4
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTagsForResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTagsForResourceCommand_base: {
|
|
25
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the tags for an Amazon EVS resource.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EvsClient, ListTagsForResourceCommand } from "@aws-sdk/client-evs"; // ES Modules import
|
|
35
|
+
* // const { EvsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-evs"); // CommonJS import
|
|
36
|
+
* const client = new EvsClient(config);
|
|
37
|
+
* const input = { // ListTagsForResourceRequest
|
|
38
|
+
* resourceArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListTagsForResourceResponse
|
|
43
|
+
* // tags: { // ResponseTagMap
|
|
44
|
+
* // "<keys>": "STRING_VALUE",
|
|
45
|
+
* // },
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
51
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
52
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
57
|
+
* <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>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link EvsServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from Evs service.</p>
|
|
61
|
+
*
|
|
62
|
+
*
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
66
|
+
/** @internal type navigation helper, not in runtime. */
|
|
67
|
+
protected static __types: {
|
|
68
|
+
api: {
|
|
69
|
+
input: ListTagsForResourceRequest;
|
|
70
|
+
output: ListTagsForResourceResponse;
|
|
71
|
+
};
|
|
72
|
+
sdk: {
|
|
73
|
+
input: ListTagsForResourceCommandInput;
|
|
74
|
+
output: ListTagsForResourceCommandOutput;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
|
|
4
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TagResourceCommand_base: {
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Associates the specified tags to an Amazon EVS resource with the specified <code>resourceArn</code>. If existing tags on a resource are not specified in the request parameters, they aren't changed. When a resource is deleted, the tags associated with that resource are also deleted. Tags that you create for Amazon EVS resources don't propagate to any other resources associated with the environment. For example, if you tag an environment with this operation, that tag doesn't automatically propagate to the VLAN subnets and hosts associated with the environment.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EvsClient, TagResourceCommand } from "@aws-sdk/client-evs"; // ES Modules import
|
|
35
|
+
* // const { EvsClient, TagResourceCommand } = require("@aws-sdk/client-evs"); // CommonJS import
|
|
36
|
+
* const client = new EvsClient(config);
|
|
37
|
+
* const input = { // TagResourceRequest
|
|
38
|
+
* resourceArn: "STRING_VALUE", // required
|
|
39
|
+
* tags: { // RequestTagMap // required
|
|
40
|
+
* "<keys>": "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
43
|
+
* const command = new TagResourceCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
50
|
+
* @returns {@link TagResourceCommandOutput}
|
|
51
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
56
|
+
* <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>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link TagPolicyException} (client fault)
|
|
59
|
+
* <p>The request doesn't comply with IAM tag policy. Correct your request and then retry it.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link TooManyTagsException} (client fault)
|
|
62
|
+
* <p>A service resource associated with the request has more than 200 tags.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link EvsServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from Evs service.</p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
71
|
+
/** @internal type navigation helper, not in runtime. */
|
|
72
|
+
protected static __types: {
|
|
73
|
+
api: {
|
|
74
|
+
input: TagResourceRequest;
|
|
75
|
+
output: {};
|
|
76
|
+
};
|
|
77
|
+
sdk: {
|
|
78
|
+
input: TagResourceCommandInput;
|
|
79
|
+
output: TagResourceCommandOutput;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
|
|
4
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UntagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UntagResourceCommand_base: {
|
|
25
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes specified tags from an Amazon EVS resource.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EvsClient, UntagResourceCommand } from "@aws-sdk/client-evs"; // ES Modules import
|
|
35
|
+
* // const { EvsClient, UntagResourceCommand } = require("@aws-sdk/client-evs"); // CommonJS import
|
|
36
|
+
* const client = new EvsClient(config);
|
|
37
|
+
* const input = { // UntagResourceRequest
|
|
38
|
+
* resourceArn: "STRING_VALUE", // required
|
|
39
|
+
* tagKeys: [ // TagKeys // required
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UntagResourceCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
50
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
51
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
56
|
+
* <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>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link TagPolicyException} (client fault)
|
|
59
|
+
* <p>The request doesn't comply with IAM tag policy. Correct your request and then retry it.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link EvsServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from Evs service.</p>
|
|
63
|
+
*
|
|
64
|
+
*
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
68
|
+
/** @internal type navigation helper, not in runtime. */
|
|
69
|
+
protected static __types: {
|
|
70
|
+
api: {
|
|
71
|
+
input: UntagResourceRequest;
|
|
72
|
+
output: {};
|
|
73
|
+
};
|
|
74
|
+
sdk: {
|
|
75
|
+
input: UntagResourceCommandInput;
|
|
76
|
+
output: UntagResourceCommandOutput;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./CreateEnvironmentCommand";
|
|
2
|
+
export * from "./CreateEnvironmentHostCommand";
|
|
3
|
+
export * from "./DeleteEnvironmentCommand";
|
|
4
|
+
export * from "./DeleteEnvironmentHostCommand";
|
|
5
|
+
export * from "./GetEnvironmentCommand";
|
|
6
|
+
export * from "./ListEnvironmentHostsCommand";
|
|
7
|
+
export * from "./ListEnvironmentVlansCommand";
|
|
8
|
+
export * from "./ListEnvironmentsCommand";
|
|
9
|
+
export * from "./ListTagsForResourceCommand";
|
|
10
|
+
export * from "./TagResourceCommand";
|
|
11
|
+
export * from "./UntagResourceCommand";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | Provider<string>;
|
|
7
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
|
+
}
|
|
11
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
15
|
+
export declare const commonParams: {
|
|
16
|
+
readonly UseFIPS: {
|
|
17
|
+
readonly type: "builtInParams";
|
|
18
|
+
readonly name: "useFipsEndpoint";
|
|
19
|
+
};
|
|
20
|
+
readonly Endpoint: {
|
|
21
|
+
readonly type: "builtInParams";
|
|
22
|
+
readonly name: "endpoint";
|
|
23
|
+
};
|
|
24
|
+
readonly Region: {
|
|
25
|
+
readonly type: "builtInParams";
|
|
26
|
+
readonly name: "region";
|
|
27
|
+
};
|
|
28
|
+
readonly UseDualStack: {
|
|
29
|
+
readonly type: "builtInParams";
|
|
30
|
+
readonly name: "useDualstackEndpoint";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
34
|
+
Region?: string;
|
|
35
|
+
UseDualStack?: boolean;
|
|
36
|
+
UseFIPS?: boolean;
|
|
37
|
+
Endpoint?: string;
|
|
38
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface EvsExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <p>Amazon Elastic VMware Service (Amazon EVS) is a service that you can use to deploy a VMware Cloud Foundation (VCF) software environment directly on EC2 bare metal instances within an Amazon Virtual Private Cloud (VPC).</p> <p>Workloads running on Amazon EVS are fully compatible with workloads running on any standard VMware vSphere environment. This means that you can migrate any VMware-based workload to Amazon EVS without workload modification.</p>
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
6
|
+
export * from "./EvsClient";
|
|
7
|
+
export * from "./Evs";
|
|
8
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
|
+
export type { EvsExtensionConfiguration } from "./extensionConfiguration";
|
|
11
|
+
export * from "./commands";
|
|
12
|
+
export * from "./pagination";
|
|
13
|
+
export * from "./models";
|
|
14
|
+
export { EvsServiceException } from "./models/EvsServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from Evs service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class EvsServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|