@aws-sdk/client-proton 3.928.0 → 3.930.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.
package/dist-cjs/index.js CHANGED
@@ -237,20 +237,6 @@ const ComponentDeploymentUpdateType = {
237
237
  CURRENT_VERSION: "CURRENT_VERSION",
238
238
  NONE: "NONE",
239
239
  };
240
- exports.DeploymentState = void 0;
241
- (function (DeploymentState) {
242
- DeploymentState.visit = (value, visitor) => {
243
- if (value.serviceInstance !== undefined)
244
- return visitor.serviceInstance(value.serviceInstance);
245
- if (value.environment !== undefined)
246
- return visitor.environment(value.environment);
247
- if (value.servicePipeline !== undefined)
248
- return visitor.servicePipeline(value.servicePipeline);
249
- if (value.component !== undefined)
250
- return visitor.component(value.component);
251
- return visitor._(value.$unknown[0], value.$unknown[1]);
252
- };
253
- })(exports.DeploymentState || (exports.DeploymentState = {}));
254
240
  const DeploymentTargetResourceType = {
255
241
  COMPONENT: "COMPONENT",
256
242
  ENVIRONMENT: "ENVIRONMENT",
@@ -267,14 +253,6 @@ const DeploymentUpdateType = {
267
253
  MINOR_VERSION: "MINOR_VERSION",
268
254
  NONE: "NONE",
269
255
  };
270
- exports.TemplateVersionSourceInput = void 0;
271
- (function (TemplateVersionSourceInput) {
272
- TemplateVersionSourceInput.visit = (value, visitor) => {
273
- if (value.s3 !== undefined)
274
- return visitor.s3(value.s3);
275
- return visitor._(value.$unknown[0], value.$unknown[1]);
276
- };
277
- })(exports.TemplateVersionSourceInput || (exports.TemplateVersionSourceInput = {}));
278
256
  const TemplateVersionStatus = {
279
257
  DRAFT: "DRAFT",
280
258
  PUBLISHED: "PUBLISHED",
@@ -118,20 +118,6 @@ export const ComponentDeploymentUpdateType = {
118
118
  CURRENT_VERSION: "CURRENT_VERSION",
119
119
  NONE: "NONE",
120
120
  };
121
- export var DeploymentState;
122
- (function (DeploymentState) {
123
- DeploymentState.visit = (value, visitor) => {
124
- if (value.serviceInstance !== undefined)
125
- return visitor.serviceInstance(value.serviceInstance);
126
- if (value.environment !== undefined)
127
- return visitor.environment(value.environment);
128
- if (value.servicePipeline !== undefined)
129
- return visitor.servicePipeline(value.servicePipeline);
130
- if (value.component !== undefined)
131
- return visitor.component(value.component);
132
- return visitor._(value.$unknown[0], value.$unknown[1]);
133
- };
134
- })(DeploymentState || (DeploymentState = {}));
135
121
  export const DeploymentTargetResourceType = {
136
122
  COMPONENT: "COMPONENT",
137
123
  ENVIRONMENT: "ENVIRONMENT",
@@ -148,14 +134,6 @@ export const DeploymentUpdateType = {
148
134
  MINOR_VERSION: "MINOR_VERSION",
149
135
  NONE: "NONE",
150
136
  };
151
- export var TemplateVersionSourceInput;
152
- (function (TemplateVersionSourceInput) {
153
- TemplateVersionSourceInput.visit = (value, visitor) => {
154
- if (value.s3 !== undefined)
155
- return visitor.s3(value.s3);
156
- return visitor._(value.$unknown[0], value.$unknown[1]);
157
- };
158
- })(TemplateVersionSourceInput || (TemplateVersionSourceInput = {}));
159
137
  export const TemplateVersionStatus = {
160
138
  DRAFT: "DRAFT",
161
139
  PUBLISHED: "PUBLISHED",
@@ -1468,6 +1468,10 @@ export declare namespace DeploymentState {
1468
1468
  component?: never;
1469
1469
  $unknown: [string, any];
1470
1470
  }
1471
+ /**
1472
+ * @deprecated unused in schema-serde mode.
1473
+ *
1474
+ */
1471
1475
  interface Visitor<T> {
1472
1476
  serviceInstance: (value: ServiceInstanceState) => T;
1473
1477
  environment: (value: EnvironmentState) => T;
@@ -1475,7 +1479,6 @@ export declare namespace DeploymentState {
1475
1479
  component: (value: ComponentState) => T;
1476
1480
  _: (name: string, value: any) => T;
1477
1481
  }
1478
- const visit: <T>(value: DeploymentState, visitor: Visitor<T>) => T;
1479
1482
  }
1480
1483
  /**
1481
1484
  * @public
@@ -2825,11 +2828,14 @@ export declare namespace TemplateVersionSourceInput {
2825
2828
  s3?: never;
2826
2829
  $unknown: [string, any];
2827
2830
  }
2831
+ /**
2832
+ * @deprecated unused in schema-serde mode.
2833
+ *
2834
+ */
2828
2835
  interface Visitor<T> {
2829
2836
  s3: (value: S3ObjectSource) => T;
2830
2837
  _: (name: string, value: any) => T;
2831
2838
  }
2832
- const visit: <T>(value: TemplateVersionSourceInput, visitor: Visitor<T>) => T;
2833
2839
  }
2834
2840
  /**
2835
2841
  * @public
@@ -414,7 +414,6 @@ export declare namespace DeploymentState {
414
414
  component: (value: ComponentState) => T;
415
415
  _: (name: string, value: any) => T;
416
416
  }
417
- const visit: <T>(value: DeploymentState, visitor: Visitor<T>) => T;
418
417
  }
419
418
  export declare const DeploymentTargetResourceType: {
420
419
  readonly COMPONENT: "COMPONENT";
@@ -739,7 +738,6 @@ export declare namespace TemplateVersionSourceInput {
739
738
  s3: (value: S3ObjectSource) => T;
740
739
  _: (name: string, value: any) => T;
741
740
  }
742
- const visit: <T>(value: TemplateVersionSourceInput, visitor: Visitor<T>) => T;
743
741
  }
744
742
  export interface CreateEnvironmentTemplateVersionInput {
745
743
  clientToken?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-proton",
3
3
  "description": "AWS SDK for JavaScript Proton Client for Node.js, Browser and React Native",
4
- "version": "3.928.0",
4
+ "version": "3.930.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-proton",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.928.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.930.0",
24
+ "@aws-sdk/credential-provider-node": "3.930.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.930.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.930.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.9",
41
+ "@smithy/middleware-retry": "^4.4.9",
42
+ "@smithy/middleware-serde": "^4.2.5",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
- "@smithy/util-waiter": "^4.2.4",
59
+ "@smithy/util-waiter": "^4.2.5",
60
60
  "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {