@aws-sdk/client-dlm 3.299.0 → 3.300.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,147 @@ 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 = {
31
+ * ExecutionRoleArn: "STRING_VALUE", // required
32
+ * Description: "STRING_VALUE", // required
33
+ * State: "ENABLED" || "DISABLED", // required
34
+ * PolicyDetails: {
35
+ * PolicyType: "EBS_SNAPSHOT_MANAGEMENT" || "IMAGE_MANAGEMENT" || "EVENT_BASED_POLICY",
36
+ * ResourceTypes: [
37
+ * "VOLUME" || "INSTANCE",
38
+ * ],
39
+ * ResourceLocations: [
40
+ * "CLOUD" || "OUTPOST",
41
+ * ],
42
+ * TargetTags: [
43
+ * {
44
+ * Key: "STRING_VALUE", // required
45
+ * Value: "STRING_VALUE", // required
46
+ * },
47
+ * ],
48
+ * Schedules: [
49
+ * {
50
+ * Name: "STRING_VALUE",
51
+ * CopyTags: true || false,
52
+ * TagsToAdd: [
53
+ * {
54
+ * Key: "STRING_VALUE", // required
55
+ * Value: "STRING_VALUE", // required
56
+ * },
57
+ * ],
58
+ * VariableTags: [
59
+ * {
60
+ * Key: "STRING_VALUE", // required
61
+ * Value: "STRING_VALUE", // required
62
+ * },
63
+ * ],
64
+ * CreateRule: {
65
+ * Location: "CLOUD" || "OUTPOST_LOCAL",
66
+ * Interval: Number("int"),
67
+ * IntervalUnit: "HOURS",
68
+ * Times: [
69
+ * "STRING_VALUE",
70
+ * ],
71
+ * CronExpression: "STRING_VALUE",
72
+ * },
73
+ * RetainRule: {
74
+ * Count: Number("int"),
75
+ * Interval: Number("int"),
76
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
77
+ * },
78
+ * FastRestoreRule: {
79
+ * Count: Number("int"),
80
+ * Interval: Number("int"),
81
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
82
+ * AvailabilityZones: [ // required
83
+ * "STRING_VALUE",
84
+ * ],
85
+ * },
86
+ * CrossRegionCopyRules: [
87
+ * {
88
+ * TargetRegion: "STRING_VALUE",
89
+ * Target: "STRING_VALUE",
90
+ * Encrypted: true || false, // required
91
+ * CmkArn: "STRING_VALUE",
92
+ * CopyTags: true || false,
93
+ * RetainRule: {
94
+ * Interval: Number("int"),
95
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
96
+ * },
97
+ * DeprecateRule: {
98
+ * Interval: Number("int"),
99
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
100
+ * },
101
+ * },
102
+ * ],
103
+ * ShareRules: [
104
+ * {
105
+ * TargetAccounts: [ // required
106
+ * "STRING_VALUE",
107
+ * ],
108
+ * UnshareInterval: Number("int"),
109
+ * UnshareIntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
110
+ * },
111
+ * ],
112
+ * DeprecateRule: {
113
+ * Count: Number("int"),
114
+ * Interval: Number("int"),
115
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
116
+ * },
117
+ * ArchiveRule: {
118
+ * RetainRule: {
119
+ * RetentionArchiveTier: {
120
+ * Count: Number("int"),
121
+ * Interval: Number("int"),
122
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
123
+ * },
124
+ * },
125
+ * },
126
+ * },
127
+ * ],
128
+ * Parameters: {
129
+ * ExcludeBootVolume: true || false,
130
+ * NoReboot: true || false,
131
+ * ExcludeDataVolumeTags: [
132
+ * {
133
+ * Key: "<Tag>",
134
+ * Value: "<Tag>",
135
+ * },
136
+ * ],
137
+ * },
138
+ * EventSource: {
139
+ * Type: "MANAGED_CWE", // required
140
+ * Parameters: {
141
+ * EventType: "shareSnapshot", // required
142
+ * SnapshotOwner: [ // required
143
+ * "STRING_VALUE",
144
+ * ],
145
+ * DescriptionRegex: "STRING_VALUE", // required
146
+ * },
147
+ * },
148
+ * Actions: [
149
+ * {
150
+ * Name: "STRING_VALUE", // required
151
+ * CrossRegionCopy: [ // required
152
+ * {
153
+ * Target: "STRING_VALUE", // required
154
+ * EncryptionConfiguration: {
155
+ * Encrypted: true || false, // required
156
+ * CmkArn: "STRING_VALUE",
157
+ * },
158
+ * RetainRule: {
159
+ * Interval: Number("int"),
160
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
161
+ * },
162
+ * },
163
+ * ],
164
+ * },
165
+ * ],
166
+ * },
167
+ * Tags: {
168
+ * "<keys>": "STRING_VALUE",
169
+ * },
170
+ * };
30
171
  * const command = new CreateLifecyclePolicyCommand(input);
31
172
  * const response = await client.send(command);
