@aws-sdk/util-arn-parser 3.36.0 → 3.37.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/util-arn-parser
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
15
 
8
16
 
@@ -5,19 +5,13 @@ export interface ARN {
5
5
  accountId: string;
6
6
  resource: string;
7
7
  }
8
- /**
9
- * Validate whether a string is an ARN.
10
- */
8
+
11
9
  export declare const validate: (str: any) => boolean;
12
- /**
13
- * Parse an ARN string into structure with partition, service, region, accountId and resource values
14
- */
10
+
15
11
  export declare const parse: (arn: string) => ARN;
16
12
  declare type buildOptions = Pick<ARN, Exclude<keyof ARN, "partition">> & {
17
13
  partition?: string;
18
14
  };
19
- /**
20
- * Build an ARN with service, partition, region, accountId, and resources strings
21
- */
15
+
22
16
  export declare const build: (arnObject: buildOptions) => string;
23
17
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-arn-parser",
3
- "version": "3.36.0",
3
+ "version": "3.37.0",
4
4
  "description": "A parser to Amazon Resource Names",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",