@aws-sdk/client-dlm 3.476.0 → 3.477.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.
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_UpdateLifecyclePolicyCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListTagsForResourceCommand = exports.de_GetLifecyclePolicyCommand = exports.de_GetLifecyclePoliciesCommand = exports.de_DeleteLifecyclePolicyCommand = exports.de_CreateLifecyclePolicyCommand = exports.se_UpdateLifecyclePolicyCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListTagsForResourceCommand = exports.se_GetLifecyclePolicyCommand = exports.se_GetLifecyclePoliciesCommand = exports.se_DeleteLifecyclePolicyCommand = exports.se_CreateLifecyclePolicyCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const DLMServiceException_1 = require("../models/DLMServiceException");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const se_CreateLifecyclePolicyCommand = async (input, context) => {
|
|
9
|
-
const
|
|
9
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
10
10
|
const headers = {
|
|
11
11
|
"content-type": "application/json",
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
b.bp("/policies");
|
|
14
14
|
let body;
|
|
15
15
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
16
16
|
CopyTags: [],
|
|
@@ -26,149 +26,95 @@ const se_CreateLifecyclePolicyCommand = async (input, context) => {
|
|
|
26
26
|
State: [],
|
|
27
27
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
28
28
|
}));
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
hostname,
|
|
32
|
-
port,
|
|
33
|
-
method: "POST",
|
|
34
|
-
headers,
|
|
35
|
-
path: resolvedPath,
|
|
36
|
-
body,
|
|
37
|
-
});
|
|
29
|
+
b.m("POST").h(headers).b(body);
|
|
30
|
+
return b.build();
|
|
38
31
|
};
|
|
39
32
|
exports.se_CreateLifecyclePolicyCommand = se_CreateLifecyclePolicyCommand;
|
|
40
33
|
const se_DeleteLifecyclePolicyCommand = async (input, context) => {
|
|
41
|
-
const
|
|
34
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
42
35
|
const headers = {};
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
b.bp("/policies/{PolicyId}");
|
|
37
|
+
b.p("PolicyId", () => input.PolicyId, "{PolicyId}", false);
|
|
45
38
|
let body;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
hostname,
|
|
49
|
-
port,
|
|
50
|
-
method: "DELETE",
|
|
51
|
-
headers,
|
|
52
|
-
path: resolvedPath,
|
|
53
|
-
body,
|
|
54
|
-
});
|
|
39
|
+
b.m("DELETE").h(headers).b(body);
|
|
40
|
+
return b.build();
|
|
55
41
|
};
|
|
56
42
|
exports.se_DeleteLifecyclePolicyCommand = se_DeleteLifecyclePolicyCommand;
|
|
57
43
|
const se_GetLifecyclePoliciesCommand = async (input, context) => {
|
|
58
|
-
const
|
|
44
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
59
45
|
const headers = {};
|
|
60
|
-
|
|
46
|
+
b.bp("/policies");
|
|
61
47
|
const query = (0, smithy_client_1.map)({
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
],
|
|
68
|
-
targetTags: [() => input.TargetTags !== void 0, () => (input.TargetTags || []).map((_entry) => _entry)],
|
|
69
|
-
tagsToAdd: [() => input.TagsToAdd !== void 0, () => (input.TagsToAdd || []).map((_entry) => _entry)],
|
|
70
|
-
defaultPolicyType: [, input.DefaultPolicyType],
|
|
48
|
+
[_pI]: [() => input.PolicyIds !== void 0, () => (input[_PI] || []).map((_entry) => _entry)],
|
|
49
|
+
[_s]: [, input[_S]],
|
|
50
|
+
[_rT]: [() => input.ResourceTypes !== void 0, () => (input[_RT] || []).map((_entry) => _entry)],
|
|
51
|
+
[_tT]: [() => input.TargetTags !== void 0, () => (input[_TT] || []).map((_entry) => _entry)],
|
|
52
|
+
[_tTA]: [() => input.TagsToAdd !== void 0, () => (input[_TTA] || []).map((_entry) => _entry)],
|
|
53
|
+
[_dPT]: [, input[_DPT]],
|
|
71
54
|
});
|
|
72
55
|
let body;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
hostname,
|
|
76
|
-
port,
|
|
77
|
-
method: "GET",
|
|
78
|
-
headers,
|
|
79
|
-
path: resolvedPath,
|
|
80
|
-
query,
|
|
81
|
-
body,
|
|
82
|
-
});
|
|
56
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
57
|
+
return b.build();
|
|
83
58
|
};
|
|
84
59
|
exports.se_GetLifecyclePoliciesCommand = se_GetLifecyclePoliciesCommand;
|
|
85
60
|
const se_GetLifecyclePolicyCommand = async (input, context) => {
|
|
86
|
-
const
|
|
61
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
87
62
|
const headers = {};
|
|
88
|
-
|
|
89
|
-
|
|
63
|
+
b.bp("/policies/{PolicyId}");
|
|
64
|
+
b.p("PolicyId", () => input.PolicyId, "{PolicyId}", false);
|
|
90
65
|
let body;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
hostname,
|
|
94
|
-
port,
|
|
95
|
-
method: "GET",
|
|
96
|
-
headers,
|
|
97
|
-
path: resolvedPath,
|
|
98
|
-
body,
|
|
99
|
-
});
|
|
66
|
+
b.m("GET").h(headers).b(body);
|
|
67
|
+
return b.build();
|
|
100
68
|
};
|
|
101
69
|
exports.se_GetLifecyclePolicyCommand = se_GetLifecyclePolicyCommand;
|
|
102
70
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
103
|
-
const
|
|
71
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
104
72
|
const headers = {};
|
|
105
|
-
|
|
106
|
-
|
|
73
|
+
b.bp("/tags/{ResourceArn}");
|
|
74
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
107
75
|
let body;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
hostname,
|
|
111
|
-
port,
|
|
112
|
-
method: "GET",
|
|
113
|
-
headers,
|
|
114
|
-
path: resolvedPath,
|
|
115
|
-
body,
|
|
116
|
-
});
|
|
76
|
+
b.m("GET").h(headers).b(body);
|
|
77
|
+
return b.build();
|
|
117
78
|
};
|
|
118
79
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
119
80
|
const se_TagResourceCommand = async (input, context) => {
|
|
120
|
-
const
|
|
81
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
121
82
|
const headers = {
|
|
122
83
|
"content-type": "application/json",
|
|
123
84
|
};
|
|
124
|
-
|
|
125
|
-
|
|
85
|
+
b.bp("/tags/{ResourceArn}");
|
|
86
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
126
87
|
let body;
|
|
127
88
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
128
89
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
129
90
|
}));
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
hostname,
|
|
133
|
-
port,
|
|
134
|
-
method: "POST",
|
|
135
|
-
headers,
|
|
136
|
-
path: resolvedPath,
|
|
137
|
-
body,
|
|
138
|
-
});
|
|
91
|
+
b.m("POST").h(headers).b(body);
|
|
92
|
+
return b.build();
|
|
139
93
|
};
|
|
140
94
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
141
95
|
const se_UntagResourceCommand = async (input, context) => {
|
|
142
|
-
const
|
|
96
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
143
97
|
const headers = {};
|
|
144
|
-
|
|
145
|
-
|
|
98
|
+
b.bp("/tags/{ResourceArn}");
|
|
99
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
146
100
|
const query = (0, smithy_client_1.map)({
|
|
147
|
-
|
|
101
|
+
[_tK]: [
|
|
148
102
|
(0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
149
|
-
() => (input
|
|
103
|
+
() => (input[_TK] || []).map((_entry) => _entry),
|
|
150
104
|
],
|
|
151
105
|
});
|
|
152
106
|
let body;
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
hostname,
|
|
156
|
-
port,
|
|
157
|
-
method: "DELETE",
|
|
158
|
-
headers,
|
|
159
|
-
path: resolvedPath,
|
|
160
|
-
query,
|
|
161
|
-
body,
|
|
162
|
-
});
|
|
107
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
108
|
+
return b.build();
|
|
163
109
|
};
|
|
164
110
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
165
111
|
const se_UpdateLifecyclePolicyCommand = async (input, context) => {
|
|
166
|
-
const
|
|
112
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
167
113
|
const headers = {
|
|
168
114
|
"content-type": "application/json",
|
|
169
115
|
};
|
|
170
|
-
|
|
171
|
-
|
|
116
|
+
b.bp("/policies/{PolicyId}");
|
|
117
|
+
b.p("PolicyId", () => input.PolicyId, "{PolicyId}", false);
|
|
172
118
|
let body;
|
|
173
119
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
174
120
|
CopyTags: [],
|
|
@@ -182,15 +128,8 @@ const se_UpdateLifecyclePolicyCommand = async (input, context) => {
|
|
|
182
128
|
RetainInterval: [],
|
|
183
129
|
State: [],
|
|
184
130
|
}));
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
hostname,
|
|
188
|
-
port,
|
|
189
|
-
method: "PATCH",
|
|
190
|
-
headers,
|
|
191
|
-
path: resolvedPath,
|
|
192
|
-
body,
|
|
193
|
-
});
|
|
131
|
+
b.m("PATCH").h(headers).b(body);
|
|
132
|
+
return b.build();
|
|
194
133
|
};
|
|
195
134
|
exports.se_UpdateLifecyclePolicyCommand = se_UpdateLifecyclePolicyCommand;
|
|
196
135
|
const de_CreateLifecyclePolicyCommand = async (output, context) => {
|
|
@@ -592,6 +531,20 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
592
531
|
value !== "" &&
|
|
593
532
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
594
533
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
534
|
+
const _DPT = "DefaultPolicyType";
|
|
535
|
+
const _PI = "PolicyIds";
|
|
536
|
+
const _RT = "ResourceTypes";
|
|
537
|
+
const _S = "State";
|
|
538
|
+
const _TK = "TagKeys";
|
|
539
|
+
const _TT = "TargetTags";
|
|
540
|
+
const _TTA = "TagsToAdd";
|
|
541
|
+
const _dPT = "defaultPolicyType";
|
|
542
|
+
const _pI = "policyIds";
|
|
543
|
+
const _rT = "resourceTypes";
|
|
544
|
+
const _s = "state";
|
|
545
|
+
const _tK = "tagKeys";
|
|
546
|
+
const _tT = "targetTags";
|
|
547
|
+
const _tTA = "tagsToAdd";
|
|
595
548
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
596
549
|
if (encoded.length) {
|
|
597
550
|
return JSON.parse(encoded);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset,
|
|
1
|
+
import { requestBuilder as rb } from "@smithy/core";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { DLMServiceException as __BaseException } from "../models/DLMServiceException";
|
|
4
4
|
import { InternalServerException, InvalidRequestException, LimitExceededException, ResourceNotFoundException, } from "../models/models_0";
|
|
5
5
|
export const se_CreateLifecyclePolicyCommand = async (input, context) => {
|
|
6
|
-
const
|
|
6
|
+
const b = rb(input, context);
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/json",
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
b.bp("/policies");
|
|
11
11
|
let body;
|
|
12
12
|
body = JSON.stringify(take(input, {
|
|
13
13
|
CopyTags: [],
|
|
@@ -23,142 +23,88 @@ export const se_CreateLifecyclePolicyCommand = async (input, context) => {
|
|
|
23
23
|
State: [],
|
|
24
24
|
Tags: (_) => _json(_),
|
|
25
25
|
}));
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
hostname,
|
|
29
|
-
port,
|
|
30
|
-
method: "POST",
|
|
31
|
-
headers,
|
|
32
|
-
path: resolvedPath,
|
|
33
|
-
body,
|
|
34
|
-
});
|
|
26
|
+
b.m("POST").h(headers).b(body);
|
|
27
|
+
return b.build();
|
|
35
28
|
};
|
|
36
29
|
export const se_DeleteLifecyclePolicyCommand = async (input, context) => {
|
|
37
|
-
const
|
|
30
|
+
const b = rb(input, context);
|
|
38
31
|
const headers = {};
|
|
39
|
-
|
|
40
|
-
|
|
32
|
+
b.bp("/policies/{PolicyId}");
|
|
33
|
+
b.p("PolicyId", () => input.PolicyId, "{PolicyId}", false);
|
|
41
34
|
let body;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
hostname,
|
|
45
|
-
port,
|
|
46
|
-
method: "DELETE",
|
|
47
|
-
headers,
|
|
48
|
-
path: resolvedPath,
|
|
49
|
-
body,
|
|
50
|
-
});
|
|
35
|
+
b.m("DELETE").h(headers).b(body);
|
|
36
|
+
return b.build();
|
|
51
37
|
};
|
|
52
38
|
export const se_GetLifecyclePoliciesCommand = async (input, context) => {
|
|
53
|
-
const
|
|
39
|
+
const b = rb(input, context);
|
|
54
40
|
const headers = {};
|
|
55
|
-
|
|
41
|
+
b.bp("/policies");
|
|
56
42
|
const query = map({
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
],
|
|
63
|
-
targetTags: [() => input.TargetTags !== void 0, () => (input.TargetTags || []).map((_entry) => _entry)],
|
|
64
|
-
tagsToAdd: [() => input.TagsToAdd !== void 0, () => (input.TagsToAdd || []).map((_entry) => _entry)],
|
|
65
|
-
defaultPolicyType: [, input.DefaultPolicyType],
|
|
43
|
+
[_pI]: [() => input.PolicyIds !== void 0, () => (input[_PI] || []).map((_entry) => _entry)],
|
|
44
|
+
[_s]: [, input[_S]],
|
|
45
|
+
[_rT]: [() => input.ResourceTypes !== void 0, () => (input[_RT] || []).map((_entry) => _entry)],
|
|
46
|
+
[_tT]: [() => input.TargetTags !== void 0, () => (input[_TT] || []).map((_entry) => _entry)],
|
|
47
|
+
[_tTA]: [() => input.TagsToAdd !== void 0, () => (input[_TTA] || []).map((_entry) => _entry)],
|
|
48
|
+
[_dPT]: [, input[_DPT]],
|
|
66
49
|
});
|
|
67
50
|
let body;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
hostname,
|
|
71
|
-
port,
|
|
72
|
-
method: "GET",
|
|
73
|
-
headers,
|
|
74
|
-
path: resolvedPath,
|
|
75
|
-
query,
|
|
76
|
-
body,
|
|
77
|
-
});
|
|
51
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
52
|
+
return b.build();
|
|
78
53
|
};
|
|
79
54
|
export const se_GetLifecyclePolicyCommand = async (input, context) => {
|
|
80
|
-
const
|
|
55
|
+
const b = rb(input, context);
|
|
81
56
|
const headers = {};
|
|
82
|
-
|
|
83
|
-
|
|
57
|
+
b.bp("/policies/{PolicyId}");
|
|
58
|
+
b.p("PolicyId", () => input.PolicyId, "{PolicyId}", false);
|
|
84
59
|
let body;
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
hostname,
|
|
88
|
-
port,
|
|
89
|
-
method: "GET",
|
|
90
|
-
headers,
|
|
91
|
-
path: resolvedPath,
|
|
92
|
-
body,
|
|
93
|
-
});
|
|
60
|
+
b.m("GET").h(headers).b(body);
|
|
61
|
+
return b.build();
|
|
94
62
|
};
|
|
95
63
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
96
|
-
const
|
|
64
|
+
const b = rb(input, context);
|
|
97
65
|
const headers = {};
|
|
98
|
-
|
|
99
|
-
|
|
66
|
+
b.bp("/tags/{ResourceArn}");
|
|
67
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
100
68
|
let body;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
hostname,
|
|
104
|
-
port,
|
|
105
|
-
method: "GET",
|
|
106
|
-
headers,
|
|
107
|
-
path: resolvedPath,
|
|
108
|
-
body,
|
|
109
|
-
});
|
|
69
|
+
b.m("GET").h(headers).b(body);
|
|
70
|
+
return b.build();
|
|
110
71
|
};
|
|
111
72
|
export const se_TagResourceCommand = async (input, context) => {
|
|
112
|
-
const
|
|
73
|
+
const b = rb(input, context);
|
|
113
74
|
const headers = {
|
|
114
75
|
"content-type": "application/json",
|
|
115
76
|
};
|
|
116
|
-
|
|
117
|
-
|
|
77
|
+
b.bp("/tags/{ResourceArn}");
|
|
78
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
118
79
|
let body;
|
|
119
80
|
body = JSON.stringify(take(input, {
|
|
120
81
|
Tags: (_) => _json(_),
|
|
121
82
|
}));
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
hostname,
|
|
125
|
-
port,
|
|
126
|
-
method: "POST",
|
|
127
|
-
headers,
|
|
128
|
-
path: resolvedPath,
|
|
129
|
-
body,
|
|
130
|
-
});
|
|
83
|
+
b.m("POST").h(headers).b(body);
|
|
84
|
+
return b.build();
|
|
131
85
|
};
|
|
132
86
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
133
|
-
const
|
|
87
|
+
const b = rb(input, context);
|
|
134
88
|
const headers = {};
|
|
135
|
-
|
|
136
|
-
|
|
89
|
+
b.bp("/tags/{ResourceArn}");
|
|
90
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
137
91
|
const query = map({
|
|
138
|
-
|
|
92
|
+
[_tK]: [
|
|
139
93
|
__expectNonNull(input.TagKeys, `TagKeys`) != null,
|
|
140
|
-
() => (input
|
|
94
|
+
() => (input[_TK] || []).map((_entry) => _entry),
|
|
141
95
|
],
|
|
142
96
|
});
|
|
143
97
|
let body;
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
hostname,
|
|
147
|
-
port,
|
|
148
|
-
method: "DELETE",
|
|
149
|
-
headers,
|
|
150
|
-
path: resolvedPath,
|
|
151
|
-
query,
|
|
152
|
-
body,
|
|
153
|
-
});
|
|
98
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
99
|
+
return b.build();
|
|
154
100
|
};
|
|
155
101
|
export const se_UpdateLifecyclePolicyCommand = async (input, context) => {
|
|
156
|
-
const
|
|
102
|
+
const b = rb(input, context);
|
|
157
103
|
const headers = {
|
|
158
104
|
"content-type": "application/json",
|
|
159
105
|
};
|
|
160
|
-
|
|
161
|
-
|
|
106
|
+
b.bp("/policies/{PolicyId}");
|
|
107
|
+
b.p("PolicyId", () => input.PolicyId, "{PolicyId}", false);
|
|
162
108
|
let body;
|
|
163
109
|
body = JSON.stringify(take(input, {
|
|
164
110
|
CopyTags: [],
|
|
@@ -172,15 +118,8 @@ export const se_UpdateLifecyclePolicyCommand = async (input, context) => {
|
|
|
172
118
|
RetainInterval: [],
|
|
173
119
|
State: [],
|
|
174
120
|
}));
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
hostname,
|
|
178
|
-
port,
|
|
179
|
-
method: "PATCH",
|
|
180
|
-
headers,
|
|
181
|
-
path: resolvedPath,
|
|
182
|
-
body,
|
|
183
|
-
});
|
|
121
|
+
b.m("PATCH").h(headers).b(body);
|
|
122
|
+
return b.build();
|
|
184
123
|
};
|
|
185
124
|
export const de_CreateLifecyclePolicyCommand = async (output, context) => {
|
|
186
125
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -573,6 +512,20 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
573
512
|
value !== "" &&
|
|
574
513
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
575
514
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
515
|
+
const _DPT = "DefaultPolicyType";
|
|
516
|
+
const _PI = "PolicyIds";
|
|
517
|
+
const _RT = "ResourceTypes";
|
|
518
|
+
const _S = "State";
|
|
519
|
+
const _TK = "TagKeys";
|
|
520
|
+
const _TT = "TargetTags";
|
|
521
|
+
const _TTA = "TagsToAdd";
|
|
522
|
+
const _dPT = "defaultPolicyType";
|
|
523
|
+
const _pI = "policyIds";
|
|
524
|
+
const _rT = "resourceTypes";
|
|
525
|
+
const _s = "state";
|
|
526
|
+
const _tK = "tagKeys";
|
|
527
|
+
const _tT = "targetTags";
|
|
528
|
+
const _tTA = "tagsToAdd";
|
|
576
529
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
577
530
|
if (encoded.length) {
|
|
578
531
|
return JSON.parse(encoded);
|
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.477.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",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.477.0",
|
|
24
|
+
"@aws-sdk/core": "3.477.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.477.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|
|
37
|
+
"@smithy/core": "^1.2.0",
|
|
37
38
|
"@smithy/fetch-http-handler": "^2.3.1",
|
|
38
39
|
"@smithy/hash-node": "^2.0.17",
|
|
39
40
|
"@smithy/invalid-dependency": "^2.0.15",
|