@aws-sdk/client-dlm 3.299.0 → 3.301.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.
@@ -27,6 +27,144 @@ export interface CreateLifecyclePolicyCommandOutput extends CreateLifecyclePolic
27
27
  * import { DLMClient, CreateLifecyclePolicyCommand } from "@aws-sdk/client-dlm"; // ES Modules import
28
28
  * // const { DLMClient, CreateLifecyclePolicyCommand } = require("@aws-sdk/client-dlm"); // CommonJS import
29
29
  * const client = new DLMClient(config);
30
+ * const input = { // CreateLifecyclePolicyRequest
31
+ * ExecutionRoleArn: "STRING_VALUE", // required
32
+ * Description: "STRING_VALUE", // required
33
+ * State: "ENABLED" || "DISABLED", // required
34
+ * PolicyDetails: { // PolicyDetails
35
+ * PolicyType: "EBS_SNAPSHOT_MANAGEMENT" || "IMAGE_MANAGEMENT" || "EVENT_BASED_POLICY",
36
+ * ResourceTypes: [ // ResourceTypeValuesList
37
+ * "VOLUME" || "INSTANCE",
38
+ * ],
39
+ * ResourceLocations: [ // ResourceLocationList
40
+ * "CLOUD" || "OUTPOST",
41
+ * ],
42
+ * TargetTags: [ // TargetTagList
43
+ * { // Tag
44
+ * Key: "STRING_VALUE", // required
45
+ * Value: "STRING_VALUE", // required
46
+ * },
47
+ * ],
48
+ * Schedules: [ // ScheduleList
49
+ * { // Schedule
50
+ * Name: "STRING_VALUE",
51
+ * CopyTags: true || false,
52
+ * TagsToAdd: [ // TagsToAddList
53
+ * {
54
+ * Key: "STRING_VALUE", // required
55
+ * Value: "STRING_VALUE", // required
56
+ * },
57
+ * ],
58
+ * VariableTags: [ // VariableTagsList
59
+ * {
60
+ * Key: "STRING_VALUE", // required
61
+ * Value: "STRING_VALUE", // required
62
+ * },
63
+ * ],
64
+ * CreateRule: { // CreateRule
65
+ * Location: "CLOUD" || "OUTPOST_LOCAL",
66
+ * Interval: Number("int"),
67
+ * IntervalUnit: "HOURS",
68
+ * Times: [ // TimesList
69
+ * "STRING_VALUE",
70
+ * ],
71
+ * CronExpression: "STRING_VALUE",
72
+ * },
73
+ * RetainRule: { // RetainRule
74
+ * Count: Number("int"),
75
+ * Interval: Number("int"),
76
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
77
+ * },
78
+ * FastRestoreRule: { // FastRestoreRule
79
+ * Count: Number("int"),
80
+ * Interval: Number("int"),
81
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
82
+ * AvailabilityZones: [ // AvailabilityZoneList // required
83
+ * "STRING_VALUE",
84
+ * ],
85
+ * },
86
+ * CrossRegionCopyRules: [ // CrossRegionCopyRules
87
+ * { // CrossRegionCopyRule
88
+ * TargetRegion: "STRING_VALUE",
89
+ * Target: "STRING_VALUE",
90
+ * Encrypted: true || false, // required
91
+ * CmkArn: "STRING_VALUE",
92
+ * CopyTags: true || false,
93
+ * RetainRule: { // CrossRegionCopyRetainRule
94
+ * Interval: Number("int"),
95
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
96
+ * },
97
+ * DeprecateRule: { // CrossRegionCopyDeprecateRule
98
+ * Interval: Number("int"),
99
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
100
+ * },
101
+ * },
102
+ * ],
103
+ * ShareRules: [ // ShareRules
104
+ * { // ShareRule
105
+ * TargetAccounts: [ // ShareTargetAccountList // required
106
+ * "STRING_VALUE",
107
+ * ],
108
+ * UnshareInterval: Number("int"),
109
+ * UnshareIntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
110
+ * },
111
+ * ],
112
+ * DeprecateRule: { // DeprecateRule
113
+ * Count: Number("int"),
114
+ * Interval: Number("int"),
115
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
116
+ * },
117
+ * ArchiveRule: { // ArchiveRule
118
+ * RetainRule: { // ArchiveRetainRule
119
+ * RetentionArchiveTier: { // RetentionArchiveTier
120
+ * Count: Number("int"),
121
+ * Interval: Number("int"),
122
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
123
+ * },
124
+ * },
125
+ * },
126
+ * },
127
+ * ],
128
+ * Parameters: { // Parameters
129
+ * ExcludeBootVolume: true || false,
130
+ * NoReboot: true || false,
131
+ * ExcludeDataVolumeTags: [ // ExcludeDataVolumeTagList
132
+ * "<Tag>",
133
+ * ],
134
+ * },
135
+ * EventSource: { // EventSource
136
+ * Type: "MANAGED_CWE", // required
137
+ * Parameters: { // EventParameters
138
+ * EventType: "shareSnapshot", // required
139
+ * SnapshotOwner: [ // SnapshotOwnerList // required
140
+ * "STRING_VALUE",
141
+ * ],
142
+ * DescriptionRegex: "STRING_VALUE", // required
143
+ * },
144
+ * },
145
+ * Actions: [ // ActionList
146
+ * { // Action
147
+ * Name: "STRING_VALUE", // required
148
+ * CrossRegionCopy: [ // CrossRegionCopyActionList // required
149
+ * { // CrossRegionCopyAction
150
+ * Target: "STRING_VALUE", // required
151
+ * EncryptionConfiguration: { // EncryptionConfiguration
152
+ * Encrypted: true || false, // required
153
+ * CmkArn: "STRING_VALUE",
154
+ * },
155
+ * RetainRule: {
156
+ * Interval: Number("int"),
157
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
158
+ * },
159
+ * },
160
+ * ],
161
+ * },
162
+ * ],
163
+ * },
164
+ * Tags: { // TagMap
165
+ * "<keys>": "STRING_VALUE",
166
+ * },
167
+ * };
30
168
  * const command = new CreateLifecyclePolicyCommand(input);
