@aws-sdk/client-codestar-connections 3.301.0 → 3.306.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.
@@ -2,12 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UnsupportedOperationException = exports.ConflictException = exports.ConnectionStatus = exports.ResourceUnavailableException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.ProviderType = void 0;
4
4
  const CodeStarConnectionsServiceException_1 = require("./CodeStarConnectionsServiceException");
5
- var ProviderType;
6
- (function (ProviderType) {
7
- ProviderType["BITBUCKET"] = "Bitbucket";
8
- ProviderType["GITHUB"] = "GitHub";
9
- ProviderType["GITHUB_ENTERPRISE_SERVER"] = "GitHubEnterpriseServer";
10
- })(ProviderType = exports.ProviderType || (exports.ProviderType = {}));
5
+ exports.ProviderType = {
6
+ BITBUCKET: "Bitbucket",
7
+ GITHUB: "GitHub",
8
+ GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer",
9
+ };
11
10
  class LimitExceededException extends CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException {
12
11
  constructor(opts) {
13
12
  super({
@@ -50,12 +49,11 @@ class ResourceUnavailableException extends CodeStarConnectionsServiceException_1
50
49
  }
51
50
  }
52
51
  exports.ResourceUnavailableException = ResourceUnavailableException;
53
- var ConnectionStatus;
54
- (function (ConnectionStatus) {
55
- ConnectionStatus["AVAILABLE"] = "AVAILABLE";
56
- ConnectionStatus["ERROR"] = "ERROR";
57
- ConnectionStatus["PENDING"] = "PENDING";
58
- })(ConnectionStatus = exports.ConnectionStatus || (exports.ConnectionStatus = {}));
52
+ exports.ConnectionStatus = {
53
+ AVAILABLE: "AVAILABLE",
54
+ ERROR: "ERROR",
55
+ PENDING: "PENDING",
56
+ };
59
57
  class ConflictException extends CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException {
60
58
  constructor(opts) {
61
59
  super({
@@ -1,10 +1,9 @@
1
1
  import { CodeStarConnectionsServiceException as __BaseException } from "./CodeStarConnectionsServiceException";
2
- export var ProviderType;
3
- (function (ProviderType) {
4
- ProviderType["BITBUCKET"] = "Bitbucket";
5
- ProviderType["GITHUB"] = "GitHub";
6
- ProviderType["GITHUB_ENTERPRISE_SERVER"] = "GitHubEnterpriseServer";
7
- })(ProviderType || (ProviderType = {}));
2
+ export const ProviderType = {
3
+ BITBUCKET: "Bitbucket",
4
+ GITHUB: "GitHub",
5
+ GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer",
6
+ };
8
7
  export class LimitExceededException extends __BaseException {
9
8
  constructor(opts) {
10
9
  super({
@@ -44,12 +43,11 @@ export class ResourceUnavailableException extends __BaseException {
44
43
  this.Message = opts.Message;
45
44
  }
46
45
  }
47
- export var ConnectionStatus;
48
- (function (ConnectionStatus) {
49
- ConnectionStatus["AVAILABLE"] = "AVAILABLE";
50
- ConnectionStatus["ERROR"] = "ERROR";
51
- ConnectionStatus["PENDING"] = "PENDING";
52
- })(ConnectionStatus || (ConnectionStatus = {}));
46
+ export const ConnectionStatus = {
47
+ AVAILABLE: "AVAILABLE",
48
+ ERROR: "ERROR",
49
+ PENDING: "PENDING",
50
+ };
53
51
  export class ConflictException extends __BaseException {
54
52
  constructor(opts) {
55
53
  super({
@@ -2,12 +2,17 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { CodeStarConnectionsServiceException as __BaseException } from "./CodeStarConnectionsServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum ProviderType {
7
- BITBUCKET = "Bitbucket",
8
- GITHUB = "GitHub",
9
- GITHUB_ENTERPRISE_SERVER = "GitHubEnterpriseServer"
10
- }
7
+ export declare const ProviderType: {
8
+ readonly BITBUCKET: "Bitbucket";
9
+ readonly GITHUB: "GitHub";
10
+ readonly GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer";
11
+ };
12
+ /**
13
+ * @public
14
+ */
15
+ export type ProviderType = (typeof ProviderType)[keyof typeof ProviderType];
11
16
  /**
12
17
  * @public
13
18
  * <p>A tag is a key-value pair that is used to manage the resource.</p>
@@ -206,12 +211,17 @@ export interface GetConnectionInput {
206
211
  }
207
212
  /**
208
213
  * @public
214
+ * @enum
209
215
  */
210
- export declare enum ConnectionStatus {
211
- AVAILABLE = "AVAILABLE",
212
- ERROR = "ERROR",
213
- PENDING = "PENDING"
214
- }
216
+ export declare const ConnectionStatus: {
217
+ readonly AVAILABLE: "AVAILABLE";
218
+ readonly ERROR: "ERROR";
219
+ readonly PENDING: "PENDING";
220
+ };
221
+ /**
222
+ * @public
223
+ */
224
+ export type ConnectionStatus = (typeof ConnectionStatus)[keyof typeof ConnectionStatus];
215
225
  /**
216
226
  * @public
217
227
  * <p>A resource that is used to connect third-party source providers with services like AWS CodePipeline.</p>
@@ -1,10 +1,11 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { CodeStarConnectionsServiceException as __BaseException } from "./CodeStarConnectionsServiceException";
3
- export declare enum ProviderType {
4
- BITBUCKET = "Bitbucket",
5
- GITHUB = "GitHub",
6
- GITHUB_ENTERPRISE_SERVER = "GitHubEnterpriseServer",
7
- }
3
+ export declare const ProviderType: {
4
+ readonly BITBUCKET: "Bitbucket";
5
+ readonly GITHUB: "GitHub";
6
+ readonly GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer";
7
+ };
8
+ export type ProviderType = (typeof ProviderType)[keyof typeof ProviderType];
8
9
  export interface Tag {
9
10
  Key: string | undefined;
10
11
  Value: string | undefined;
@@ -71,11 +72,13 @@ export interface DeleteHostOutput {}
71
72
  export interface GetConnectionInput {
72
73
  ConnectionArn: string | undefined;
73
74
  }
74
- export declare enum ConnectionStatus {
75
- AVAILABLE = "AVAILABLE",
76
- ERROR = "ERROR",
77
- PENDING = "PENDING",
78
- }
75
+ export declare const ConnectionStatus: {
76
+ readonly AVAILABLE: "AVAILABLE";
77
+ readonly ERROR: "ERROR";
78
+ readonly PENDING: "PENDING";
79
+ };
80
+ export type ConnectionStatus =
81
+ (typeof ConnectionStatus)[keyof typeof ConnectionStatus];
79
82
  export interface Connection {
80
83
  ConnectionName?: string;
81
84
  ConnectionArn?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codestar-connections",
3
3
  "description": "AWS SDK for JavaScript Codestar Connections Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.306.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",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",