@aws-sdk/client-dlm 3.712.0 → 3.714.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/dist-cjs/index.js +2 -0
- package/dist-cjs/runtimeConfig.js +8 -6
- package/dist-es/models/models_0.js +2 -0
- package/dist-es/runtimeConfig.js +8 -6
- package/dist-types/DLMClient.d.ts +18 -0
- package/dist-types/commands/CreateLifecyclePolicyCommand.d.ts +2 -2
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +2 -2
- package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +67 -27
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/DLMClient.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +14 -14
package/dist-cjs/index.js
CHANGED
|
@@ -247,6 +247,7 @@ var PolicyTypeValues = {
|
|
|
247
247
|
};
|
|
248
248
|
var ResourceLocationValues = {
|
|
249
249
|
CLOUD: "CLOUD",
|
|
250
|
+
LOCAL_ZONE: "LOCAL_ZONE",
|
|
250
251
|
OUTPOST: "OUTPOST"
|
|
251
252
|
};
|
|
252
253
|
var ResourceTypeValues = {
|
|
@@ -258,6 +259,7 @@ var IntervalUnitValues = {
|
|
|
258
259
|
};
|
|
259
260
|
var LocationValues = {
|
|
260
261
|
CLOUD: "CLOUD",
|
|
262
|
+
LOCAL_ZONE: "LOCAL_ZONE",
|
|
261
263
|
OUTPOST_LOCAL: "OUTPOST_LOCAL"
|
|
262
264
|
};
|
|
263
265
|
var ExecutionHandlerServiceValues = {
|
|
@@ -23,6 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
24
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
|
+
const profileConfig = { profile: config?.profile };
|
|
26
27
|
return {
|
|
27
28
|
...clientSharedValues,
|
|
28
29
|
...config,
|
|
@@ -32,19 +33,20 @@ const getRuntimeConfig = (config) => {
|
|
|
32
33
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
33
34
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
35
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
-
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: config?.region ??
|
|
36
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
37
|
+
region: config?.region ??
|
|
38
|
+
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
|
|
37
39
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
38
40
|
retryMode: config?.retryMode ??
|
|
39
41
|
(0, node_config_provider_1.loadConfig)({
|
|
40
42
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
41
43
|
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
|
|
42
|
-
}),
|
|
44
|
+
}, config),
|
|
43
45
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
44
46
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
46
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
-
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
|
|
47
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
48
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
49
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
|
|
48
50
|
};
|
|
49
51
|
};
|
|
50
52
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -26,6 +26,7 @@ export const PolicyTypeValues = {
|
|
|
26
26
|
};
|
|
27
27
|
export const ResourceLocationValues = {
|
|
28
28
|
CLOUD: "CLOUD",
|
|
29
|
+
LOCAL_ZONE: "LOCAL_ZONE",
|
|
29
30
|
OUTPOST: "OUTPOST",
|
|
30
31
|
};
|
|
31
32
|
export const ResourceTypeValues = {
|
|
@@ -37,6 +38,7 @@ export const IntervalUnitValues = {
|
|
|
37
38
|
};
|
|
38
39
|
export const LocationValues = {
|
|
39
40
|
CLOUD: "CLOUD",
|
|
41
|
+
LOCAL_ZONE: "LOCAL_ZONE",
|
|
40
42
|
OUTPOST_LOCAL: "OUTPOST_LOCAL",
|
|
41
43
|
};
|
|
42
44
|
export const ExecutionHandlerServiceValues = {
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -19,6 +19,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
19
19
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
20
20
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
21
|
awsCheckVersion(process.version);
|
|
22
|
+
const profileConfig = { profile: config?.profile };
|
|
22
23
|
return {
|
|
23
24
|
...clientSharedValues,
|
|
24
25
|
...config,
|
|
@@ -28,18 +29,19 @@ export const getRuntimeConfig = (config) => {
|
|
|
28
29
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
30
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
30
31
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
|
-
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
32
|
-
region: config?.region ??
|
|
32
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
33
|
+
region: config?.region ??
|
|
34
|
+
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
|
|
33
35
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
34
36
|
retryMode: config?.retryMode ??
|
|
35
37
|
loadNodeConfig({
|
|
36
38
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
37
39
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
38
|
-
}),
|
|
40
|
+
}, config),
|
|
39
41
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
40
42
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
41
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
42
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
43
|
-
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
|
|
43
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
44
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
45
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
|
|
44
46
|
};
|
|
45
47
|
};
|
|
@@ -102,6 +102,24 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
102
102
|
* The AWS region to which this client will send requests
|
|
103
103
|
*/
|
|
104
104
|
region?: string | __Provider<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Setting a client profile is similar to setting a value for the
|
|
107
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
108
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
109
|
+
*
|
|
110
|
+
* When set, and only for environments where an AWS configuration
|
|
111
|
+
* file exists, fields configurable by this file will be retrieved
|
|
112
|
+
* from the specified profile within that file.
|
|
113
|
+
* Conflicting code configuration and environment variables will
|
|
114
|
+
* still have higher priority.
|
|
115
|
+
*
|
|
116
|
+
* For client credential resolution that involves checking the AWS
|
|
117
|
+
* configuration file, the client's profile (this value) will be
|
|
118
|
+
* used unless a different profile is set in the credential
|
|
119
|
+
* provider options.
|
|
120
|
+
*
|
|
121
|
+
*/
|
|
122
|
+
profile?: string;
|
|
105
123
|
/**
|
|
106
124
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
107
125
|
* @internal
|
|
@@ -67,7 +67,7 @@ declare const CreateLifecyclePolicyCommand_base: {
|
|
|
67
67
|
* "VOLUME" || "INSTANCE",
|
|
68
68
|
* ],
|
|
69
69
|
* ResourceLocations: [ // ResourceLocationList
|
|
70
|
-
* "CLOUD" || "OUTPOST",
|
|
70
|
+
* "CLOUD" || "OUTPOST" || "LOCAL_ZONE",
|
|
71
71
|
* ],
|
|
72
72
|
* TargetTags: [ // TargetTagList
|
|
73
73
|
* { // Tag
|
|
@@ -92,7 +92,7 @@ declare const CreateLifecyclePolicyCommand_base: {
|
|
|
92
92
|
* },
|
|
93
93
|
* ],
|
|
94
94
|
* CreateRule: { // CreateRule
|
|
95
|
-
* Location: "CLOUD" || "OUTPOST_LOCAL",
|
|
95
|
+
* Location: "CLOUD" || "OUTPOST_LOCAL" || "LOCAL_ZONE",
|
|
96
96
|
* Interval: Number("int"),
|
|
97
97
|
* IntervalUnit: "HOURS",
|
|
98
98
|
* Times: [ // TimesList
|
|
@@ -54,7 +54,7 @@ declare const GetLifecyclePolicyCommand_base: {
|
|
|
54
54
|
* // "VOLUME" || "INSTANCE",
|
|
55
55
|
* // ],
|
|
56
56
|
* // ResourceLocations: [ // ResourceLocationList
|
|
57
|
-
* // "CLOUD" || "OUTPOST",
|
|
57
|
+
* // "CLOUD" || "OUTPOST" || "LOCAL_ZONE",
|
|
58
58
|
* // ],
|
|
59
59
|
* // TargetTags: [ // TargetTagList
|
|
60
60
|
* // { // Tag
|
|
@@ -79,7 +79,7 @@ declare const GetLifecyclePolicyCommand_base: {
|
|
|
79
79
|
* // },
|
|
80
80
|
* // ],
|
|
81
81
|
* // CreateRule: { // CreateRule
|
|
82
|
-
* // Location: "CLOUD" || "OUTPOST_LOCAL",
|
|
82
|
+
* // Location: "CLOUD" || "OUTPOST_LOCAL" || "LOCAL_ZONE",
|
|
83
83
|
* // Interval: Number("int"),
|
|
84
84
|
* // IntervalUnit: "HOURS",
|
|
85
85
|
* // Times: [ // TimesList
|
|
@@ -47,7 +47,7 @@ declare const UpdateLifecyclePolicyCommand_base: {
|
|
|
47
47
|
* "VOLUME" || "INSTANCE",
|
|
48
48
|
* ],
|
|
49
49
|
* ResourceLocations: [ // ResourceLocationList
|
|
50
|
-
* "CLOUD" || "OUTPOST",
|
|
50
|
+
* "CLOUD" || "OUTPOST" || "LOCAL_ZONE",
|
|
51
51
|
* ],
|
|
52
52
|
* TargetTags: [ // TargetTagList
|
|
53
53
|
* { // Tag
|
|
@@ -72,7 +72,7 @@ declare const UpdateLifecyclePolicyCommand_base: {
|
|
|
72
72
|
* },
|
|
73
73
|
* ],
|
|
74
74
|
* CreateRule: { // CreateRule
|
|
75
|
-
* Location: "CLOUD" || "OUTPOST_LOCAL",
|
|
75
|
+
* Location: "CLOUD" || "OUTPOST_LOCAL" || "LOCAL_ZONE",
|
|
76
76
|
* Interval: Number("int"),
|
|
77
77
|
* IntervalUnit: "HOURS",
|
|
78
78
|
* Times: [ // TimesList
|
|
@@ -375,6 +375,7 @@ export type PolicyTypeValues = (typeof PolicyTypeValues)[keyof typeof PolicyType
|
|
|
375
375
|
*/
|
|
376
376
|
export declare const ResourceLocationValues: {
|
|
377
377
|
readonly CLOUD: "CLOUD";
|
|
378
|
+
readonly LOCAL_ZONE: "LOCAL_ZONE";
|
|
378
379
|
readonly OUTPOST: "OUTPOST";
|
|
379
380
|
};
|
|
380
381
|
/**
|
|
@@ -410,6 +411,7 @@ export type IntervalUnitValues = (typeof IntervalUnitValues)[keyof typeof Interv
|
|
|
410
411
|
*/
|
|
411
412
|
export declare const LocationValues: {
|
|
412
413
|
readonly CLOUD: "CLOUD";
|
|
414
|
+
readonly LOCAL_ZONE: "LOCAL_ZONE";
|
|
413
415
|
readonly OUTPOST_LOCAL: "OUTPOST_LOCAL";
|
|
414
416
|
};
|
|
415
417
|
/**
|
|
@@ -583,14 +585,39 @@ export interface Script {
|
|
|
583
585
|
export interface CreateRule {
|
|
584
586
|
/**
|
|
585
587
|
* <p>
|
|
586
|
-
* <b>[Custom snapshot policies only]</b> Specifies the destination for snapshots created by the policy.
|
|
587
|
-
*
|
|
588
|
-
*
|
|
589
|
-
*
|
|
590
|
-
*
|
|
591
|
-
*
|
|
592
|
-
*
|
|
593
|
-
*
|
|
588
|
+
* <b>[Custom snapshot policies only]</b> Specifies the destination for snapshots created by the policy. The
|
|
589
|
+
* allowed destinations depend on the location of the targeted resources.</p>
|
|
590
|
+
* <ul>
|
|
591
|
+
* <li>
|
|
592
|
+
* <p>If the policy targets resources in a Region, then you must create snapshots
|
|
593
|
+
* in the same Region as the source resource.</p>
|
|
594
|
+
* </li>
|
|
595
|
+
* <li>
|
|
596
|
+
* <p>If the policy targets resources in a Local Zone, you can create snapshots in
|
|
597
|
+
* the same Local Zone or in its parent Region.</p>
|
|
598
|
+
* </li>
|
|
599
|
+
* <li>
|
|
600
|
+
* <p>If the policy targets resources on an Outpost, then you can create snapshots
|
|
601
|
+
* on the same Outpost or in its parent Region.</p>
|
|
602
|
+
* </li>
|
|
603
|
+
* </ul>
|
|
604
|
+
* <p>Specify one of the following values:</p>
|
|
605
|
+
* <ul>
|
|
606
|
+
* <li>
|
|
607
|
+
* <p>To create snapshots in the same Region as the source resource, specify
|
|
608
|
+
* <code>CLOUD</code>.</p>
|
|
609
|
+
* </li>
|
|
610
|
+
* <li>
|
|
611
|
+
* <p>To create snapshots in the same Local Zone as the source resource, specify
|
|
612
|
+
* <code>LOCAL_ZONE</code>.</p>
|
|
613
|
+
* </li>
|
|
614
|
+
* <li>
|
|
615
|
+
* <p>To create snapshots on the same Outpost as the source resource, specify
|
|
616
|
+
* <code>OUTPOST_LOCAL</code>.</p>
|
|
617
|
+
* </li>
|
|
618
|
+
* </ul>
|
|
619
|
+
* <p>Default: <code>CLOUD</code>
|
|
620
|
+
* </p>
|
|
594
621
|
* @public
|
|
595
622
|
*/
|
|
596
623
|
Location?: LocationValues | undefined;
|
|
@@ -613,8 +640,8 @@ export interface CreateRule {
|
|
|
613
640
|
Times?: string[] | undefined;
|
|
614
641
|
/**
|
|
615
642
|
* <p>The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1
|
|
616
|
-
* year. For more information, see <a href="https://docs.aws.amazon.com/
|
|
617
|
-
*
|
|
643
|
+
* year. For more information, see the <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cron-expressions.html">Cron expressions reference</a> in
|
|
644
|
+
* the <i>Amazon EventBridge User Guide</i>.</p>
|
|
618
645
|
* @public
|
|
619
646
|
*/
|
|
620
647
|
CronExpression?: string | undefined;
|
|
@@ -913,11 +940,11 @@ export interface Schedule {
|
|
|
913
940
|
*/
|
|
914
941
|
FastRestoreRule?: FastRestoreRule | undefined;
|
|
915
942
|
/**
|
|
916
|
-
* <p>Specifies a rule for copying snapshots or AMIs across
|
|
943
|
+
* <p>Specifies a rule for copying snapshots or AMIs across Regions.</p>
|
|
917
944
|
* <note>
|
|
918
|
-
* <p>You can't specify cross-Region copy rules for policies that create snapshots on an
|
|
919
|
-
*
|
|
920
|
-
*
|
|
945
|
+
* <p>You can't specify cross-Region copy rules for policies that create snapshots on an
|
|
946
|
+
* Outpost or in a Local Zone. If the policy creates snapshots in a Region, then snapshots
|
|
947
|
+
* can be copied to up to three Regions or Outposts.</p>
|
|
921
948
|
* </note>
|
|
922
949
|
* @public
|
|
923
950
|
*/
|
|
@@ -952,8 +979,7 @@ export interface Schedule {
|
|
|
952
979
|
*/
|
|
953
980
|
export interface PolicyDetails {
|
|
954
981
|
/**
|
|
955
|
-
* <p>
|
|
956
|
-
* <b>[Custom policies only]</b> The valid target resource types and actions a policy can manage. Specify <code>EBS_SNAPSHOT_MANAGEMENT</code>
|
|
982
|
+
* <p>The type of policy. Specify <code>EBS_SNAPSHOT_MANAGEMENT</code>
|
|
957
983
|
* to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify <code>IMAGE_MANAGEMENT</code>
|
|
958
984
|
* to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify <code>EVENT_BASED_POLICY </code>
|
|
959
985
|
* to create an event-based policy that performs specific actions when a defined event occurs in your Amazon Web Services account.</p>
|
|
@@ -971,11 +997,26 @@ export interface PolicyDetails {
|
|
|
971
997
|
ResourceTypes?: ResourceTypeValues[] | undefined;
|
|
972
998
|
/**
|
|
973
999
|
* <p>
|
|
974
|
-
* <b>[Custom snapshot and AMI policies only]</b> The location of the resources to backup
|
|
975
|
-
*
|
|
976
|
-
*
|
|
977
|
-
*
|
|
978
|
-
*
|
|
1000
|
+
* <b>[Custom snapshot and AMI policies only]</b> The location of the resources to backup.</p>
|
|
1001
|
+
* <ul>
|
|
1002
|
+
* <li>
|
|
1003
|
+
* <p>If the source resources are located in a Region, specify <code>CLOUD</code>. In this case,
|
|
1004
|
+
* the policy targets all resources of the specified type with matching target tags across all
|
|
1005
|
+
* Availability Zones in the Region.</p>
|
|
1006
|
+
* </li>
|
|
1007
|
+
* <li>
|
|
1008
|
+
* <p>
|
|
1009
|
+
* <b>[Custom snapshot policies only]</b> If the source resources are located in a Local Zone, specify <code>LOCAL_ZONE</code>.
|
|
1010
|
+
* In this case, the policy targets all resources of the specified type with matching target
|
|
1011
|
+
* tags across all Local Zones in the Region.</p>
|
|
1012
|
+
* </li>
|
|
1013
|
+
* <li>
|
|
1014
|
+
* <p>If the source resources are located on an Outpost in your account, specify <code>OUTPOST</code>.
|
|
1015
|
+
* In this case, the policy targets all resources of the specified type with matching target
|
|
1016
|
+
* tags across all of the Outposts in your account.</p>
|
|
1017
|
+
* </li>
|
|
1018
|
+
* </ul>
|
|
1019
|
+
* <p></p>
|
|
979
1020
|
* @public
|
|
980
1021
|
*/
|
|
981
1022
|
ResourceLocations?: ResourceLocationValues[] | undefined;
|
|
@@ -1513,8 +1554,7 @@ export interface GetLifecyclePolicyRequest {
|
|
|
1513
1554
|
PolicyId: string | undefined;
|
|
1514
1555
|
}
|
|
1515
1556
|
/**
|
|
1516
|
-
* <p>
|
|
1517
|
-
* <b>[Custom policies only]</b> Detailed information about a snapshot, AMI, or event-based lifecycle policy.</p>
|
|
1557
|
+
* <p>Information about a lifecycle policy.</p>
|
|
1518
1558
|
* @public
|
|
1519
1559
|
*/
|
|
1520
1560
|
export interface LifecyclePolicy {
|
|
@@ -1570,16 +1610,16 @@ export interface LifecyclePolicy {
|
|
|
1570
1610
|
*/
|
|
1571
1611
|
PolicyArn?: string | undefined;
|
|
1572
1612
|
/**
|
|
1573
|
-
* <p>
|
|
1574
|
-
*
|
|
1613
|
+
* <p>Indicates whether the policy is a default lifecycle policy or a custom
|
|
1614
|
+
* lifecycle policy.</p>
|
|
1575
1615
|
* <ul>
|
|
1576
1616
|
* <li>
|
|
1577
1617
|
* <p>
|
|
1578
|
-
* <code>
|
|
1618
|
+
* <code>true</code> - the policy is a default policy.</p>
|
|
1579
1619
|
* </li>
|
|
1580
1620
|
* <li>
|
|
1581
1621
|
* <p>
|
|
1582
|
-
* <code>
|
|
1622
|
+
* <code>false</code> - the policy is a custom policy.</p>
|
|
1583
1623
|
* </li>
|
|
1584
1624
|
* </ul>
|
|
1585
1625
|
* @public
|
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: DLMClientConfig) => {
|
|
|
26
26
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
27
27
|
disableHostPrefix: boolean;
|
|
28
28
|
serviceId: string;
|
|
29
|
+
profile?: string | undefined;
|
|
29
30
|
logger: import("@smithy/types").Logger;
|
|
30
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
32
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: DLMClientConfig) => {
|
|
|
27
27
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
28
28
|
disableHostPrefix: boolean;
|
|
29
29
|
serviceId: string;
|
|
30
|
+
profile?: string | undefined;
|
|
30
31
|
logger: import("@smithy/types").Logger;
|
|
31
32
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
33
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: DLMClientConfig) => {
|
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
|
+
profile?: string | undefined;
|
|
23
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
24
25
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
@@ -119,6 +119,7 @@ export interface ClientDefaults
|
|
|
119
119
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
120
120
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
121
121
|
region?: string | __Provider<string>;
|
|
122
|
+
profile?: string;
|
|
122
123
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
123
124
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
124
125
|
maxAttempts?: number | __Provider<number>;
|
|
@@ -93,6 +93,7 @@ export type PolicyTypeValues =
|
|
|
93
93
|
(typeof PolicyTypeValues)[keyof typeof PolicyTypeValues];
|
|
94
94
|
export declare const ResourceLocationValues: {
|
|
95
95
|
readonly CLOUD: "CLOUD";
|
|
96
|
+
readonly LOCAL_ZONE: "LOCAL_ZONE";
|
|
96
97
|
readonly OUTPOST: "OUTPOST";
|
|
97
98
|
};
|
|
98
99
|
export type ResourceLocationValues =
|
|
@@ -110,6 +111,7 @@ export type IntervalUnitValues =
|
|
|
110
111
|
(typeof IntervalUnitValues)[keyof typeof IntervalUnitValues];
|
|
111
112
|
export declare const LocationValues: {
|
|
112
113
|
readonly CLOUD: "CLOUD";
|
|
114
|
+
readonly LOCAL_ZONE: "LOCAL_ZONE";
|
|
113
115
|
readonly OUTPOST_LOCAL: "OUTPOST_LOCAL";
|
|
114
116
|
};
|
|
115
117
|
export type LocationValues =
|
|
@@ -33,6 +33,7 @@ export declare const getRuntimeConfig: (config: DLMClientConfig) => {
|
|
|
33
33
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
34
34
|
disableHostPrefix: boolean;
|
|
35
35
|
serviceId: string;
|
|
36
|
+
profile?: string | undefined;
|
|
36
37
|
logger: import("@smithy/types").Logger;
|
|
37
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
38
39
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: DLMClientConfig) => {
|
|
|
38
38
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
39
39
|
disableHostPrefix: boolean;
|
|
40
40
|
serviceId: string;
|
|
41
|
+
profile?: string | undefined;
|
|
41
42
|
logger: import("@smithy/types").Logger;
|
|
42
43
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
44
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: DLMClientConfig) => {
|
|
|
22
22
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
|
+
profile?: string | undefined;
|
|
25
26
|
defaultUserAgentProvider: (
|
|
26
27
|
config?:
|
|
27
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dlm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dlm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.714.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-dlm",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.714.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.714.0",
|
|
25
|
+
"@aws-sdk/core": "3.714.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.714.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.714.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.714.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.714.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.714.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.714.0",
|
|
32
|
+
"@aws-sdk/types": "3.714.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.714.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.714.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.714.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.13",
|
|
37
37
|
"@smithy/core": "^2.5.5",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.1.2",
|