@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,165 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateResourceProviderInput, UpdateResourceProviderOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateResourceProviderCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateResourceProviderCommandInput extends UpdateResourceProviderInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateResourceProviderCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateResourceProviderCommandOutput extends UpdateResourceProviderOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateResourceProviderCommand_base: {
|
|
22
|
+
new (input: UpdateResourceProviderCommandInput): import("@smithy/core/client").CommandImpl<UpdateResourceProviderCommandInput, UpdateResourceProviderCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateResourceProviderCommandInput): import("@smithy/core/client").CommandImpl<UpdateResourceProviderCommandInput, UpdateResourceProviderCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Updates the configuration of the specified resource provider.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { BackupExternalClient, UpdateResourceProviderCommand } from "@aws-sdk/client-backup-external"; // ES Modules import
|
|
32
|
+
* // const { BackupExternalClient, UpdateResourceProviderCommand } = 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 = { // UpdateResourceProviderInput
|
|
37
|
+
* Arn: "STRING_VALUE", // required
|
|
38
|
+
* Name: "STRING_VALUE",
|
|
39
|
+
* ProviderConfiguration: { // ResourceProviderConfiguration Union: only one key present
|
|
40
|
+
* MssqlServer: { // ResourceProviderConfigurationForMssqlServer
|
|
41
|
+
* Endpoint: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* NasShare: { // ResourceProviderConfigurationForNasShare
|
|
44
|
+
* SharePath: "STRING_VALUE", // required
|
|
45
|
+
* Protocol: "NFS_3" || "NFS_4_1" || "SMB", // required
|
|
46
|
+
* },
|
|
47
|
+
* OracledbServer: { // ResourceProviderConfigurationForOracledbServer
|
|
48
|
+
* Endpoint: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* OracledbCluster: { // ResourceProviderConfigurationForOracledbCluster
|
|
51
|
+
* AlternativeEndpoint: "STRING_VALUE",
|
|
52
|
+
* Endpoint: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ServerHost: { // ResourceProviderConfigurationForServerHost
|
|
55
|
+
* Endpoint: "STRING_VALUE", // required
|
|
56
|
+
* },
|
|
57
|
+
* VmwareEsxi: { // ResourceProviderConfigurationForVmwareEsxi
|
|
58
|
+
* Endpoint: "STRING_VALUE", // required
|
|
59
|
+
* MaxConcurrentStreamsPerDatastore: Number("int"),
|
|
60
|
+
* MinFreeDatastoreSpaceForBackupPercentage: Number("double"),
|
|
61
|
+
* MinFreeDatastoreSpaceForBackupGB: Number("double"),
|
|
62
|
+
* },
|
|
63
|
+
* VmwareVcenter: { // ResourceProviderConfigurationForVmwareVcenter
|
|
64
|
+
* Endpoint: "STRING_VALUE", // required
|
|
65
|
+
* MaxConcurrentStreamsPerDatastore: Number("int"),
|
|
66
|
+
* MinFreeDatastoreSpaceForBackupPercentage: Number("double"),
|
|
67
|
+
* MinFreeDatastoreSpaceForBackupGB: Number("double"),
|
|
68
|
+
* MaxConcurrentVmBackups: Number("int"),
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* SecretConfigurationArn: "STRING_VALUE",
|
|
72
|
+
* TargetConfiguration: { // ResourceTargetConfigurations
|
|
73
|
+
* MssqlDatabase: { // ResourceTargetConfigurationForMssqlDatabase
|
|
74
|
+
* FullBackupAfterDays: Number("int"), // required
|
|
75
|
+
* FullBackupAfterScheduleExpression: "STRING_VALUE",
|
|
76
|
+
* BackupStreamCount: Number("int"),
|
|
77
|
+
* IsCopyOnlyFull: true || false, // required
|
|
78
|
+
* LogBackupFrequencyInMinutes: Number("int"),
|
|
79
|
+
* },
|
|
80
|
+
* NasFilesystem: { // ResourceTargetConfigurationForNasFilesystem
|
|
81
|
+
* AllowUnencryptedDataTransfer: true || false, // required
|
|
82
|
+
* },
|
|
83
|
+
* OracledbDatabase: { // ResourceTargetConfigurationForOracledbDatabase
|
|
84
|
+
* FullBackupAfterDays: Number("int"), // required
|
|
85
|
+
* FullBackupAfterScheduleExpression: "STRING_VALUE",
|
|
86
|
+
* BackupChannelCount: Number("int"),
|
|
87
|
+
* BackupNodeHostName: "STRING_VALUE",
|
|
88
|
+
* LogBackupFrequencyInMinutes: Number("int"),
|
|
89
|
+
* LogRetentionOnHostInHours: Number("int"),
|
|
90
|
+
* },
|
|
91
|
+
* ServerFilesystem: { // ResourceTargetConfigurationForServerFilesystem
|
|
92
|
+
* BackupConsistency: "NON_CONSISTENT" || "CRASH_CONSISTENT" || "CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT",
|
|
93
|
+
* PostBackupScript: { // ServerFilesystemPostBackupScript
|
|
94
|
+
* ScriptParams: "STRING_VALUE",
|
|
95
|
+
* ScriptPath: "STRING_VALUE", // required
|
|
96
|
+
* TimeoutInMinutes: Number("int"),
|
|
97
|
+
* },
|
|
98
|
+
* PreBackupScript: { // ServerFilesystemPreBackupScript
|
|
99
|
+
* ContinueBackupOnScriptFailure: true || false, // required
|
|
100
|
+
* ScriptParams: "STRING_VALUE",
|
|
101
|
+
* ScriptPath: "STRING_VALUE", // required
|
|
102
|
+
* TimeoutInMinutes: Number("int"),
|
|
103
|
+
* },
|
|
104
|
+
* },
|
|
105
|
+
* VmwareVm: { // ResourceTargetConfigurationForVmwareVm
|
|
106
|
+
* BackupConsistency: "APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT" || "APP_CONSISTENT" || "CRASH_CONSISTENT",
|
|
107
|
+
* },
|
|
108
|
+
* },
|
|
109
|
+
* TargetTagsOnCreate: { // ResourceTargetTagsOnCreate
|
|
110
|
+
* "<keys>": "STRING_VALUE",
|
|
111
|
+
* },
|
|
112
|
+
* TargetTagKeysToSync: [ // ResourceTargetTagKeyToSyncList
|
|
113
|
+
* "STRING_VALUE",
|
|
114
|
+
* ],
|
|
115
|
+
* AutoDeleteNotFoundTargetsAfterDays: Number("int"),
|
|
116
|
+
* };
|
|
117
|
+
* const command = new UpdateResourceProviderCommand(input);
|
|
118
|
+
* const response = await client.send(command);
|
|
119
|
+
* // {};
|
|
120
|
+
*
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* @param UpdateResourceProviderCommandInput - {@link UpdateResourceProviderCommandInput}
|
|
124
|
+
* @returns {@link UpdateResourceProviderCommandOutput}
|
|
125
|
+
* @see {@link UpdateResourceProviderCommandInput} for command's `input` shape.
|
|
126
|
+
* @see {@link UpdateResourceProviderCommandOutput} for command's `response` shape.
|
|
127
|
+
* @see {@link BackupExternalClientResolvedConfig | config} for BackupExternalClient's `config` shape.
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
130
|
+
* The request was denied because you do not have permission to perform the requested operation.
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link ConflictException} (client fault)
|
|
133
|
+
* The request conflicts with the current state of the specified resource.
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link InternalServerException} (server fault)
|
|
136
|
+
* The request failed because of an internal server error.
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
139
|
+
* The specified resource was not found.
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
142
|
+
* The request was denied because the request rate is too high.
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link ValidationException} (client fault)
|
|
145
|
+
* The request contains invalid parameters.
|
|
146
|
+
*
|
|
147
|
+
* @throws {@link BackupExternalServiceException}
|
|
148
|
+
* <p>Base exception class for all service exceptions from BackupExternal service.</p>
|
|
149
|
+
*
|
|
150
|
+
*
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
export declare class UpdateResourceProviderCommand extends UpdateResourceProviderCommand_base {
|
|
154
|
+
/** @internal type navigation helper, not in runtime. */
|
|
155
|
+
protected static __types: {
|
|
156
|
+
api: {
|
|
157
|
+
input: UpdateResourceProviderInput;
|
|
158
|
+
output: {};
|
|
159
|
+
};
|
|
160
|
+
sdk: {
|
|
161
|
+
input: UpdateResourceProviderCommandInput;
|
|
162
|
+
output: UpdateResourceProviderCommandOutput;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateResourceTargetInput, UpdateResourceTargetOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateResourceTargetCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateResourceTargetCommandInput extends UpdateResourceTargetInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateResourceTargetCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateResourceTargetCommandOutput extends UpdateResourceTargetOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateResourceTargetCommand_base: {
|
|
22
|
+
new (input: UpdateResourceTargetCommandInput): import("@smithy/core/client").CommandImpl<UpdateResourceTargetCommandInput, UpdateResourceTargetCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateResourceTargetCommandInput): import("@smithy/core/client").CommandImpl<UpdateResourceTargetCommandInput, UpdateResourceTargetCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Updates the name or backup configuration of 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, UpdateResourceTargetCommand } from "@aws-sdk/client-backup-external"; // ES Modules import
|
|
32
|
+
* // const { BackupExternalClient, UpdateResourceTargetCommand } = 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 = { // UpdateResourceTargetInput
|
|
37
|
+
* Arn: "STRING_VALUE", // required
|
|
38
|
+
* Name: "STRING_VALUE",
|
|
39
|
+
* TargetConfiguration: { // ResourceTargetConfiguration Union: only one key present
|
|
40
|
+
* MssqlDatabase: { // ResourceTargetConfigurationForMssqlDatabase
|
|
41
|
+
* FullBackupAfterDays: Number("int"), // required
|
|
42
|
+
* FullBackupAfterScheduleExpression: "STRING_VALUE",
|
|
43
|
+
* BackupStreamCount: Number("int"),
|
|
44
|
+
* IsCopyOnlyFull: true || false, // required
|
|
45
|
+
* LogBackupFrequencyInMinutes: Number("int"),
|
|
46
|
+
* },
|
|
47
|
+
* NasFilesystem: { // ResourceTargetConfigurationForNasFilesystem
|
|
48
|
+
* AllowUnencryptedDataTransfer: true || false, // required
|
|
49
|
+
* },
|
|
50
|
+
* OracledbDatabase: { // ResourceTargetConfigurationForOracledbDatabase
|
|
51
|
+
* FullBackupAfterDays: Number("int"), // required
|
|
52
|
+
* FullBackupAfterScheduleExpression: "STRING_VALUE",
|
|
53
|
+
* BackupChannelCount: Number("int"),
|
|
54
|
+
* BackupNodeHostName: "STRING_VALUE",
|
|
55
|
+
* LogBackupFrequencyInMinutes: Number("int"),
|
|
56
|
+
* LogRetentionOnHostInHours: Number("int"),
|
|
57
|
+
* },
|
|
58
|
+
* ServerFilesystem: { // ResourceTargetConfigurationForServerFilesystem
|
|
59
|
+
* BackupConsistency: "NON_CONSISTENT" || "CRASH_CONSISTENT" || "CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT",
|
|
60
|
+
* PostBackupScript: { // ServerFilesystemPostBackupScript
|
|
61
|
+
* ScriptParams: "STRING_VALUE",
|
|
62
|
+
* ScriptPath: "STRING_VALUE", // required
|
|
63
|
+
* TimeoutInMinutes: Number("int"),
|
|
64
|
+
* },
|
|
65
|
+
* PreBackupScript: { // ServerFilesystemPreBackupScript
|
|
66
|
+
* ContinueBackupOnScriptFailure: true || false, // required
|
|
67
|
+
* ScriptParams: "STRING_VALUE",
|
|
68
|
+
* ScriptPath: "STRING_VALUE", // required
|
|
69
|
+
* TimeoutInMinutes: Number("int"),
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* VmwareVm: { // ResourceTargetConfigurationForVmwareVm
|
|
73
|
+
* BackupConsistency: "APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT" || "APP_CONSISTENT" || "CRASH_CONSISTENT",
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* TargetConfigurationSource: "PROVIDER" || "TARGET",
|
|
77
|
+
* };
|
|
78
|
+
* const command = new UpdateResourceTargetCommand(input);
|
|
79
|
+
* const response = await client.send(command);
|
|
80
|
+
* // {};
|
|
81
|
+
*
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @param UpdateResourceTargetCommandInput - {@link UpdateResourceTargetCommandInput}
|
|
85
|
+
* @returns {@link UpdateResourceTargetCommandOutput}
|
|
86
|
+
* @see {@link UpdateResourceTargetCommandInput} for command's `input` shape.
|
|
87
|
+
* @see {@link UpdateResourceTargetCommandOutput} for command's `response` shape.
|
|
88
|
+
* @see {@link BackupExternalClientResolvedConfig | config} for BackupExternalClient's `config` shape.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
91
|
+
* The request was denied because you do not have permission to perform the requested operation.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ConflictException} (client fault)
|
|
94
|
+
* The request conflicts with the current state of the specified resource.
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link InternalServerException} (server fault)
|
|
97
|
+
* The request failed because of an internal server error.
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
100
|
+
* The specified resource was not found.
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
103
|
+
* The request was denied because the request rate is too high.
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ValidationException} (client fault)
|
|
106
|
+
* The request contains invalid parameters.
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link BackupExternalServiceException}
|
|
109
|
+
* <p>Base exception class for all service exceptions from BackupExternal service.</p>
|
|
110
|
+
*
|
|
111
|
+
*
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export declare class UpdateResourceTargetCommand extends UpdateResourceTargetCommand_base {
|
|
115
|
+
/** @internal type navigation helper, not in runtime. */
|
|
116
|
+
protected static __types: {
|
|
117
|
+
api: {
|
|
118
|
+
input: UpdateResourceTargetInput;
|
|
119
|
+
output: {};
|
|
120
|
+
};
|
|
121
|
+
sdk: {
|
|
122
|
+
input: UpdateResourceTargetCommandInput;
|
|
123
|
+
output: UpdateResourceTargetCommandOutput;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { VerifyNodesInput, VerifyNodesOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link VerifyNodesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface VerifyNodesCommandInput extends VerifyNodesInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link VerifyNodesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface VerifyNodesCommandOutput extends VerifyNodesOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const VerifyNodesCommand_base: {
|
|
22
|
+
new (input: VerifyNodesCommandInput): import("@smithy/core/client").CommandImpl<VerifyNodesCommandInput, VerifyNodesCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: VerifyNodesCommandInput): import("@smithy/core/client").CommandImpl<VerifyNodesCommandInput, VerifyNodesCommandOutput, import("..").BackupExternalClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Verifies the specified nodes, which must have a status of `PENDING_VERIFICATION`, so that they can be
|
|
28
|
+
* added to the appliance. Returns the updated management status of each node.
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { BackupExternalClient, VerifyNodesCommand } from "@aws-sdk/client-backup-external"; // ES Modules import
|
|
33
|
+
* // const { BackupExternalClient, VerifyNodesCommand } = 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 = { // VerifyNodesInput
|
|
38
|
+
* ApplianceArn: "STRING_VALUE", // required
|
|
39
|
+
* NodeArns: [ // NodeArnList // required
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
43
|
+
* const command = new VerifyNodesCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // VerifyNodesOutput
|
|
46
|
+
* // VerifiedNodes: [ // VerifiedApplianceNodeList // required
|
|
47
|
+
* // { // VerifiedApplianceNodeListMember
|
|
48
|
+
* // NodeArn: "STRING_VALUE", // required
|
|
49
|
+
* // NodeManagementStatus: "PENDING_VERIFICATION" || "PENDING_NODE_ADDITION" || "AVAILABLE" || "FAILED" || "UPDATING" || "DELETING" || "DELETED", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param VerifyNodesCommandInput - {@link VerifyNodesCommandInput}
|
|
57
|
+
* @returns {@link VerifyNodesCommandOutput}
|
|
58
|
+
* @see {@link VerifyNodesCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link VerifyNodesCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link BackupExternalClientResolvedConfig | config} for BackupExternalClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* The request was denied because you do not have permission to perform the requested operation.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ConflictException} (client fault)
|
|
66
|
+
* The request conflicts with the current state of the specified resource.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* The request failed because of an internal server error.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* The specified resource was not found.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* The request was denied because the request rate is too high.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* The request contains invalid parameters.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link BackupExternalServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from BackupExternal service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class VerifyNodesCommand extends VerifyNodesCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: VerifyNodesInput;
|
|
91
|
+
output: VerifyNodesOutput;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: VerifyNodesCommandInput;
|
|
95
|
+
output: VerifyNodesCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export * from "./AssociateDiskCommand";
|
|
2
|
+
export * from "./CreateApplianceCommand";
|
|
3
|
+
export * from "./CreateResourceProviderCommand";
|
|
4
|
+
export * from "./DeleteApplianceCommand";
|
|
5
|
+
export * from "./DeleteNodeCommand";
|
|
6
|
+
export * from "./DeleteResourceProviderCommand";
|
|
7
|
+
export * from "./DeleteResourceTargetCommand";
|
|
8
|
+
export * from "./GetActivationCredentialsCommand";
|
|
9
|
+
export * from "./GetAgentDownloadCommand";
|
|
10
|
+
export * from "./GetAgentUpgradeSettingsCommand";
|
|
11
|
+
export * from "./GetApplianceCommand";
|
|
12
|
+
export * from "./GetApplianceSizingRecommendationCommand";
|
|
13
|
+
export * from "./GetNodeCommand";
|
|
14
|
+
export * from "./GetResourceProviderCommand";
|
|
15
|
+
export * from "./GetResourceTargetCommand";
|
|
16
|
+
export * from "./ListAppliancesCommand";
|
|
17
|
+
export * from "./ListDisksCommand";
|
|
18
|
+
export * from "./ListNodesCommand";
|
|
19
|
+
export * from "./ListResourceProvidersCommand";
|
|
20
|
+
export * from "./ListResourceTargetsCommand";
|
|
21
|
+
export * from "./ListTagsCommand";
|
|
22
|
+
export * from "./PutAgentUpgradeSettingsCommand";
|
|
23
|
+
export * from "./StartResourceProviderAgentUpgradeCommand";
|
|
24
|
+
export * from "./StartResourceProviderMigrationCommand";
|
|
25
|
+
export * from "./StartResourceProviderSyncCommand";
|
|
26
|
+
export * from "./TagResourceCommand";
|
|
27
|
+
export * from "./UntagResourceCommand";
|
|
28
|
+
export * from "./UpdateApplianceCommand";
|
|
29
|
+
export * from "./UpdateResourceProviderCommand";
|
|
30
|
+
export * from "./UpdateResourceTargetCommand";
|
|
31
|
+
export * from "./VerifyNodesCommand";
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
7
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
8
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
14
|
+
defaultSigningName: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
export declare const commonParams: {
|
|
24
|
+
readonly UseFIPS: {
|
|
25
|
+
readonly type: "builtInParams";
|
|
26
|
+
readonly name: "useFipsEndpoint";
|
|
27
|
+
};
|
|
28
|
+
readonly Endpoint: {
|
|
29
|
+
readonly type: "builtInParams";
|
|
30
|
+
readonly name: "endpoint";
|
|
31
|
+
};
|
|
32
|
+
readonly Region: {
|
|
33
|
+
readonly type: "builtInParams";
|
|
34
|
+
readonly name: "region";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
41
|
+
UseFIPS?: boolean | undefined;
|
|
42
|
+
Endpoint?: string | undefined;
|
|
43
|
+
Region?: string | undefined;
|
|
44
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
7
|
+
logger?: Logger;
|
|
8
|
+
}) => EndpointV2;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface BackupExternalExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provides operations to manage appliances, resource providers, and resource targets in AWS Backup External.
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
6
|
+
export * from "./BackupExternalClient";
|
|
7
|
+
export * from "./BackupExternal";
|
|
8
|
+
export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
|
+
export type { BackupExternalExtensionConfiguration } from "./extensionConfiguration";
|
|
11
|
+
export * from "./commands";
|
|
12
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
13
|
+
export * from "./pagination";
|
|
14
|
+
export * from "./schemas/schemas_0";
|
|
15
|
+
export * from "./models/enums";
|
|
16
|
+
export * from "./models/errors";
|
|
17
|
+
export * from "./models/models_0";
|
|
18
|
+
export { BackupExternalServiceException } from "./models/BackupExternalServiceException";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from BackupExternal service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class BackupExternalServiceException extends __ServiceException {
|
|
10
|
+
static readonly shapeId: string;
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(options: __ServiceExceptionOptions);
|
|
15
|
+
}
|