@aws-sdk/client-proton 3.52.0 → 3.53.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.
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { ProtonServiceException } from "./models/ProtonServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Proton service.
4
+ */
5
+ export declare class ProtonServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ProtonServiceException as __BaseException } from "./ProtonServiceException";
2
3
  export interface AcceptEnvironmentAccountConnectionInput {
3
4
  /**
4
5
  * <p>The ID of the environment account connection.</p>
@@ -78,54 +79,72 @@ export declare namespace AcceptEnvironmentAccountConnectionOutput {
78
79
  /**
79
80
  * <p>There <i>isn't</i> sufficient access for performing this action.</p>
80
81
  */
81
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
82
- name: "AccessDeniedException";
83
- $fault: "client";
84
- message: string | undefined;
82
+ export declare class AccessDeniedException extends __BaseException {
83
+ readonly name: "AccessDeniedException";
84
+ readonly $fault: "client";
85
+ /**
86
+ * @internal
87
+ */
88
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
85
89
  }
86
90
  /**
87
91
  * <p>The request <i>couldn't</i> be made due to a conflicting operation or resource.</p>
88
92
  */
89
- export interface ConflictException extends __SmithyException, $MetadataBearer {
90
- name: "ConflictException";
91
- $fault: "client";
92
- message: string | undefined;
93
+ export declare class ConflictException extends __BaseException {
94
+ readonly name: "ConflictException";
95
+ readonly $fault: "client";
96
+ /**
97
+ * @internal
98
+ */
99
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
93
100
  }
94
101
  /**
95
102
  * <p>The request failed to register with the service.</p>
96
103
  */
97
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
98
- name: "InternalServerException";
99
- $fault: "server";
104
+ export declare class InternalServerException extends __BaseException {
105
+ readonly name: "InternalServerException";
106
+ readonly $fault: "server";
100
107
  $retryable: {};
101
- message: string | undefined;
108
+ /**
109
+ * @internal
110
+ */
111
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
102
112
  }
103
113
  /**
104
114
  * <p>The requested resource <i>wasn't</i> found.</p>
105
115
  */
106
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
107
- name: "ResourceNotFoundException";
108
- $fault: "client";
109
- message: string | undefined;
116
+ export declare class ResourceNotFoundException extends __BaseException {
117
+ readonly name: "ResourceNotFoundException";
118
+ readonly $fault: "client";
119
+ /**
120
+ * @internal
121
+ */
122
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
110
123
  }
111
124
  /**
112
125
  * <p>The request was denied due to request throttling.</p>
113
126
  */
114
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
115
- name: "ThrottlingException";
116
- $fault: "client";
127
+ export declare class ThrottlingException extends __BaseException {
128
+ readonly name: "ThrottlingException";
129
+ readonly $fault: "client";
117
130
  $retryable: {
118
- throttling: true;
131
+ throttling: boolean;
119
132
  };
120
- message: string | undefined;
133
+ /**
134
+ * @internal
135
+ */
136
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
121
137
  }
122
138
  /**
123
139
  * <p>The input is invalid or an out-of-range value was supplied for the input parameter.</p>
124
140
  */
125
- export interface ValidationException extends __SmithyException, $MetadataBearer {
126
- name: "ValidationException";
127
- $fault: "client";
128
- message: string | undefined;
141
+ export declare class ValidationException extends __BaseException {
142
+ readonly name: "ValidationException";
143
+ readonly $fault: "client";
144
+ /**
145
+ * @internal
146
+ */
147
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
129
148
  }
130
149
  export declare enum RepositoryProvider {
131
150
  BITBUCKET = "BITBUCKET",
@@ -635,10 +654,13 @@ export declare namespace CreateEnvironmentAccountConnectionOutput {
635
654
  * <p>A quota was exceeded. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html">Proton Quotas</a> in the <i>Proton Administrator
636
655
  * Guide</i>.</p>
637
656
  */
638
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
639
- name: "ServiceQuotaExceededException";
640
- $fault: "client";
641
- message: string | undefined;
657
+ export declare class ServiceQuotaExceededException extends __BaseException {
658
+ readonly name: "ServiceQuotaExceededException";
659
+ readonly $fault: "client";
660
+ /**
661
+ * @internal
662
+ */
663
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
642
664
  }
643
665
  export interface DeleteEnvironmentAccountConnectionInput {
644
666
  /**
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { ProtonServiceException } from "./models/ProtonServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class ProtonServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ProtonServiceException as __BaseException } from "./ProtonServiceException";
2
3
  export interface AcceptEnvironmentAccountConnectionInput {
3
4
 
4
5
  id: string | undefined;
@@ -46,44 +47,50 @@ export declare namespace AcceptEnvironmentAccountConnectionOutput {
46
47
  const filterSensitiveLog: (obj: AcceptEnvironmentAccountConnectionOutput) => any;
47
48
  }
48
49
 
49
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
50
- name: "AccessDeniedException";
51
- $fault: "client";
52
- message: string | undefined;
50
+ export declare class AccessDeniedException extends __BaseException {
51
+ readonly name: "AccessDeniedException";
52
+ readonly $fault: "client";
53
+
54
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
53
55
  }
54
56
 
55
- export interface ConflictException extends __SmithyException, $MetadataBearer {
56
- name: "ConflictException";
57
- $fault: "client";
58
- message: string | undefined;
57
+ export declare class ConflictException extends __BaseException {
58
+ readonly name: "ConflictException";
59
+ readonly $fault: "client";
60
+
61
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
59
62
  }
60
63
 
61
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
62
- name: "InternalServerException";
63
- $fault: "server";
64
+ export declare class InternalServerException extends __BaseException {
65
+ readonly name: "InternalServerException";
66
+ readonly $fault: "server";
64
67
  $retryable: {};
65
- message: string | undefined;
68
+
69
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
66
70
  }
67
71
 
68
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
69
- name: "ResourceNotFoundException";
70
- $fault: "client";
71
- message: string | undefined;
72
+ export declare class ResourceNotFoundException extends __BaseException {
73
+ readonly name: "ResourceNotFoundException";
74
+ readonly $fault: "client";
75
+
76
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
72
77
  }
73
78
 
74
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
75
- name: "ThrottlingException";
76
- $fault: "client";
79
+ export declare class ThrottlingException extends __BaseException {
80
+ readonly name: "ThrottlingException";
81
+ readonly $fault: "client";
77
82
  $retryable: {
78
- throttling: true;
83
+ throttling: boolean;
79
84
  };
80
- message: string | undefined;
85
+
86
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
81
87
  }
82
88
 
83
- export interface ValidationException extends __SmithyException, $MetadataBearer {
84
- name: "ValidationException";
85
- $fault: "client";
86
- message: string | undefined;
89
+ export declare class ValidationException extends __BaseException {
90
+ readonly name: "ValidationException";
91
+ readonly $fault: "client";
92
+
93
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
87
94
  }
88
95
  export declare enum RepositoryProvider {
89
96
  BITBUCKET = "BITBUCKET",
@@ -361,10 +368,11 @@ export declare namespace CreateEnvironmentAccountConnectionOutput {
361
368
  const filterSensitiveLog: (obj: CreateEnvironmentAccountConnectionOutput) => any;
362
369
  }
363
370
 
364
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
365
- name: "ServiceQuotaExceededException";
366
- $fault: "client";
367
- message: string | undefined;
371
+ export declare class ServiceQuotaExceededException extends __BaseException {
372
+ readonly name: "ServiceQuotaExceededException";
373
+ readonly $fault: "client";
374
+
375
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
368
376
  }
369
377
  export interface DeleteEnvironmentAccountConnectionInput {
370
378
 
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.52.0",
4
+ "version": "3.53.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",
@@ -18,37 +18,37 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
- "@aws-sdk/util-waiter": "3.52.0",
51
+ "@aws-sdk/util-waiter": "3.53.0",
52
52
  "tslib": "^2.3.0",
53
53
  "uuid": "^8.3.2"
54
54
  },