@distilled.cloud/aws 0.25.0 → 0.25.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@distilled.cloud/aws",
3
- "version": "0.25.0",
3
+ "version": "0.25.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/alchemy-run/distilled",
@@ -86,7 +86,7 @@
86
86
  "@aws-crypto/util": "^5.2.0",
87
87
  "@aws-sdk/credential-providers": "^3.994.0",
88
88
  "@aws-sdk/types": "^3.973.1",
89
- "@distilled.cloud/core": "0.25.0",
89
+ "@distilled.cloud/core": "0.25.2",
90
90
  "@smithy/shared-ini-file-loader": "^4.4.3",
91
91
  "@smithy/types": "^4.12.0",
92
92
  "@smithy/util-base64": "^4.3.0",
package/src/hash/crc32.ts CHANGED
@@ -22,7 +22,7 @@ class NodeCrc32 implements Checksum {
22
22
  }
23
23
  }
24
24
 
25
- export const getCrc32ChecksumAlgorithmFunction = (): new () => Checksum => {
25
+ export const getCrc32ChecksumAlgorithmFunction = (): (new () => Checksum) => {
26
26
  if (typeof (zlib as any).crc32 === "function") {
27
27
  return NodeCrc32;
28
28
  }
package/src/hash/md5.ts CHANGED
@@ -18,6 +18,6 @@ class NodeMd5 implements Checksum {
18
18
  }
19
19
  }
20
20
 
21
- export const getMd5ChecksumAlgorithmFunction = (): new () => Checksum => {
21
+ export const getMd5ChecksumAlgorithmFunction = (): (new () => Checksum) => {
22
22
  return NodeMd5;
23
23
  };
@@ -1679,13 +1679,13 @@ export const KeyValueStoreAssociations = /*@__PURE__*/ /*#__PURE__*/ S.suspend(
1679
1679
  identifier: "KeyValueStoreAssociations",
1680
1680
  }) as any as S.Schema<KeyValueStoreAssociations>;
1681
1681
  export interface FunctionConfig {
1682
- Comment: string;
1682
+ Comment?: string;
1683
1683
  Runtime: FunctionRuntime;
1684
1684
  KeyValueStoreAssociations?: KeyValueStoreAssociations;
1685
1685
  }
1686
1686
  export const FunctionConfig = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() =>
1687
1687
  S.Struct({
1688
- Comment: S.String,
1688
+ Comment: S.optional(S.String),
1689
1689
  Runtime: FunctionRuntime,
1690
1690
  KeyValueStoreAssociations: S.optional(KeyValueStoreAssociations),
1691
1691
  }),
@@ -74200,6 +74200,10 @@ export class InvalidLaunchTemplateIdMalformed extends S.TaggedErrorClass<Invalid
74200
74200
  "InvalidLaunchTemplateId.Malformed",
74201
74201
  {},
74202
74202
  ) {}
74203
+ export class InvalidLaunchTemplateIdNotFound extends S.TaggedErrorClass<InvalidLaunchTemplateIdNotFound>()(
74204
+ "InvalidLaunchTemplateId.NotFound",
74205
+ {},
74206
+ ) {}
74203
74207
  export class FilterLimitExceeded extends S.TaggedErrorClass<FilterLimitExceeded>()(
74204
74208
  "FilterLimitExceeded",
74205
74209
  {},
@@ -84239,6 +84243,8 @@ export type DescribeLaunchTemplatesError =
84239
84243
  | RequestLimitExceeded
84240
84244
  | InvalidLaunchTemplateIdMalformed
84241
84245
  | ParseError
84246
+ | InvalidLaunchTemplateIdNotFound
84247
+ | InvalidLaunchTemplateNameNotFoundException
84242
84248
  | CommonErrors;
84243
84249
  /**
84244
84250
  * Describes one or more launch templates.
@@ -84266,7 +84272,13 @@ export const describeLaunchTemplates: API.OperationMethod<
84266
84272
  } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
84267
84273
  input: DescribeLaunchTemplatesRequest,
84268
84274
  output: DescribeLaunchTemplatesResult,
84269
- errors: [RequestLimitExceeded, InvalidLaunchTemplateIdMalformed, ParseError],
84275
+ errors: [
84276
+ RequestLimitExceeded,
84277
+ InvalidLaunchTemplateIdMalformed,
84278
+ ParseError,
84279
+ InvalidLaunchTemplateIdNotFound,
84280
+ InvalidLaunchTemplateNameNotFoundException,
84281
+ ],
84270
84282
  pagination: {
84271
84283
  inputToken: "NextToken",
84272
84284
  outputToken: "NextToken",