@aws-sdk/client-dlm 3.303.0 → 3.309.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,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1CreateLifecyclePolicyCommand, serializeAws_restJson1CreateLifecyclePolicyCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_CreateLifecyclePolicyCommand, se_CreateLifecyclePolicyCommand } from "../protocols/Aws_restJson1";
5
5
  export class CreateLifecyclePolicyCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class CreateLifecyclePolicyCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1CreateLifecyclePolicyCommand(input, context);
36
+ return se_CreateLifecyclePolicyCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1CreateLifecyclePolicyCommand(output, context);
39
+ return de_CreateLifecyclePolicyCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1DeleteLifecyclePolicyCommand, serializeAws_restJson1DeleteLifecyclePolicyCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_DeleteLifecyclePolicyCommand, se_DeleteLifecyclePolicyCommand } from "../protocols/Aws_restJson1";
5
5
  export class DeleteLifecyclePolicyCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteLifecyclePolicyCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1DeleteLifecyclePolicyCommand(input, context);
36
+ return se_DeleteLifecyclePolicyCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1DeleteLifecyclePolicyCommand(output, context);
39
+ return de_DeleteLifecyclePolicyCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1GetLifecyclePoliciesCommand, serializeAws_restJson1GetLifecyclePoliciesCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_GetLifecyclePoliciesCommand, se_GetLifecyclePoliciesCommand } from "../protocols/Aws_restJson1";
5
5
  export class GetLifecyclePoliciesCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class GetLifecyclePoliciesCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1GetLifecyclePoliciesCommand(input, context);
36
+ return se_GetLifecyclePoliciesCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1GetLifecyclePoliciesCommand(output, context);
39
+ return de_GetLifecyclePoliciesCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1GetLifecyclePolicyCommand, serializeAws_restJson1GetLifecyclePolicyCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_GetLifecyclePolicyCommand, se_GetLifecyclePolicyCommand } from "../protocols/Aws_restJson1";
5
5
  export class GetLifecyclePolicyCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class GetLifecyclePolicyCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1GetLifecyclePolicyCommand(input, context);
36
+ return se_GetLifecyclePolicyCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1GetLifecyclePolicyCommand(output, context);
39
+ return de_GetLifecyclePolicyCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
5
5
  export class ListTagsForResourceCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class ListTagsForResourceCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1ListTagsForResourceCommand(input, context);
36
+ return se_ListTagsForResourceCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
39
+ return de_ListTagsForResourceCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
5
5
  export class TagResourceCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class TagResourceCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1TagResourceCommand(input, context);
36
+ return se_TagResourceCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1TagResourceCommand(output, context);
39
+ return de_TagResourceCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
5
5
  export class UntagResourceCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class UntagResourceCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1UntagResourceCommand(input, context);
36
+ return se_UntagResourceCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1UntagResourceCommand(output, context);
39
+ return de_UntagResourceCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1UpdateLifecyclePolicyCommand, serializeAws_restJson1UpdateLifecyclePolicyCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_UpdateLifecyclePolicyCommand, se_UpdateLifecyclePolicyCommand } from "../protocols/Aws_restJson1";
5
5
  export class UpdateLifecyclePolicyCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class UpdateLifecyclePolicyCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1UpdateLifecyclePolicyCommand(input, context);
36
+ return se_UpdateLifecyclePolicyCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1UpdateLifecyclePolicyCommand(output, context);
39
+ return de_UpdateLifecyclePolicyCommand(output, context);
40
40
  }
41
41
  }
@@ -1,4 +1,4 @@
1
- const s = "fn", t = "argv", u = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = { "required": true, "default": false, "type": "Boolean" }, j = { [u]: "Endpoint" }, k = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, l = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, m = {}, n = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [{ [u]: d }, "supportsFIPS"] }] }, o = { [u]: d }, p = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [o, "supportsDualStack"] }] }, q = [k], r = [l];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [{ [u]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [s]: "isSet", [t]: [j] }], type: e, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://dlm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [s]: "stringEquals", [t]: ["aws-us-gov", { [s]: h, [t]: [o, "name"] }] }], endpoint: { url: "https://dlm.{Region}.amazonaws.com", properties: m, headers: m }, type: g }, { endpoint: { url: "https://dlm-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://dlm.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://dlm.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }] };
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://dlm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://dlm.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://dlm-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://dlm.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://dlm.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;