31
169
  * const response = await client.send(command);
32
170
  * ```
@@ -29,6 +29,9 @@ export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolic
29
29
  * import { DLMClient, DeleteLifecyclePolicyCommand } from "@aws-sdk/client-dlm"; // ES Modules import
30
30
  * // const { DLMClient, DeleteLifecyclePolicyCommand } = require("@aws-sdk/client-dlm"); // CommonJS import
31
31
  * const client = new DLMClient(config);
32
+ * const input = { // DeleteLifecyclePolicyRequest
33
+ * PolicyId: "STRING_VALUE", // required
34
+ * };
32
35
  * const command = new DeleteLifecyclePolicyCommand(input);
33
36
  * const response = await client.send(command);
34
37
  * ```
@@ -27,6 +27,21 @@ export interface GetLifecyclePoliciesCommandOutput extends GetLifecyclePoliciesR
27
27
  * import { DLMClient, GetLifecyclePoliciesCommand } from "@aws-sdk/client-dlm"; // ES Modules import
28
28
  * // const { DLMClient, GetLifecyclePoliciesCommand } = require("@aws-sdk/client-dlm"); // CommonJS import
29
29
  * const client = new DLMClient(config);
30
+ * const input = { // GetLifecyclePoliciesRequest
31
+ * PolicyIds: [ // PolicyIdList
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * State: "ENABLED" || "DISABLED" || "ERROR",
35
+ * ResourceTypes: [ // ResourceTypeValuesList
36
+ * "VOLUME" || "INSTANCE",
37
+ * ],
38
+ * TargetTags: [ // TargetTagsFilterList
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * TagsToAdd: [ // TagsToAddFilterList
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * };
30
45
  * const command = new GetLifecyclePoliciesCommand(input);
31
46
  * const response = await client.send(command);
32
47
  * ```
@@ -26,6 +26,9 @@ export interface GetLifecyclePolicyCommandOutput extends GetLifecyclePolicyRespo
26
26
  * import { DLMClient, GetLifecyclePolicyCommand } from "@aws-sdk/client-dlm"; // ES Modules import
27
27
  * // const { DLMClient, GetLifecyclePolicyCommand } = require("@aws-sdk/client-dlm"); // CommonJS import
28
28
  * const client = new DLMClient(config);
29
+ * const input = { // GetLifecyclePolicyRequest
30
+ * PolicyId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetLifecyclePolicyCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { DLMClient, ListTagsForResourceCommand } from "@aws-sdk/client-dlm"; // ES Modules import
27
27
  * // const { DLMClient, ListTagsForResourceCommand } = require("@aws-sdk/client-dlm"); // CommonJS import
28
28
  * const client = new DLMClient(config);
29
+ * const input = { // ListTagsForResourceRequest
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { DLMClient, TagResourceCommand } from "@aws-sdk/client-dlm"; // ES Modules import
27
27
  * // const { DLMClient, TagResourceCommand } = require("@aws-sdk/client-dlm"); // CommonJS import
28
28
  * const client = new DLMClient(config);
29
+ * const input = { // TagResourceRequest
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * Tags: { // TagMap // required
32
+ * "<keys>": "STRING_VALUE",
33
+ * },
34
+ * };
29
35
  * const command = new TagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { DLMClient, UntagResourceCommand } from "@aws-sdk/client-dlm"; // ES Modules import
27
27
  * // const { DLMClient, UntagResourceCommand } = require("@aws-sdk/client-dlm"); // CommonJS import
28
28
  * const client = new DLMClient(config);
29
+ * const input = { // UntagResourceRequest
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * TagKeys: [ // TagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -28,6 +28,142 @@ export interface UpdateLifecyclePolicyCommandOutput extends UpdateLifecyclePolic
28
28
  * import { DLMClient, UpdateLifecyclePolicyCommand } from "@aws-sdk/client-dlm"; // ES Modules import
29
29
  * // const { DLMClient, UpdateLifecyclePolicyCommand } = require("@aws-sdk/client-dlm"); // CommonJS import
30
30
  * const client = new DLMClient(config);
31
+ * const input = { // UpdateLifecyclePolicyRequest
32
+ * PolicyId: "STRING_VALUE", // required
33
+ * ExecutionRoleArn: "STRING_VALUE",
34
+ * State: "ENABLED" || "DISABLED",
35
+ * Description: "STRING_VALUE",
36
+ * PolicyDetails: { // PolicyDetails
37
+ * PolicyType: "EBS_SNAPSHOT_MANAGEMENT" || "IMAGE_MANAGEMENT" || "EVENT_BASED_POLICY",
38
+ * ResourceTypes: [ // ResourceTypeValuesList
39
+ * "VOLUME" || "INSTANCE",
40
+ * ],
41
+ * ResourceLocations: [ // ResourceLocationList
42
+ * "CLOUD" || "OUTPOST",
43
+ * ],
44
+ * TargetTags: [ // TargetTagList
45
+ * { // Tag
46
+ * Key: "STRING_VALUE", // required
47
+ * Value: "STRING_VALUE", // required
48
+ * },
49
+ * ],
50
+ * Schedules: [ // ScheduleList
51
+ * { // Schedule
52
+ * Name: "STRING_VALUE",
53
+ * CopyTags: true || false,
54
+ * TagsToAdd: [ // TagsToAddList
55
+ * {
56
+ * Key: "STRING_VALUE", // required
57
+ * Value: "STRING_VALUE", // required
58
+ * },
59
+ * ],
60
+ * VariableTags: [ // VariableTagsList
61
+ * {
62
+ * Key: "STRING_VALUE", // required
63
+ * Value: "STRING_VALUE", // required
64
+ * },
65
+ * ],
66
+ * CreateRule: { // CreateRule
67
+ * Location: "CLOUD" || "OUTPOST_LOCAL",
68
+ * Interval: Number("int"),
69
+ * IntervalUnit: "HOURS",
70
+ * Times: [ // TimesList
71
+ * "STRING_VALUE",
72
+ * ],
73
+ * CronExpression: "STRING_VALUE",
74
+ * },
75
+ * RetainRule: { // RetainRule
76
+ * Count: Number("int"),
77
+ * Interval: Number("int"),
78
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
79
+ * },
80
+ * FastRestoreRule: { // FastRestoreRule
81
+ * Count: Number("int"),
82
+ * Interval: Number("int"),
83
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
84
+ * AvailabilityZones: [ // AvailabilityZoneList // required
85
+ * "STRING_VALUE",
86
+ * ],
87
+ * },
88
+ * CrossRegionCopyRules: [ // CrossRegionCopyRules
89
+ * { // CrossRegionCopyRule
90
+ * TargetRegion: "STRING_VALUE",
91
+ * Target: "STRING_VALUE",
92
+ * Encrypted: true || false, // required
93
+ * CmkArn: "STRING_VALUE",
94
+ * CopyTags: true || false,
95
+ * RetainRule: { // CrossRegionCopyRetainRule
96
+ * Interval: Number("int"),
97
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
98
+ * },
99
+ * DeprecateRule: { // CrossRegionCopyDeprecateRule
100
+ * Interval: Number("int"),
101
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
102
+ * },
103
+ * },
104
+ * ],
105
+ * ShareRules: [ // ShareRules
106
+ * { // ShareRule
107
+ * TargetAccounts: [ // ShareTargetAccountList // required
108
+ * "STRING_VALUE",
109
+ * ],
110
+ * UnshareInterval: Number("int"),
111
+ * UnshareIntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
112
+ * },
113
+ * ],
114
+ * DeprecateRule: { // DeprecateRule
115
+ * Count: Number("int"),
116
+ * Interval: Number("int"),
117
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
118
+ * },
119
+ * ArchiveRule: { // ArchiveRule
120
+ * RetainRule: { // ArchiveRetainRule
121
+ * RetentionArchiveTier: { // RetentionArchiveTier
122
+ * Count: Number("int"),
123
+ * Interval: Number("int"),
124
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
125
+ * },
126
+ * },
127
+ * },
128
+ * },
129
+ * ],
130
+ * Parameters: { // Parameters
131
+ * ExcludeBootVolume: true || false,
132
+ * NoReboot: true || false,
133
+ * ExcludeDataVolumeTags: [ // ExcludeDataVolumeTagList
134
+ * "<Tag>",
135
+ * ],
136
+ * },
137
+ * EventSource: { // EventSource
138
+ * Type: "MANAGED_CWE", // required
139
+ * Parameters: { // EventParameters
140
+ * EventType: "shareSnapshot", // required
141
+ * SnapshotOwner: [ // SnapshotOwnerList // required
142
+ * "STRING_VALUE",
143
+ * ],
144
+ * DescriptionRegex: "STRING_VALUE", // required
145
+ * },
146
+ * },
147
+ * Actions: [ // ActionList
148
+ * { // Action
149
+ * Name: "STRING_VALUE", // required
150
+ * CrossRegionCopy: [ // CrossRegionCopyActionList // required
151
+ * { // CrossRegionCopyAction
152
+ * Target: "STRING_VALUE", // required
153
+ * EncryptionConfiguration: { // EncryptionConfiguration
154
+ * Encrypted: true || false, // required
155
+ * CmkArn: "STRING_VALUE",
156
+ * },
157
+ * RetainRule: {
158
+ * Interval: Number("int"),
159
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
160
+ * },
161
+ * },
162
+ * ],
163
+ * },
164
+ * ],
165
+ * },
166
+ * };
31
167
  * const command = new UpdateLifecyclePolicyCommand(input);
32
168
  * const response = await client.send(command);
33
169
  * ```
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.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },