@aws-sdk/client-dlm 3.321.1 → 3.326.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.
@@ -167,6 +167,10 @@ export interface CreateLifecyclePolicyCommandOutput extends CreateLifecyclePolic
167
167
  * };
168
168
  * const command = new CreateLifecyclePolicyCommand(input);
169
169
  * const response = await client.send(command);
170
+ * // { // CreateLifecyclePolicyResponse
171
+ * // PolicyId: "STRING_VALUE",
172
+ * // };
173
+ *
170
174
  * ```
171
175
  *
172
176
  * @param CreateLifecyclePolicyCommandInput - {@link CreateLifecyclePolicyCommandInput}
@@ -185,6 +189,8 @@ export interface CreateLifecyclePolicyCommandOutput extends CreateLifecyclePolic
185
189
  * @throws {@link LimitExceededException} (client fault)
186
190
  * <p>The request failed because a limit was exceeded.</p>
187
191
  *
192
+ * @throws {@link DLMServiceException}
193
+ * <p>Base exception class for all service exceptions from DLM service.</p>
188
194
  *
189
195
  */
190
196
  export declare class CreateLifecyclePolicyCommand extends $Command<CreateLifecyclePolicyCommandInput, CreateLifecyclePolicyCommandOutput, DLMClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolic
34
34
  * };
35
35
  * const command = new DeleteLifecyclePolicyCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param DeleteLifecyclePolicyCommandInput - {@link DeleteLifecyclePolicyCommandInput}
@@ -51,6 +53,8 @@ export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolic
51
53
  * @throws {@link ResourceNotFoundException} (client fault)
52
54
  * <p>A requested resource was not found.</p>
53
55
  *
56
+ * @throws {@link DLMServiceException}
57
+ * <p>Base exception class for all service exceptions from DLM service.</p>
54
58
  *
55
59
  */
56
60
  export declare class DeleteLifecyclePolicyCommand extends $Command<DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput, DLMClientResolvedConfig> {
@@ -44,6 +44,20 @@ export interface GetLifecyclePoliciesCommandOutput extends GetLifecyclePoliciesR
44
44
  * };
45
45
  * const command = new GetLifecyclePoliciesCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // GetLifecyclePoliciesResponse
48
+ * // Policies: [ // LifecyclePolicySummaryList
49
+ * // { // LifecyclePolicySummary
50
+ * // PolicyId: "STRING_VALUE",
51
+ * // Description: "STRING_VALUE",
52
+ * // State: "ENABLED" || "DISABLED" || "ERROR",
53
+ * // Tags: { // TagMap
54
+ * // "<keys>": "STRING_VALUE",
55
+ * // },
56
+ * // PolicyType: "EBS_SNAPSHOT_MANAGEMENT" || "IMAGE_MANAGEMENT" || "EVENT_BASED_POLICY",
57
+ * // },
58
+ * // ],
59
+ * // };
60
+ *
47
61
  * ```
48
62
  *
49
63
  * @param GetLifecyclePoliciesCommandInput - {@link GetLifecyclePoliciesCommandInput}
@@ -65,6 +79,8 @@ export interface GetLifecyclePoliciesCommandOutput extends GetLifecyclePoliciesR
65
79
  * @throws {@link ResourceNotFoundException} (client fault)
66
80
  * <p>A requested resource was not found.</p>
67
81
  *
82
+ * @throws {@link DLMServiceException}
83
+ * <p>Base exception class for all service exceptions from DLM service.</p>
68
84
  *
69
85
  */
70
86
  export declare class GetLifecyclePoliciesCommand extends $Command<GetLifecyclePoliciesCommandInput, GetLifecyclePoliciesCommandOutput, DLMClientResolvedConfig> {
@@ -31,6 +31,152 @@ export interface GetLifecyclePolicyCommandOutput extends GetLifecyclePolicyRespo
31
31
  * };
32
32
  * const command = new GetLifecyclePolicyCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetLifecyclePolicyResponse
35
+ * // Policy: { // LifecyclePolicy
36
+ * // PolicyId: "STRING_VALUE",
37
+ * // Description: "STRING_VALUE",
38
+ * // State: "ENABLED" || "DISABLED" || "ERROR",
39
+ * // StatusMessage: "STRING_VALUE",
40
+ * // ExecutionRoleArn: "STRING_VALUE",
41
+ * // DateCreated: new Date("TIMESTAMP"),
42
+ * // DateModified: new Date("TIMESTAMP"),
43
+ * // PolicyDetails: { // PolicyDetails
44
+ * // PolicyType: "EBS_SNAPSHOT_MANAGEMENT" || "IMAGE_MANAGEMENT" || "EVENT_BASED_POLICY",
45
+ * // ResourceTypes: [ // ResourceTypeValuesList
46
+ * // "VOLUME" || "INSTANCE",
47
+ * // ],
48
+ * // ResourceLocations: [ // ResourceLocationList
49
+ * // "CLOUD" || "OUTPOST",
50
+ * // ],
51
+ * // TargetTags: [ // TargetTagList
52
+ * // { // Tag
53
+ * // Key: "STRING_VALUE", // required
54
+ * // Value: "STRING_VALUE", // required
55
+ * // },
56
+ * // ],
57
+ * // Schedules: [ // ScheduleList
58
+ * // { // Schedule
59
+ * // Name: "STRING_VALUE",
60
+ * // CopyTags: true || false,
61
+ * // TagsToAdd: [ // TagsToAddList
62
+ * // {
63
+ * // Key: "STRING_VALUE", // required
64
+ * // Value: "STRING_VALUE", // required
65
+ * // },
66
+ * // ],
67
+ * // VariableTags: [ // VariableTagsList
68
+ * // {
69
+ * // Key: "STRING_VALUE", // required
70
+ * // Value: "STRING_VALUE", // required
71
+ * // },
72
+ * // ],
73
+ * // CreateRule: { // CreateRule
74
+ * // Location: "CLOUD" || "OUTPOST_LOCAL",
75
+ * // Interval: Number("int"),
76
+ * // IntervalUnit: "HOURS",
77
+ * // Times: [ // TimesList
78
+ * // "STRING_VALUE",
79
+ * // ],
80
+ * // CronExpression: "STRING_VALUE",
81
+ * // },
82
+ * // RetainRule: { // RetainRule
83
+ * // Count: Number("int"),
84
+ * // Interval: Number("int"),
85
+ * // IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
86
+ * // },
87
+ * // FastRestoreRule: { // FastRestoreRule
88
+ * // Count: Number("int"),
89
+ * // Interval: Number("int"),
90
+ * // IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
91
+ * // AvailabilityZones: [ // AvailabilityZoneList // required
92
+ * // "STRING_VALUE",
93
+ * // ],
94
+ * // },
95
+ * // CrossRegionCopyRules: [ // CrossRegionCopyRules
96
+ * // { // CrossRegionCopyRule
97
+ * // TargetRegion: "STRING_VALUE",
98
+ * // Target: "STRING_VALUE",
99
+ * // Encrypted: true || false, // required
100
+ * // CmkArn: "STRING_VALUE",
101
+ * // CopyTags: true || false,
102
+ * // RetainRule: { // CrossRegionCopyRetainRule
103
+ * // Interval: Number("int"),
104
+ * // IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
105
+ * // },
106
+ * // DeprecateRule: { // CrossRegionCopyDeprecateRule
107
+ * // Interval: Number("int"),
108
+ * // IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
109
+ * // },
110
+ * // },
111
+ * // ],
112
+ * // ShareRules: [ // ShareRules
113
+ * // { // ShareRule
114
+ * // TargetAccounts: [ // ShareTargetAccountList // required
115
+ * // "STRING_VALUE",
116
+ * // ],
117
+ * // UnshareInterval: Number("int"),
118
+ * // UnshareIntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
119
+ * // },
120
+ * // ],
121
+ * // DeprecateRule: { // DeprecateRule
122
+ * // Count: Number("int"),
123
+ * // Interval: Number("int"),
124
+ * // IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
125
+ * // },
126
+ * // ArchiveRule: { // ArchiveRule
127
+ * // RetainRule: { // ArchiveRetainRule
128
+ * // RetentionArchiveTier: { // RetentionArchiveTier
129
+ * // Count: Number("int"),
130
+ * // Interval: Number("int"),
131
+ * // IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
132
+ * // },
133
+ * // },
134
+ * // },
135
+ * // },
136
+ * // ],
137
+ * // Parameters: { // Parameters
138
+ * // ExcludeBootVolume: true || false,
139
+ * // NoReboot: true || false,
140
+ * // ExcludeDataVolumeTags: [ // ExcludeDataVolumeTagList
141
+ * // "<Tag>",
142
+ * // ],
143
+ * // },
144
+ * // EventSource: { // EventSource
145
+ * // Type: "MANAGED_CWE", // required
146
+ * // Parameters: { // EventParameters
147
+ * // EventType: "shareSnapshot", // required
148
+ * // SnapshotOwner: [ // SnapshotOwnerList // required
149
+ * // "STRING_VALUE",
150
+ * // ],
151
+ * // DescriptionRegex: "STRING_VALUE", // required
152
+ * // },
153
+ * // },
154
+ * // Actions: [ // ActionList
155
+ * // { // Action
156
+ * // Name: "STRING_VALUE", // required
157
+ * // CrossRegionCopy: [ // CrossRegionCopyActionList // required
158
+ * // { // CrossRegionCopyAction
159
+ * // Target: "STRING_VALUE", // required
160
+ * // EncryptionConfiguration: { // EncryptionConfiguration
161
+ * // Encrypted: true || false, // required
162
+ * // CmkArn: "STRING_VALUE",
163
+ * // },
164
+ * // RetainRule: {
165
+ * // Interval: Number("int"),
166
+ * // IntervalUnit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
167
+ * // },
168
+ * // },
169
+ * // ],
170
+ * // },
171
+ * // ],
172
+ * // },
173
+ * // Tags: { // TagMap
174
+ * // "<keys>": "STRING_VALUE",
175
+ * // },
176
+ * // PolicyArn: "STRING_VALUE",
177
+ * // },
178
+ * // };
179
+ *
34
180
  * ```
35
181
  *
36
182
  * @param GetLifecyclePolicyCommandInput - {@link GetLifecyclePolicyCommandInput}
@@ -48,6 +194,8 @@ export interface GetLifecyclePolicyCommandOutput extends GetLifecyclePolicyRespo
48
194
  * @throws {@link ResourceNotFoundException} (client fault)
49
195
  * <p>A requested resource was not found.</p>
50
196
  *
197
+ * @throws {@link DLMServiceException}
198
+ * <p>Base exception class for all service exceptions from DLM service.</p>
51
199
  *
52
200
  */
53
201
  export declare class GetLifecyclePolicyCommand extends $Command<GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput, DLMClientResolvedConfig> {
@@ -31,6 +31,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceResponse
35
+ * // Tags: { // TagMap
36
+ * // "<keys>": "STRING_VALUE",
37
+ * // },
38
+ * // };
39
+ *
34
40
  * ```
