@aws-sdk/client-backup-external 0.0.0-stage → 3.1181.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 +397 -2
- package/dist-cjs/index.js +1980 -0
- package/dist-es/BackupExternal.js +81 -0
- package/dist-es/BackupExternalClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssociateDiskCommand.js +4 -0
- package/dist-es/commands/CreateApplianceCommand.js +4 -0
- package/dist-es/commands/CreateResourceProviderCommand.js +4 -0
- package/dist-es/commands/DeleteApplianceCommand.js +4 -0
- package/dist-es/commands/DeleteNodeCommand.js +4 -0
- package/dist-es/commands/DeleteResourceProviderCommand.js +4 -0
- package/dist-es/commands/DeleteResourceTargetCommand.js +4 -0
- package/dist-es/commands/GetActivationCredentialsCommand.js +4 -0
- package/dist-es/commands/GetAgentDownloadCommand.js +4 -0
- package/dist-es/commands/GetAgentUpgradeSettingsCommand.js +4 -0
- package/dist-es/commands/GetApplianceCommand.js +4 -0
- package/dist-es/commands/GetApplianceSizingRecommendationCommand.js +4 -0
- package/dist-es/commands/GetNodeCommand.js +4 -0
- package/dist-es/commands/GetResourceProviderCommand.js +4 -0
- package/dist-es/commands/GetResourceTargetCommand.js +4 -0
- package/dist-es/commands/ListAppliancesCommand.js +4 -0
- package/dist-es/commands/ListDisksCommand.js +4 -0
- package/dist-es/commands/ListNodesCommand.js +4 -0
- package/dist-es/commands/ListResourceProvidersCommand.js +4 -0
- package/dist-es/commands/ListResourceTargetsCommand.js +4 -0
- package/dist-es/commands/ListTagsCommand.js +4 -0
- package/dist-es/commands/PutAgentUpgradeSettingsCommand.js +4 -0
- package/dist-es/commands/StartResourceProviderAgentUpgradeCommand.js +4 -0
- package/dist-es/commands/StartResourceProviderMigrationCommand.js +4 -0
- package/dist-es/commands/StartResourceProviderSyncCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateApplianceCommand.js +4 -0
- package/dist-es/commands/UpdateResourceProviderCommand.js +4 -0
- package/dist-es/commands/UpdateResourceTargetCommand.js +4 -0
- package/dist-es/commands/VerifyNodesCommand.js +4 -0
- package/dist-es/commands/index.js +31 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/bdd.js +31 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/BackupExternalServiceException.js +9 -0
- package/dist-es/models/enums.js +145 -0
- package/dist-es/models/errors.js +116 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAppliancesPaginator.js +4 -0
- package/dist-es/pagination/ListDisksPaginator.js +4 -0
- package/dist-es/pagination/ListNodesPaginator.js +4 -0
- package/dist-es/pagination/ListResourceProvidersPaginator.js +4 -0
- package/dist-es/pagination/ListResourceTargetsPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +1083 -0
- package/dist-types/BackupExternal.d.ts +271 -0
- package/dist-types/BackupExternalClient.d.ts +218 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AssociateDiskCommand.d.ts +90 -0
- package/dist-types/commands/CreateApplianceCommand.d.ts +118 -0
- package/dist-types/commands/CreateResourceProviderCommand.d.ts +176 -0
- package/dist-types/commands/DeleteApplianceCommand.d.ts +91 -0
- package/dist-types/commands/DeleteNodeCommand.d.ts +92 -0
- package/dist-types/commands/DeleteResourceProviderCommand.d.ts +87 -0
- package/dist-types/commands/DeleteResourceTargetCommand.d.ts +87 -0
- package/dist-types/commands/GetActivationCredentialsCommand.d.ts +92 -0
- package/dist-types/commands/GetAgentDownloadCommand.d.ts +93 -0
- package/dist-types/commands/GetAgentUpgradeSettingsCommand.d.ts +91 -0
- package/dist-types/commands/GetApplianceCommand.d.ts +123 -0
- package/dist-types/commands/GetApplianceSizingRecommendationCommand.d.ts +170 -0
- package/dist-types/commands/GetNodeCommand.d.ts +106 -0
- package/dist-types/commands/GetResourceProviderCommand.d.ts +205 -0
- package/dist-types/commands/GetResourceTargetCommand.d.ts +172 -0
- package/dist-types/commands/ListAppliancesCommand.d.ts +108 -0
- package/dist-types/commands/ListDisksCommand.d.ts +103 -0
- package/dist-types/commands/ListNodesCommand.d.ts +110 -0
- package/dist-types/commands/ListResourceProvidersCommand.d.ts +113 -0
- package/dist-types/commands/ListResourceTargetsCommand.d.ts +109 -0
- package/dist-types/commands/ListTagsCommand.d.ts +91 -0
- package/dist-types/commands/PutAgentUpgradeSettingsCommand.d.ts +100 -0
- package/dist-types/commands/StartResourceProviderAgentUpgradeCommand.d.ts +90 -0
- package/dist-types/commands/StartResourceProviderMigrationCommand.d.ts +91 -0
- package/dist-types/commands/StartResourceProviderSyncCommand.d.ts +90 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UpdateApplianceCommand.d.ts +107 -0
- package/dist-types/commands/UpdateResourceProviderCommand.d.ts +165 -0
- package/dist-types/commands/UpdateResourceTargetCommand.d.ts +126 -0
- package/dist-types/commands/VerifyNodesCommand.d.ts +98 -0
- package/dist-types/commands/index.d.ts +31 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/BackupExternalServiceException.d.ts +15 -0
- package/dist-types/models/enums.d.ts +354 -0
- package/dist-types/models/errors.d.ts +121 -0
- package/dist-types/models/models_0.d.ts +3023 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAppliancesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDisksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNodesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourceProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourceTargetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +58 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +157 -0
- package/dist-types/ts3.4/BackupExternal.d.ts +551 -0
- package/dist-types/ts3.4/BackupExternalClient.d.ts +266 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/AssociateDiskCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateApplianceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateResourceProviderCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteApplianceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteNodeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteResourceProviderCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteResourceTargetCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetActivationCredentialsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetAgentDownloadCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetAgentUpgradeSettingsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetApplianceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetApplianceSizingRecommendationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetNodeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetResourceProviderCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetResourceTargetCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAppliancesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListDisksCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListResourceProvidersCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListResourceTargetsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutAgentUpgradeSettingsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartResourceProviderAgentUpgradeCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartResourceProviderMigrationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartResourceProviderSyncCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateApplianceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateResourceProviderCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateResourceTargetCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/VerifyNodesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +31 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/BackupExternalServiceException.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +183 -0
- package/dist-types/ts3.4/models/errors.d.ts +59 -0
- package/dist-types/ts3.4/models/models_0.d.ts +991 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListAppliancesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDisksPaginator.d.ts +8 -0
- package/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +8 -0
- package/dist-types/ts3.4/pagination/ListResourceProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourceTargetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +157 -0
- package/package.json +67 -4
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListDisksInput, ListDisksOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListDisksCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListDisksCommandInput extends ListDisksInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListDisksCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListDisksCommandOutput extends ListDisksOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListDisksCommand_base: {
|
|
22
|
+
new (input: ListDisksCommandInput): import("@smithy/core/client").CommandImpl<ListDisksCommandInput, ListDisksCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListDisksCommandInput): import("@smithy/core/client").CommandImpl<ListDisksCommandInput, ListDisksCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Returns a list of disks attached to the specified appliance node. Use the pagination token to retrieve
|
|
28
|
+
* additional results.
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { BackupExternalClient, ListDisksCommand } from "@aws-sdk/client-backup-external"; // ES Modules import
|
|
33
|
+
* // const { BackupExternalClient, ListDisksCommand } = require("@aws-sdk/client-backup-external"); // CommonJS import
|
|
34
|
+
* // import type { BackupExternalClientConfig } from "@aws-sdk/client-backup-external";
|
|
35
|
+
* const config = {}; // type is BackupExternalClientConfig
|
|
36
|
+
* const client = new BackupExternalClient(config);
|
|
37
|
+
* const input = { // ListDisksInput
|
|
38
|
+
* ApplianceArn: "STRING_VALUE", // required
|
|
39
|
+
* NodeArn: "STRING_VALUE", // required
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListDisksCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListDisksOutput
|
|
46
|
+
* // Disks: [ // DiskSummaryList // required
|
|
47
|
+
* // { // ListDisksDiskSummary
|
|
48
|
+
* // DiskIdentifier: "STRING_VALUE", // required
|
|
49
|
+
* // DevicePath: "STRING_VALUE", // required
|
|
50
|
+
* // SizeInBytes: Number("long"), // required
|
|
51
|
+
* // Status: "AVAILABLE" || "ASSOCIATED", // required
|
|
52
|
+
* // AssociatedAt: new Date("TIMESTAMP"),
|
|
53
|
+
* // DiskType: "DATA" || "METADATA",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // NextToken: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param ListDisksCommandInput - {@link ListDisksCommandInput}
|
|
62
|
+
* @returns {@link ListDisksCommandOutput}
|
|
63
|
+
* @see {@link ListDisksCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link ListDisksCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link BackupExternalClientResolvedConfig | config} for BackupExternalClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* The request was denied because you do not have permission to perform the requested operation.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ConflictException} (client fault)
|
|
71
|
+
* The request conflicts with the current state of the specified resource.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* The request failed because of an internal server error.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* The specified resource was not found.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* The request was denied because the request rate is too high.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* The request contains invalid parameters.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link BackupExternalServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from BackupExternal service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ListDisksCommand extends ListDisksCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: ListDisksInput;
|
|
96
|
+
output: ListDisksOutput;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: ListDisksCommandInput;
|
|
100
|
+
output: ListDisksCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListNodesInput, ListNodesOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListNodesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListNodesCommandInput extends ListNodesInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListNodesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListNodesCommandOutput extends ListNodesOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListNodesCommand_base: {
|
|
22
|
+
new (input: ListNodesCommandInput): import("@smithy/core/client").CommandImpl<ListNodesCommandInput, ListNodesCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListNodesCommandInput): import("@smithy/core/client").CommandImpl<ListNodesCommandInput, ListNodesCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Returns a list of nodes belonging to the specified appliance. Use the pagination token to retrieve
|
|
28
|
+
* additional results.
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { BackupExternalClient, ListNodesCommand } from "@aws-sdk/client-backup-external"; // ES Modules import
|
|
33
|
+
* // const { BackupExternalClient, ListNodesCommand } = require("@aws-sdk/client-backup-external"); // CommonJS import
|
|
34
|
+
* // import type { BackupExternalClientConfig } from "@aws-sdk/client-backup-external";
|
|
35
|
+
* const config = {}; // type is BackupExternalClientConfig
|
|
36
|
+
* const client = new BackupExternalClient(config);
|
|
37
|
+
* const input = { // ListNodesInput
|
|
38
|
+
* ApplianceArn: "STRING_VALUE", // required
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListNodesCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListNodesOutput
|
|
45
|
+
* // Nodes: [ // ApplianceNodeListMemberList // required
|
|
46
|
+
* // { // ApplianceNodeListMember
|
|
47
|
+
* // ApplianceArn: "STRING_VALUE", // required
|
|
48
|
+
* // NodeArn: "STRING_VALUE", // required
|
|
49
|
+
* // IpAddress: "STRING_VALUE", // required
|
|
50
|
+
* // EnvironmentType: "EC2" || "VMWARE", // required
|
|
51
|
+
* // NodeManagementStatus: "PENDING_VERIFICATION" || "PENDING_NODE_ADDITION" || "AVAILABLE" || "FAILED" || "UPDATING" || "DELETING" || "DELETED", // required
|
|
52
|
+
* // HealthStatus: "UNKNOWN" || "HEALTHY" || "WARNING" || "CRITICAL",
|
|
53
|
+
* // Notifications: [ // NotificationList
|
|
54
|
+
* // { // Notification
|
|
55
|
+
* // Message: "STRING_VALUE", // required
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
59
|
+
* // DeletedAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // SoftwareVersion: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // NextToken: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param ListNodesCommandInput - {@link ListNodesCommandInput}
|
|
69
|
+
* @returns {@link ListNodesCommandOutput}
|
|
70
|
+
* @see {@link ListNodesCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link ListNodesCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link BackupExternalClientResolvedConfig | config} for BackupExternalClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* The request was denied because you do not have permission to perform the requested operation.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ConflictException} (client fault)
|
|
78
|
+
* The request conflicts with the current state of the specified resource.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InternalServerException} (server fault)
|
|
81
|
+
* The request failed because of an internal server error.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* The specified resource was not found.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
87
|
+
* The request was denied because the request rate is too high.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ValidationException} (client fault)
|
|
90
|
+
* The request contains invalid parameters.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link BackupExternalServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from BackupExternal service.</p>
|
|
94
|
+
*
|
|
95
|
+
*
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class ListNodesCommand extends ListNodesCommand_base {
|
|
99
|
+
/** @internal type navigation helper, not in runtime. */
|
|
100
|
+
protected static __types: {
|
|
101
|
+
api: {
|
|
102
|
+
input: ListNodesInput;
|
|
103
|
+
output: ListNodesOutput;
|
|
104
|
+
};
|
|
105
|
+
sdk: {
|
|
106
|
+
input: ListNodesCommandInput;
|
|
107
|
+
output: ListNodesCommandOutput;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListResourceProvidersInput, ListResourceProvidersOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListResourceProvidersCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListResourceProvidersCommandInput extends ListResourceProvidersInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListResourceProvidersCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListResourceProvidersCommandOutput extends ListResourceProvidersOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListResourceProvidersCommand_base: {
|
|
22
|
+
new (input: ListResourceProvidersCommandInput): import("@smithy/core/client").CommandImpl<ListResourceProvidersCommandInput, ListResourceProvidersCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListResourceProvidersCommandInput]): import("@smithy/core/client").CommandImpl<ListResourceProvidersCommandInput, ListResourceProvidersCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Returns a list of resource providers, optionally filtered by appliance or provider type. Use the pagination
|
|
28
|
+
* token to retrieve additional results.
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { BackupExternalClient, ListResourceProvidersCommand } from "@aws-sdk/client-backup-external"; // ES Modules import
|
|
33
|
+
* // const { BackupExternalClient, ListResourceProvidersCommand } = require("@aws-sdk/client-backup-external"); // CommonJS import
|
|
34
|
+
* // import type { BackupExternalClientConfig } from "@aws-sdk/client-backup-external";
|
|
35
|
+
* const config = {}; // type is BackupExternalClientConfig
|
|
36
|
+
* const client = new BackupExternalClient(config);
|
|
37
|
+
* const input = { // ListResourceProvidersInput
|
|
38
|
+
* ApplianceArn: "STRING_VALUE",
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* ResourceProviderType: "MSSQL_SERVER" || "NAS_SHARE" || "ORACLEDB_SERVER" || "ORACLEDB_CLUSTER" || "SERVER_HOST" || "VMWARE_ESXI" || "VMWARE_VCENTER",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListResourceProvidersCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListResourceProvidersOutput
|
|
46
|
+
* // NextToken: "STRING_VALUE",
|
|
47
|
+
* // Items: [ // ResourceProviderList // required
|
|
48
|
+
* // { // ResourceProviderListItem
|
|
49
|
+
* // AgentComplianceStatus: "NON_COMPLIANT" || "UP_TO_DATE" || "UPGRADE_AVAILABLE",
|
|
50
|
+
* // AgentUpgradeStatus: "PENDING" || "RUNNING" || "COMPLETED" || "FAILED",
|
|
51
|
+
* // AgentUpgradeStatusMessage: "STRING_VALUE",
|
|
52
|
+
* // AgentVersionCurrent: "STRING_VALUE",
|
|
53
|
+
* // AgentVersionLatest: "STRING_VALUE",
|
|
54
|
+
* // ApplianceArn: "STRING_VALUE", // required
|
|
55
|
+
* // Arn: "STRING_VALUE", // required
|
|
56
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // LastSyncStartedAt: new Date("TIMESTAMP"),
|
|
58
|
+
* // LastSyncCompletedAt: new Date("TIMESTAMP"),
|
|
59
|
+
* // Name: "STRING_VALUE",
|
|
60
|
+
* // ProviderType: "MSSQL_SERVER" || "NAS_SHARE" || "ORACLEDB_SERVER" || "ORACLEDB_CLUSTER" || "SERVER_HOST" || "VMWARE_ESXI" || "VMWARE_VCENTER", // required
|
|
61
|
+
* // SecretConfigurationArn: "STRING_VALUE",
|
|
62
|
+
* // Status: "DELETING" || "DELETION_FAILED" || "MIGRATING" || "MIGRATION_FAILED" || "SYNCING" || "SYNC_COMPLETED" || "SYNC_FAILED", // required
|
|
63
|
+
* // StatusMessage: "STRING_VALUE",
|
|
64
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param ListResourceProvidersCommandInput - {@link ListResourceProvidersCommandInput}
|
|
72
|
+
* @returns {@link ListResourceProvidersCommandOutput}
|
|
73
|
+
* @see {@link ListResourceProvidersCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link ListResourceProvidersCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link BackupExternalClientResolvedConfig | config} for BackupExternalClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
78
|
+
* The request was denied because you do not have permission to perform the requested operation.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ConflictException} (client fault)
|
|
81
|
+
* The request conflicts with the current state of the specified resource.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerException} (server fault)
|
|
84
|
+
* The request failed because of an internal server error.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
87
|
+
* The specified resource was not found.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* The request was denied because the request rate is too high.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* The request contains invalid parameters.
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link BackupExternalServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from BackupExternal service.</p>
|
|
97
|
+
*
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class ListResourceProvidersCommand extends ListResourceProvidersCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: ListResourceProvidersInput;
|
|
106
|
+
output: ListResourceProvidersOutput;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: ListResourceProvidersCommandInput;
|
|
110
|
+
output: ListResourceProvidersCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListResourceTargetsInput, ListResourceTargetsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListResourceTargetsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListResourceTargetsCommandInput extends ListResourceTargetsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListResourceTargetsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListResourceTargetsCommandOutput extends ListResourceTargetsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListResourceTargetsCommand_base: {
|
|
22
|
+
new (input: ListResourceTargetsCommandInput): import("@smithy/core/client").CommandImpl<ListResourceTargetsCommandInput, ListResourceTargetsCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListResourceTargetsCommandInput]): import("@smithy/core/client").CommandImpl<ListResourceTargetsCommandInput, ListResourceTargetsCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Returns a list of resource targets, optionally filtered by resource provider or target type. Use the pagination
|
|
28
|
+
* token to retrieve additional results.
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { BackupExternalClient, ListResourceTargetsCommand } from "@aws-sdk/client-backup-external"; // ES Modules import
|
|
33
|
+
* // const { BackupExternalClient, ListResourceTargetsCommand } = require("@aws-sdk/client-backup-external"); // CommonJS import
|
|
34
|
+
* // import type { BackupExternalClientConfig } from "@aws-sdk/client-backup-external";
|
|
35
|
+
* const config = {}; // type is BackupExternalClientConfig
|
|
36
|
+
* const client = new BackupExternalClient(config);
|
|
37
|
+
* const input = { // ListResourceTargetsInput
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* ResourceProviderArn: "STRING_VALUE",
|
|
41
|
+
* ResourceTargetType: "MSSQL_DATABASE" || "NAS_FILESYSTEM" || "ORACLEDB_DATABASE" || "SERVER_FILESYSTEM" || "VMWARE_VM",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListResourceTargetsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListResourceTargetsOutput
|
|
46
|
+
* // Items: [ // ResourceTargetList // required
|
|
47
|
+
* // { // ResourceTargetListItem
|
|
48
|
+
* // Arn: "STRING_VALUE", // required
|
|
49
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // ExternalIdentifier: "STRING_VALUE",
|
|
51
|
+
* // ExternalName: "STRING_VALUE",
|
|
52
|
+
* // LastSyncedAt: new Date("TIMESTAMP"),
|
|
53
|
+
* // Name: "STRING_VALUE",
|
|
54
|
+
* // ProviderArn: "STRING_VALUE", // required
|
|
55
|
+
* // ProviderType: "MSSQL_SERVER" || "NAS_SHARE" || "ORACLEDB_SERVER" || "ORACLEDB_CLUSTER" || "SERVER_HOST" || "VMWARE_ESXI" || "VMWARE_VCENTER", // required
|
|
56
|
+
* // Status: "AVAILABLE" || "UNAVAILABLE" || "NOT_FOUND" || "DELETING" || "MIGRATING", // required
|
|
57
|
+
* // StatusMessage: "STRING_VALUE",
|
|
58
|
+
* // TargetType: "MSSQL_DATABASE" || "NAS_FILESYSTEM" || "ORACLEDB_DATABASE" || "SERVER_FILESYSTEM" || "VMWARE_VM", // required
|
|
59
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // NextToken: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param ListResourceTargetsCommandInput - {@link ListResourceTargetsCommandInput}
|
|
68
|
+
* @returns {@link ListResourceTargetsCommandOutput}
|
|
69
|
+
* @see {@link ListResourceTargetsCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link ListResourceTargetsCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link BackupExternalClientResolvedConfig | config} for BackupExternalClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
74
|
+
* The request was denied because you do not have permission to perform the requested operation.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ConflictException} (client fault)
|
|
77
|
+
* The request conflicts with the current state of the specified resource.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InternalServerException} (server fault)
|
|
80
|
+
* The request failed because of an internal server error.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
83
|
+
* The specified resource was not found.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* The request was denied because the request rate is too high.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ValidationException} (client fault)
|
|
89
|
+
* The request contains invalid parameters.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link BackupExternalServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from BackupExternal service.</p>
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class ListResourceTargetsCommand extends ListResourceTargetsCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: ListResourceTargetsInput;
|
|
102
|
+
output: ListResourceTargetsOutput;
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: ListResourceTargetsCommandInput;
|
|
106
|
+
output: ListResourceTargetsCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListTagsInput, ListTagsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListTagsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListTagsCommandInput extends ListTagsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListTagsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListTagsCommandOutput extends ListTagsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListTagsCommand_base: {
|
|
22
|
+
new (input: ListTagsCommandInput): import("@smithy/core/client").CommandImpl<ListTagsCommandInput, ListTagsCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListTagsCommandInput): import("@smithy/core/client").CommandImpl<ListTagsCommandInput, ListTagsCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Returns the tags associated with the specified resource.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { BackupExternalClient, ListTagsCommand } from "@aws-sdk/client-backup-external"; // ES Modules import
|
|
32
|
+
* // const { BackupExternalClient, ListTagsCommand } = require("@aws-sdk/client-backup-external"); // CommonJS import
|
|
33
|
+
* // import type { BackupExternalClientConfig } from "@aws-sdk/client-backup-external";
|
|
34
|
+
* const config = {}; // type is BackupExternalClientConfig
|
|
35
|
+
* const client = new BackupExternalClient(config);
|
|
36
|
+
* const input = { // ListTagsInput
|
|
37
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new ListTagsCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // ListTagsOutput
|
|
42
|
+
* // Tags: { // AwsTagMap // required
|
|
43
|
+
* // "<keys>": "STRING_VALUE",
|
|
44
|
+
* // },
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param ListTagsCommandInput - {@link ListTagsCommandInput}
|
|
50
|
+
* @returns {@link ListTagsCommandOutput}
|
|
51
|
+
* @see {@link ListTagsCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link ListTagsCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link BackupExternalClientResolvedConfig | config} for BackupExternalClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* The request was denied because you do not have permission to perform the requested operation.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ConflictException} (client fault)
|
|
59
|
+
* The request conflicts with the current state of the specified resource.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* The request failed because of an internal server error.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* The specified resource was not found.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* The request was denied because the request rate is too high.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* The request contains invalid parameters.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link BackupExternalServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from BackupExternal service.</p>
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class ListTagsCommand extends ListTagsCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: ListTagsInput;
|
|
84
|
+
output: ListTagsOutput;
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: ListTagsCommandInput;
|
|
88
|
+
output: ListTagsCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { PutAgentUpgradeSettingsInput, PutAgentUpgradeSettingsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link PutAgentUpgradeSettingsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface PutAgentUpgradeSettingsCommandInput extends PutAgentUpgradeSettingsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link PutAgentUpgradeSettingsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface PutAgentUpgradeSettingsCommandOutput extends PutAgentUpgradeSettingsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const PutAgentUpgradeSettingsCommand_base: {
|
|
22
|
+
new (input: PutAgentUpgradeSettingsCommandInput): import("@smithy/core/client").CommandImpl<PutAgentUpgradeSettingsCommandInput, PutAgentUpgradeSettingsCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: PutAgentUpgradeSettingsCommandInput): import("@smithy/core/client").CommandImpl<PutAgentUpgradeSettingsCommandInput, PutAgentUpgradeSettingsCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Configures per-appliance daily auto-upgrade settings.
|
|
28
|
+
*
|
|
29
|
+
* When `EnableAutoUpgrade` is true, `StartHourUtc` and `EndHourUtc` are required and define
|
|
30
|
+
* the daily UTC window during which the appliance may be upgraded automatically.
|
|
31
|
+
* The upgrade fires once daily at a random time within the configured window.
|
|
32
|
+
*
|
|
33
|
+
* Validation rules:
|
|
34
|
+
* - If EnableAutoUpgrade=true, StartHourUtc and EndHourUtc MUST both be provided.
|
|
35
|
+
* - If EnableAutoUpgrade=false, StartHourUtc and EndHourUtc are ignored.
|
|
36
|
+
* - Wrap-around is supported (e.g., StartHourUtc=22, EndHourUtc=4 means 10pm-4am UTC).
|
|
37
|
+
* - Window must be ≥1 hour (StartHourUtc != EndHourUtc).
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { BackupExternalClient, PutAgentUpgradeSettingsCommand } from "@aws-sdk/client-backup-external"; // ES Modules import
|
|
42
|
+
* // const { BackupExternalClient, PutAgentUpgradeSettingsCommand } = require("@aws-sdk/client-backup-external"); // CommonJS import
|
|
43
|
+
* // import type { BackupExternalClientConfig } from "@aws-sdk/client-backup-external";
|
|
44
|
+
* const config = {}; // type is BackupExternalClientConfig
|
|
45
|
+
* const client = new BackupExternalClient(config);
|
|
46
|
+
* const input = { // PutAgentUpgradeSettingsInput
|
|
47
|
+
* ApplianceArn: "STRING_VALUE", // required
|
|
48
|
+
* EnableAutoUpgrade: true || false, // required
|
|
49
|
+
* StartHourUtc: Number("int"),
|
|
50
|
+
* EndHourUtc: Number("int"),
|
|
51
|
+
* };
|
|
52
|
+
* const command = new PutAgentUpgradeSettingsCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // {};
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param PutAgentUpgradeSettingsCommandInput - {@link PutAgentUpgradeSettingsCommandInput}
|
|
59
|
+
* @returns {@link PutAgentUpgradeSettingsCommandOutput}
|
|
60
|
+
* @see {@link PutAgentUpgradeSettingsCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link PutAgentUpgradeSettingsCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link BackupExternalClientResolvedConfig | config} for BackupExternalClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* The request was denied because you do not have permission to perform the requested operation.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ConflictException} (client fault)
|
|
68
|
+
* The request conflicts with the current state of the specified resource.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* The request failed because of an internal server error.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* The specified resource was not found.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* The request was denied because the request rate is too high.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* The request contains invalid parameters.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link BackupExternalServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from BackupExternal service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class PutAgentUpgradeSettingsCommand extends PutAgentUpgradeSettingsCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: PutAgentUpgradeSettingsInput;
|
|
93
|
+
output: {};
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: PutAgentUpgradeSettingsCommandInput;
|
|
97
|
+
output: PutAgentUpgradeSettingsCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|