32
173
  * ```
@@ -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 = {
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 = {
31
+ * PolicyIds: [
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * State: "ENABLED" || "DISABLED" || "ERROR",
35
+ * ResourceTypes: [
36
+ * "VOLUME" || "INSTANCE",
37
+ * ],
38
+ * TargetTags: [
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * TagsToAdd: [
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 = {
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 = {
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 = {
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * Tags: { // 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 = {
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * TagKeys: [ // 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,145 @@ 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 = {
32
+ * PolicyId: "STRING_VALUE", // required
33
+ * ExecutionRoleArn: "STRING_VALUE",
34
+ * State: "ENABLED" || "DISABLED",
35
+ * Description: "STRING_VALUE",
36
+ * PolicyDetails: {
37
+ * PolicyType: "EBS_SNAPSHOT_MANAGEMENT" || "IMAGE_MANAGEMENT" || "EVENT_BASED_POLICY",
38
+ * ResourceTypes: [
39
+ * "VOLUME" || "INSTANCE",
40
+ * ],
41
+ * ResourceLocations: [
42
+ * "CLOUD" || "OUTPOST",
43
+ * ],
44
+ * TargetTags: [
45
+ * {
46
+ * Key: "STRING_VALUE", // required
47
+ * Value: "STRING_VALUE", // required
48
+ * },
49
+ * ],
50
+ * Schedules: [
51
+ * {
52
+ * Name: "STRING_VALUE",
53
+ * CopyTags: true || false,
54
+ * TagsToAdd: [
55
+ * {
56
+ * Key: "STRING_VALUE", // required
57
+ * Value: "STRING_VALUE", // required
58
+ * },
59
+ * ],
60
+ * VariableTags: [
61
+ * {
62
+ * Key: "STRING_VALUE", // required
63
+ * Value: "STRING_VALUE", // required
64
+ * },
65
+ * ],
66
+ * CreateRule: {
67
+ * Location: "CLOUD" || "OUTPOST_LOCAL",
68
+ * Interval: Number("int"),
69
+ * IntervalUnit: "HOURS",
70
+ * Times: [
71
+ * "STRING_VALUE",
72
+ * ],
73
+ * CronExpression: "STRING_VALUE",
74
+ * },
75
+ * RetainRule: {
76
+ * Count: Number("int"),
77
+ * Interval: Number("int"),
78
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
79
+ * },
80
+ * FastRestoreRule: {
81
+ * Count: Number("int"),
82
+ * Interval: Number("int"),
83
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
84
+ * AvailabilityZones: [ // required
85
+ * "STRING_VALUE",
86
+ * ],
87
+ * },
88
+ * CrossRegionCopyRules: [
89
+ * {
90
+ * TargetRegion: "STRING_VALUE",
91
+ * Target: "STRING_VALUE",
92
+ * Encrypted: true || false, // required
93
+ * CmkArn: "STRING_VALUE",
94
+ * CopyTags: true || false,
95
+ * RetainRule: {
96
+ * Interval: Number("int"),
97
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
98
+ * },
99
+ * DeprecateRule: {
100
+ * Interval: Number("int"),
101
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
102
+ * },
103
+ * },
104
+ * ],
105
+ * ShareRules: [
106
+ * {
107
+ * TargetAccounts: [ // required
108
+ * "STRING_VALUE",
109
+ * ],
110
+ * UnshareInterval: Number("int"),
111
+ * UnshareIntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
112
+ * },
113
+ * ],
114
+ * DeprecateRule: {
115
+ * Count: Number("int"),
116
+ * Interval: Number("int"),
117
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
118
+ * },
119
+ * ArchiveRule: {
120
+ * RetainRule: {
121
+ * RetentionArchiveTier: {
122
+ * Count: Number("int"),
123
+ * Interval: Number("int"),
124
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
125
+ * },
126
+ * },
127
+ * },
128
+ * },
129
+ * ],
130
+ * Parameters: {
131
+ * ExcludeBootVolume: true || false,
132
+ * NoReboot: true || false,
133
+ * ExcludeDataVolumeTags: [
134
+ * {
135
+ * Key: "<Tag>",
136
+ * Value: "<Tag>",
137
+ * },
138
+ * ],
139
+ * },
140
+ * EventSource: {
141
+ * Type: "MANAGED_CWE", // required
142
+ * Parameters: {
143
+ * EventType: "shareSnapshot", // required
144
+ * SnapshotOwner: [ // required
145
+ * "STRING_VALUE",
146
+ * ],
147
+ * DescriptionRegex: "STRING_VALUE", // required
148
+ * },
149
+ * },
150
+ * Actions: [
151
+ * {
152
+ * Name: "STRING_VALUE", // required
153
+ * CrossRegionCopy: [ // required
154
+ * {
155
+ * Target: "STRING_VALUE", // required
156
+ * EncryptionConfiguration: {
157
+ * Encrypted: true || false, // required
158
+ * CmkArn: "STRING_VALUE",
159
+ * },
160
+ * RetainRule: {
161
+ * Interval: Number("int"),
162
+ * IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
163
+ * },
164
+ * },
165
+ * ],
166
+ * },
167
+ * ],
168
+ * },
169
+ * };
31
170
  * const command = new UpdateLifecyclePolicyCommand(input);
32
171
  * const response = await client.send(command);
33
172
  * ```
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.300.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.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.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
  },