35
41
  *
36
42
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -49,6 +55,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
49
55
  * @throws {@link ResourceNotFoundException} (client fault)
50
56
  * <p>A requested resource was not found.</p>
51
57
  *
58
+ * @throws {@link DLMServiceException}
59
+ * <p>Base exception class for all service exceptions from DLM service.</p>
52
60
  *
53
61
  */
54
62
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, DLMClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
34
34
  * };
35
35
  * const command = new TagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -52,6 +54,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
52
54
  * @throws {@link ResourceNotFoundException} (client fault)
53
55
  * <p>A requested resource was not found.</p>
54
56
  *
57
+ * @throws {@link DLMServiceException}
58
+ * <p>Base exception class for all service exceptions from DLM service.</p>
55
59
  *
56
60
  */
57
61
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, DLMClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -52,6 +54,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
52
54
  * @throws {@link ResourceNotFoundException} (client fault)
53
55
  * <p>A requested resource was not found.</p>
54
56
  *
57
+ * @throws {@link DLMServiceException}
58
+ * <p>Base exception class for all service exceptions from DLM service.</p>
55
59
  *
56
60
  */
57
61
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, DLMClientResolvedConfig> {
@@ -166,6 +166,8 @@ export interface UpdateLifecyclePolicyCommandOutput extends UpdateLifecyclePolic
166
166
  * };
167
167
  * const command = new UpdateLifecyclePolicyCommand(input);
168
168
  * const response = await client.send(command);
169
+ * // {};
170
+ *
169
171
  * ```
170
172
  *
171
173
  * @param UpdateLifecyclePolicyCommandInput - {@link UpdateLifecyclePolicyCommandInput}
@@ -187,6 +189,8 @@ export interface UpdateLifecyclePolicyCommandOutput extends UpdateLifecyclePolic
187
189
  * @throws {@link ResourceNotFoundException} (client fault)
188
190
  * <p>A requested resource was not found.</p>
189
191
  *
192
+ * @throws {@link DLMServiceException}
193
+ * <p>Base exception class for all service exceptions from DLM service.</p>
190
194
  *
191
195
  */
192
196
  export declare class UpdateLifecyclePolicyCommand extends $Command<UpdateLifecyclePolicyCommandInput, UpdateLifecyclePolicyCommandOutput, DLMClientResolvedConfig> {
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.321.1",
4
+ "version": "3.326.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,33 +21,33 @@
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.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",