@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,87 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteResourceTargetInput, DeleteResourceTargetOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteResourceTargetCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteResourceTargetCommandInput extends DeleteResourceTargetInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteResourceTargetCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteResourceTargetCommandOutput extends DeleteResourceTargetOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteResourceTargetCommand_base: {
|
|
22
|
+
new (input: DeleteResourceTargetCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourceTargetCommandInput, DeleteResourceTargetCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteResourceTargetCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourceTargetCommandInput, DeleteResourceTargetCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Deletes the specified resource target.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { BackupExternalClient, DeleteResourceTargetCommand } from "@aws-sdk/client-backup-external"; // ES Modules import
|
|
32
|
+
* // const { BackupExternalClient, DeleteResourceTargetCommand } = 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 = { // DeleteResourceTargetInput
|
|
37
|
+
* Arn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteResourceTargetCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteResourceTargetCommandInput - {@link DeleteResourceTargetCommandInput}
|
|
46
|
+
* @returns {@link DeleteResourceTargetCommandOutput}
|
|
47
|
+
* @see {@link DeleteResourceTargetCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteResourceTargetCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link BackupExternalClientResolvedConfig | config} for BackupExternalClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* The request was denied because you do not have permission to perform the requested operation.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConflictException} (client fault)
|
|
55
|
+
* The request conflicts with the current state of the specified resource.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* The request failed because of an internal server error.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* The specified resource was not found.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* The request was denied because the request rate is too high.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* The request contains invalid parameters.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link BackupExternalServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from BackupExternal service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class DeleteResourceTargetCommand extends DeleteResourceTargetCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: DeleteResourceTargetInput;
|
|
80
|
+
output: {};
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: DeleteResourceTargetCommandInput;
|
|
84
|
+
output: DeleteResourceTargetCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetActivationCredentialsInput, GetActivationCredentialsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetActivationCredentialsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetActivationCredentialsCommandInput extends GetActivationCredentialsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetActivationCredentialsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetActivationCredentialsCommandOutput extends GetActivationCredentialsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetActivationCredentialsCommand_base: {
|
|
22
|
+
new (input: GetActivationCredentialsCommandInput): import("@smithy/core/client").CommandImpl<GetActivationCredentialsCommandInput, GetActivationCredentialsCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetActivationCredentialsCommandInput): import("@smithy/core/client").CommandImpl<GetActivationCredentialsCommandInput, GetActivationCredentialsCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Returns activation credentials and image information for the specified appliance.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { BackupExternalClient, GetActivationCredentialsCommand } from "@aws-sdk/client-backup-external"; // ES Modules import
|
|
32
|
+
* // const { BackupExternalClient, GetActivationCredentialsCommand } = 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 = { // GetActivationCredentialsInput
|
|
37
|
+
* ApplianceArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetActivationCredentialsCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetActivationCredentialsOutput
|
|
42
|
+
* // Image: "STRING_VALUE",
|
|
43
|
+
* // AwsOvaImageRootCertificateDownloadUrl: "STRING_VALUE",
|
|
44
|
+
* // ActivationTokenExpiresAt: new Date("TIMESTAMP"), // required
|
|
45
|
+
* // ActivationToken: "STRING_VALUE", // required
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param GetActivationCredentialsCommandInput - {@link GetActivationCredentialsCommandInput}
|
|
51
|
+
* @returns {@link GetActivationCredentialsCommandOutput}
|
|
52
|
+
* @see {@link GetActivationCredentialsCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link GetActivationCredentialsCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link BackupExternalClientResolvedConfig | config} for BackupExternalClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* The request was denied because you do not have permission to perform the requested operation.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConflictException} (client fault)
|
|
60
|
+
* The request conflicts with the current state of the specified resource.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* The request failed because of an internal server error.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* The specified resource was not found.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* The request was denied because the request rate is too high.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* The request contains invalid parameters.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link BackupExternalServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from BackupExternal service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class GetActivationCredentialsCommand extends GetActivationCredentialsCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: GetActivationCredentialsInput;
|
|
85
|
+
output: GetActivationCredentialsOutput;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: GetActivationCredentialsCommandInput;
|
|
89
|
+
output: GetActivationCredentialsCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetAgentDownloadInput, GetAgentDownloadOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetAgentDownloadCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetAgentDownloadCommandInput extends GetAgentDownloadInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetAgentDownloadCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetAgentDownloadCommandOutput extends GetAgentDownloadOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetAgentDownloadCommand_base: {
|
|
22
|
+
new (input: GetAgentDownloadCommandInput): import("@smithy/core/client").CommandImpl<GetAgentDownloadCommandInput, GetAgentDownloadCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetAgentDownloadCommandInput): import("@smithy/core/client").CommandImpl<GetAgentDownloadCommandInput, GetAgentDownloadCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Returns the agent installer download URL and version for the specified appliance and platform.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { BackupExternalClient, GetAgentDownloadCommand } from "@aws-sdk/client-backup-external"; // ES Modules import
|
|
32
|
+
* // const { BackupExternalClient, GetAgentDownloadCommand } = 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 = { // GetAgentDownloadInput
|
|
37
|
+
* ApplianceArn: "STRING_VALUE", // required
|
|
38
|
+
* Platform: "WINDOWS" || "LINUX_RPM" || "LINUX_SUSE_RPM" || "LINUX_DEB" || "LINUX_SCRIPT", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetAgentDownloadCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetAgentDownloadOutput
|
|
43
|
+
* // AgentDownloadUrl: "STRING_VALUE", // required
|
|
44
|
+
* // AgentVersion: "STRING_VALUE", // required
|
|
45
|
+
* // SigningCertificateDownloadUrl: "STRING_VALUE",
|
|
46
|
+
* // AgentCertificateBundleDownloadUrl: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param GetAgentDownloadCommandInput - {@link GetAgentDownloadCommandInput}
|
|
52
|
+
* @returns {@link GetAgentDownloadCommandOutput}
|
|
53
|
+
* @see {@link GetAgentDownloadCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link GetAgentDownloadCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link BackupExternalClientResolvedConfig | config} for BackupExternalClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* The request was denied because you do not have permission to perform the requested operation.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* The request conflicts with the current state of the specified resource.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* The request failed because of an internal server error.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* The specified resource was not found.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* The request was denied because the request rate is too high.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* The request contains invalid parameters.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link BackupExternalServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from BackupExternal service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class GetAgentDownloadCommand extends GetAgentDownloadCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: GetAgentDownloadInput;
|
|
86
|
+
output: GetAgentDownloadOutput;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: GetAgentDownloadCommandInput;
|
|
90
|
+
output: GetAgentDownloadCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetAgentUpgradeSettingsInput, GetAgentUpgradeSettingsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetAgentUpgradeSettingsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetAgentUpgradeSettingsCommandInput extends GetAgentUpgradeSettingsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetAgentUpgradeSettingsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetAgentUpgradeSettingsCommandOutput extends GetAgentUpgradeSettingsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetAgentUpgradeSettingsCommand_base: {
|
|
22
|
+
new (input: GetAgentUpgradeSettingsCommandInput): import("@smithy/core/client").CommandImpl<GetAgentUpgradeSettingsCommandInput, GetAgentUpgradeSettingsCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetAgentUpgradeSettingsCommandInput): import("@smithy/core/client").CommandImpl<GetAgentUpgradeSettingsCommandInput, GetAgentUpgradeSettingsCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves the current auto-upgrade settings for an appliance.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { BackupExternalClient, GetAgentUpgradeSettingsCommand } from "@aws-sdk/client-backup-external"; // ES Modules import
|
|
32
|
+
* // const { BackupExternalClient, GetAgentUpgradeSettingsCommand } = 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 = { // GetAgentUpgradeSettingsInput
|
|
37
|
+
* ApplianceArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetAgentUpgradeSettingsCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetAgentUpgradeSettingsOutput
|
|
42
|
+
* // EnableAutoUpgrade: true || false, // required
|
|
43
|
+
* // StartHourUtc: Number("int"),
|
|
44
|
+
* // EndHourUtc: Number("int"),
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param GetAgentUpgradeSettingsCommandInput - {@link GetAgentUpgradeSettingsCommandInput}
|
|
50
|
+
* @returns {@link GetAgentUpgradeSettingsCommandOutput}
|
|
51
|
+
* @see {@link GetAgentUpgradeSettingsCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link GetAgentUpgradeSettingsCommandOutput} 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 GetAgentUpgradeSettingsCommand extends GetAgentUpgradeSettingsCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: GetAgentUpgradeSettingsInput;
|
|
84
|
+
output: GetAgentUpgradeSettingsOutput;
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: GetAgentUpgradeSettingsCommandInput;
|
|
88
|
+
output: GetAgentUpgradeSettingsCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetApplianceInput, GetApplianceOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetApplianceCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetApplianceCommandInput extends GetApplianceInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetApplianceCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetApplianceCommandOutput extends GetApplianceOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetApplianceCommand_base: {
|
|
22
|
+
new (input: GetApplianceCommandInput): import("@smithy/core/client").CommandImpl<GetApplianceCommandInput, GetApplianceCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetApplianceCommandInput): import("@smithy/core/client").CommandImpl<GetApplianceCommandInput, GetApplianceCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Returns the configuration and status of the specified appliance. To retrieve the nodes belonging to the
|
|
28
|
+
* appliance, use ListNodes.
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { BackupExternalClient, GetApplianceCommand } from "@aws-sdk/client-backup-external"; // ES Modules import
|
|
33
|
+
* // const { BackupExternalClient, GetApplianceCommand } = 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 = { // GetApplianceInput
|
|
38
|
+
* ApplianceArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetApplianceCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetApplianceOutput
|
|
43
|
+
* // ApplianceArn: "STRING_VALUE", // required
|
|
44
|
+
* // ApplianceName: "STRING_VALUE", // required
|
|
45
|
+
* // EnvironmentType: "EC2" || "VMWARE", // required
|
|
46
|
+
* // ApplianceIamRoleArn: "STRING_VALUE", // required
|
|
47
|
+
* // NodeFaultTolerance: Number("int"), // required
|
|
48
|
+
* // NetworkConfiguration: { // ApplianceNetworkConfigurationForGetAppliance
|
|
49
|
+
* // DomainName: "STRING_VALUE",
|
|
50
|
+
* // SearchDomains: [ // StringList
|
|
51
|
+
* // "STRING_VALUE",
|
|
52
|
+
* // ],
|
|
53
|
+
* // DnsServers: [
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
56
|
+
* // NtpServers: [
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // SubnetGateway: "STRING_VALUE", // required
|
|
60
|
+
* // SubnetMask: "STRING_VALUE", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // ApplianceManagementStatus: "PENDING" || "AVAILABLE" || "DELETING" || "DELETED" || "UPDATING" || "DELETE_FAILED" || "DISCONNECTED" || "SUSPENDED", // required
|
|
63
|
+
* // ApplianceOperationMode: "PENDING" || "RUNNING" || "PAUSED", // required
|
|
64
|
+
* // HealthStatus: "UNKNOWN" || "HEALTHY" || "WARNING" || "CRITICAL",
|
|
65
|
+
* // Notifications: [ // NotificationList
|
|
66
|
+
* // { // Notification
|
|
67
|
+
* // Message: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
71
|
+
* // DeletedAt: new Date("TIMESTAMP"),
|
|
72
|
+
* // PatchedAt: new Date("TIMESTAMP"),
|
|
73
|
+
* // SoftwareVersion: "STRING_VALUE",
|
|
74
|
+
* // Tags: { // AwsTagMap
|
|
75
|
+
* // "<keys>": "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* @param GetApplianceCommandInput - {@link GetApplianceCommandInput}
|
|
82
|
+
* @returns {@link GetApplianceCommandOutput}
|
|
83
|
+
* @see {@link GetApplianceCommandInput} for command's `input` shape.
|
|
84
|
+
* @see {@link GetApplianceCommandOutput} for command's `response` shape.
|
|
85
|
+
* @see {@link BackupExternalClientResolvedConfig | config} for BackupExternalClient's `config` shape.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
88
|
+
* The request was denied because you do not have permission to perform the requested operation.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ConflictException} (client fault)
|
|
91
|
+
* The request conflicts with the current state of the specified resource.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link InternalServerException} (server fault)
|
|
94
|
+
* The request failed because of an internal server error.
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
97
|
+
* The specified resource was not found.
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
100
|
+
* The request was denied because the request rate is too high.
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ValidationException} (client fault)
|
|
103
|
+
* The request contains invalid parameters.
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link BackupExternalServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from BackupExternal service.</p>
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class GetApplianceCommand extends GetApplianceCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: GetApplianceInput;
|
|
116
|
+
output: GetApplianceOutput;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: GetApplianceCommandInput;
|
|
120
|
+
output: GetApplianceCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetApplianceSizingRecommendationInput, GetApplianceSizingRecommendationOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetApplianceSizingRecommendationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetApplianceSizingRecommendationCommandInput extends GetApplianceSizingRecommendationInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetApplianceSizingRecommendationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetApplianceSizingRecommendationCommandOutput extends GetApplianceSizingRecommendationOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetApplianceSizingRecommendationCommand_base: {
|
|
22
|
+
new (input: GetApplianceSizingRecommendationCommandInput): import("@smithy/core/client").CommandImpl<GetApplianceSizingRecommendationCommandInput, GetApplianceSizingRecommendationCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetApplianceSizingRecommendationCommandInput): import("@smithy/core/client").CommandImpl<GetApplianceSizingRecommendationCommandInput, GetApplianceSizingRecommendationCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Returns appliance sizing recommendations for the specified workloads and projection period.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { BackupExternalClient, GetApplianceSizingRecommendationCommand } from "@aws-sdk/client-backup-external"; // ES Modules import
|
|
32
|
+
* // const { BackupExternalClient, GetApplianceSizingRecommendationCommand } = 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 = { // GetApplianceSizingRecommendationInput
|
|
37
|
+
* Workloads: [ // SizingWorkloadList // required
|
|
38
|
+
* { // SizingWorkload
|
|
39
|
+
* InitialSizeTiB: Number("double"), // required
|
|
40
|
+
* ChangeRatePercent: Number("double"), // required
|
|
41
|
+
* AnnualGrowthRatePercent: Number("double"), // required
|
|
42
|
+
* CompletionWindowMinutes: Number("int"),
|
|
43
|
+
* EnableCopyToCloud: true || false,
|
|
44
|
+
* BackupConfiguration: { // SizingBackupConfiguration Union: only one key present
|
|
45
|
+
* VmwareVm: { // SizingStandardBackupConfiguration
|
|
46
|
+
* BackupRules: [ // SizingBackupRuleList // required
|
|
47
|
+
* { // SizingBackupRule
|
|
48
|
+
* Frequency: Number("int"),
|
|
49
|
+
* FrequencyUnit: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
|
|
50
|
+
* DeleteAfterDays: Number("long"),
|
|
51
|
+
* EnableContinuousBackup: true || false,
|
|
52
|
+
* LogBackupFrequencyInMinutes: Number("int"),
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* MssqlDatabase: { // SizingDatabaseBackupConfiguration
|
|
57
|
+
* BackupRules: [ // required
|
|
58
|
+
* {
|
|
59
|
+
* Frequency: Number("int"),
|
|
60
|
+
* FrequencyUnit: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
|
|
61
|
+
* DeleteAfterDays: Number("long"),
|
|
62
|
+
* EnableContinuousBackup: true || false,
|
|
63
|
+
* LogBackupFrequencyInMinutes: Number("int"),
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* FullBackupAfterDays: Number("int"), // required
|
|
67
|
+
* LogChangeRatePercent: Number("double"),
|
|
68
|
+
* },
|
|
69
|
+
* OracleDatabase: {
|
|
70
|
+
* BackupRules: [ // required
|
|
71
|
+
* {
|
|
72
|
+
* Frequency: Number("int"),
|
|
73
|
+
* FrequencyUnit: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
|
|
74
|
+
* DeleteAfterDays: Number("long"),
|
|
75
|
+
* EnableContinuousBackup: true || false,
|
|
76
|
+
* LogBackupFrequencyInMinutes: Number("int"),
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* FullBackupAfterDays: Number("int"), // required
|
|
80
|
+
* LogChangeRatePercent: Number("double"),
|
|
81
|
+
* },
|
|
82
|
+
* Nas: { // SizingNasBackupConfiguration
|
|
83
|
+
* DataProfile: "STANDARD" || "STRUCTURED" || "NON_DEDUPABLE", // required
|
|
84
|
+
* InitialFileCountInMillions: Number("double"), // required
|
|
85
|
+
* BackupRules: [ // required
|
|
86
|
+
* {
|
|
87
|
+
* Frequency: Number("int"),
|
|
88
|
+
* FrequencyUnit: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
|
|
89
|
+
* DeleteAfterDays: Number("long"),
|
|
90
|
+
* EnableContinuousBackup: true || false,
|
|
91
|
+
* LogBackupFrequencyInMinutes: Number("int"),
|
|
92
|
+
* },
|
|
93
|
+
* ],
|
|
94
|
+
* },
|
|
95
|
+
* PhysicalServer: {
|
|
96
|
+
* BackupRules: [ // required
|
|
97
|
+
* {
|
|
98
|
+
* Frequency: Number("int"),
|
|
99
|
+
* FrequencyUnit: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
|
|
100
|
+
* DeleteAfterDays: Number("long"),
|
|
101
|
+
* EnableContinuousBackup: true || false,
|
|
102
|
+
* LogBackupFrequencyInMinutes: Number("int"),
|
|
103
|
+
* },
|
|
104
|
+
* ],
|
|
105
|
+
* },
|
|
106
|
+
* },
|
|
107
|
+
* },
|
|
108
|
+
* ],
|
|
109
|
+
* ProjectionYears: Number("int"), // required
|
|
110
|
+
* NodeFaultTolerance: Number("int"),
|
|
111
|
+
* NodeType: "EC2" || "VMWARE", // required
|
|
112
|
+
* };
|
|
113
|
+
* const command = new GetApplianceSizingRecommendationCommand(input);
|
|
114
|
+
* const response = await client.send(command);
|
|
115
|
+
* // { // GetApplianceSizingRecommendationOutput
|
|
116
|
+
* // Projections: [ // SizingProjectionList // required
|
|
117
|
+
* // { // SizingProjection
|
|
118
|
+
* // Year: Number("int"), // required
|
|
119
|
+
* // RequiredNodeCount: Number("long"), // required
|
|
120
|
+
* // DataStorageSizeTiBPerNode: Number("double"), // required
|
|
121
|
+
* // MetadataStorageSizeTiBPerNode: Number("double"), // required
|
|
122
|
+
* // },
|
|
123
|
+
* // ],
|
|
124
|
+
* // };
|
|
125
|
+
*
|
|
126
|
+
* ```
|
|
127
|
+
*
|
|
128
|
+
* @param GetApplianceSizingRecommendationCommandInput - {@link GetApplianceSizingRecommendationCommandInput}
|
|
129
|
+
* @returns {@link GetApplianceSizingRecommendationCommandOutput}
|
|
130
|
+
* @see {@link GetApplianceSizingRecommendationCommandInput} for command's `input` shape.
|
|
131
|
+
* @see {@link GetApplianceSizingRecommendationCommandOutput} for command's `response` shape.
|
|
132
|
+
* @see {@link BackupExternalClientResolvedConfig | config} for BackupExternalClient's `config` shape.
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
135
|
+
* The request was denied because you do not have permission to perform the requested operation.
|
|
136
|
+
*
|
|
137
|
+
* @throws {@link ConflictException} (client fault)
|
|
138
|
+
* The request conflicts with the current state of the specified resource.
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link InternalServerException} (server fault)
|
|
141
|
+
* The request failed because of an internal server error.
|
|
142
|
+
*
|
|
143
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
144
|
+
* The specified resource was not found.
|
|
145
|
+
*
|
|
146
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
147
|
+
* The request was denied because the request rate is too high.
|
|
148
|
+
*
|
|
149
|
+
* @throws {@link ValidationException} (client fault)
|
|
150
|
+
* The request contains invalid parameters.
|
|
151
|
+
*
|
|
152
|
+
* @throws {@link BackupExternalServiceException}
|
|
153
|
+
* <p>Base exception class for all service exceptions from BackupExternal service.</p>
|
|
154
|
+
*
|
|
155
|
+
*
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
export declare class GetApplianceSizingRecommendationCommand extends GetApplianceSizingRecommendationCommand_base {
|
|
159
|
+
/** @internal type navigation helper, not in runtime. */
|
|
160
|
+
protected static __types: {
|
|
161
|
+
api: {
|
|
162
|
+
input: GetApplianceSizingRecommendationInput;
|
|
163
|
+
output: GetApplianceSizingRecommendationOutput;
|
|
164
|
+
};
|
|
165
|
+
sdk: {
|
|
166
|
+
input: GetApplianceSizingRecommendationCommandInput;
|
|
167
|
+
output: GetApplianceSizingRecommendationCommandOutput;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
}
|