@aws-sdk/client-amplifyuibuilder 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.
@@ -3,3 +3,4 @@ export * from "./AmplifyUIBuilderClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { AmplifyUIBuilderServiceException } from "./models/AmplifyUIBuilderServiceException";
@@ -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 AmplifyUIBuilder service.
4
+ */
5
+ export declare class AmplifyUIBuilderServiceException 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 { AmplifyUIBuilderServiceException as __BaseException } from "./AmplifyUIBuilderServiceException";
2
3
  /**
3
4
  * <p>Associates a component property to a binding property. This enables exposed properties on
4
5
  * the top level component to propagate data to the component's property values.</p>
@@ -87,35 +88,47 @@ export declare namespace ComponentVariant {
87
88
  /**
88
89
  * <p>An internal error has occurred. Please retry your request.</p>
89
90
  */
90
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
91
- name: "InternalServerException";
92
- $fault: "server";
93
- message?: string;
91
+ export declare class InternalServerException extends __BaseException {
92
+ readonly name: "InternalServerException";
93
+ readonly $fault: "server";
94
+ /**
95
+ * @internal
96
+ */
97
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
94
98
  }
95
99
  /**
96
100
  * <p>An invalid or out-of-range value was supplied for the input parameter.</p>
97
101
  */
98
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
99
- name: "InvalidParameterException";
100
- $fault: "client";
101
- message?: string;
102
+ export declare class InvalidParameterException extends __BaseException {
103
+ readonly name: "InvalidParameterException";
104
+ readonly $fault: "client";
105
+ /**
106
+ * @internal
107
+ */
108
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
102
109
  }
103
110
  /**
104
111
  * <p>The resource specified in the request conflicts with an existing resource.</p>
105
112
  */
106
- export interface ResourceConflictException extends __SmithyException, $MetadataBearer {
107
- name: "ResourceConflictException";
108
- $fault: "client";
109
- message?: string;
113
+ export declare class ResourceConflictException extends __BaseException {
114
+ readonly name: "ResourceConflictException";
115
+ readonly $fault: "client";
116
+ /**
117
+ * @internal
118
+ */
119
+ constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
110
120
  }
111
121
  /**
112
122
  * <p>You exceeded your service quota. Service quotas, also referred to as limits, are the
113
123
  * maximum number of service resources or operations for your Amazon Web Services account. </p>
114
124
  */
115
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
116
- name: "ServiceQuotaExceededException";
117
- $fault: "client";
118
- message?: string;
125
+ export declare class ServiceQuotaExceededException extends __BaseException {
126
+ readonly name: "ServiceQuotaExceededException";
127
+ readonly $fault: "client";
128
+ /**
129
+ * @internal
130
+ */
131
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
119
132
  }
120
133
  export interface DeleteComponentRequest {
121
134
  /**
@@ -140,10 +153,13 @@ export declare namespace DeleteComponentRequest {
140
153
  /**
141
154
  * <p>The requested resource does not exist, or access was denied.</p>
142
155
  */
143
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
144
- name: "ResourceNotFoundException";
145
- $fault: "client";
146
- message?: string;
156
+ export declare class ResourceNotFoundException extends __BaseException {
157
+ readonly name: "ResourceNotFoundException";
158
+ readonly $fault: "client";
159
+ /**
160
+ * @internal
161
+ */
162
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
147
163
  }
148
164
  export interface ExportComponentsRequest {
149
165
  /**
@@ -3,3 +3,4 @@ export * from "./AmplifyUIBuilderClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { AmplifyUIBuilderServiceException } from "./models/AmplifyUIBuilderServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class AmplifyUIBuilderServiceException 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 { AmplifyUIBuilderServiceException as __BaseException } from "./AmplifyUIBuilderServiceException";
2
3
 
3
4
  export interface ComponentPropertyBindingProperties {
4
5
 
@@ -51,28 +52,32 @@ export declare namespace ComponentVariant {
51
52
  const filterSensitiveLog: (obj: ComponentVariant) => any;
52
53
  }
53
54
 
54
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
55
- name: "InternalServerException";
56
- $fault: "server";
57
- message?: string;
55
+ export declare class InternalServerException extends __BaseException {
56
+ readonly name: "InternalServerException";
57
+ readonly $fault: "server";
58
+
59
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
58
60
  }
59
61
 
60
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
61
- name: "InvalidParameterException";
62
- $fault: "client";
63
- message?: string;
62
+ export declare class InvalidParameterException extends __BaseException {
63
+ readonly name: "InvalidParameterException";
64
+ readonly $fault: "client";
65
+
66
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
64
67
  }
65
68
 
66
- export interface ResourceConflictException extends __SmithyException, $MetadataBearer {
67
- name: "ResourceConflictException";
68
- $fault: "client";
69
- message?: string;
69
+ export declare class ResourceConflictException extends __BaseException {
70
+ readonly name: "ResourceConflictException";
71
+ readonly $fault: "client";
72
+
73
+ constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
70
74
  }
71
75
 
72
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
73
- name: "ServiceQuotaExceededException";
74
- $fault: "client";
75
- message?: string;
76
+ export declare class ServiceQuotaExceededException extends __BaseException {
77
+ readonly name: "ServiceQuotaExceededException";
78
+ readonly $fault: "client";
79
+
80
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
76
81
  }
77
82
  export interface DeleteComponentRequest {
78
83
 
@@ -87,10 +92,11 @@ export declare namespace DeleteComponentRequest {
87
92
  const filterSensitiveLog: (obj: DeleteComponentRequest) => any;
88
93
  }
89
94
 
90
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
91
- name: "ResourceNotFoundException";
92
- $fault: "client";
93
- message?: string;
95
+ export declare class ResourceNotFoundException extends __BaseException {
96
+ readonly name: "ResourceNotFoundException";
97
+ readonly $fault: "client";
98
+
99
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
94
100
  }
95
101
  export interface ExportComponentsRequest {
96
102
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amplifyuibuilder",
3
3
  "description": "AWS SDK for JavaScript Amplifyuibuilder 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,34 +18,34 @@
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
51
  "tslib": "^2.3.0",