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