@aws-sdk/client-oam 3.933.0 → 3.935.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/dist-cjs/index.js CHANGED
@@ -133,15 +133,6 @@ let ConflictException$1 = class ConflictException extends OAMServiceException$1
133
133
  this.amznErrorType = opts.amznErrorType;
134
134
  }
135
135
  };
136
- const ResourceType = {
137
- AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application",
138
- AWS_APPLICATION_SIGNALS_SERVICE: "AWS::ApplicationSignals::Service",
139
- AWS_APPLICATION_SIGNALS_SLO: "AWS::ApplicationSignals::ServiceLevelObjective",
140
- AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric",
141
- AWS_INTERNETMONITOR_MONITOR: "AWS::InternetMonitor::Monitor",
142
- AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup",
143
- AWS_XRAY_TRACE: "AWS::XRay::Trace",
144
- };
145
136
  let InternalServiceFault$1 = class InternalServiceFault extends OAMServiceException$1 {
146
137
  name = "InternalServiceFault";
147
138
  $fault = "server";
@@ -950,6 +941,16 @@ const paginateListLinks = core.createPaginator(OAMClient, ListLinksCommand, "Nex
950
941
 
951
942
  const paginateListSinks = core.createPaginator(OAMClient, ListSinksCommand, "NextToken", "NextToken", "MaxResults");
952
943
 
944
+ const ResourceType = {
945
+ AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application",
946
+ AWS_APPLICATION_SIGNALS_SERVICE: "AWS::ApplicationSignals::Service",
947
+ AWS_APPLICATION_SIGNALS_SLO: "AWS::ApplicationSignals::ServiceLevelObjective",
948
+ AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric",
949
+ AWS_INTERNETMONITOR_MONITOR: "AWS::InternetMonitor::Monitor",
950
+ AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup",
951
+ AWS_XRAY_TRACE: "AWS::XRay::Trace",
952
+ };
953
+
953
954
  Object.defineProperty(exports, "$Command", {
954
955
  enumerable: true,
955
956
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./OAMClient";
2
2
  export * from "./OAM";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { OAMServiceException } from "./models/OAMServiceException";
@@ -0,0 +1,9 @@
1
+ export const ResourceType = {
2
+ AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application",
3
+ AWS_APPLICATION_SIGNALS_SERVICE: "AWS::ApplicationSignals::Service",
4
+ AWS_APPLICATION_SIGNALS_SLO: "AWS::ApplicationSignals::ServiceLevelObjective",
5
+ AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric",
6
+ AWS_INTERNETMONITOR_MONITOR: "AWS::InternetMonitor::Monitor",
7
+ AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup",
8
+ AWS_XRAY_TRACE: "AWS::XRay::Trace",
9
+ };
@@ -0,0 +1,121 @@
1
+ import { OAMServiceException as __BaseException } from "./OAMServiceException";
2
+ export class ConflictException extends __BaseException {
3
+ name = "ConflictException";
4
+ $fault = "client";
5
+ Message;
6
+ amznErrorType;
7
+ constructor(opts) {
8
+ super({
9
+ name: "ConflictException",
10
+ $fault: "client",
11
+ ...opts,
12
+ });
13
+ Object.setPrototypeOf(this, ConflictException.prototype);
14
+ this.Message = opts.Message;
15
+ this.amznErrorType = opts.amznErrorType;
16
+ }
17
+ }
18
+ export class InternalServiceFault extends __BaseException {
19
+ name = "InternalServiceFault";
20
+ $fault = "server";
21
+ Message;
22
+ amznErrorType;
23
+ constructor(opts) {
24
+ super({
25
+ name: "InternalServiceFault",
26
+ $fault: "server",
27
+ ...opts,
28
+ });
29
+ Object.setPrototypeOf(this, InternalServiceFault.prototype);
30
+ this.Message = opts.Message;
31
+ this.amznErrorType = opts.amznErrorType;
32
+ }
33
+ }
34
+ export class InvalidParameterException extends __BaseException {
35
+ name = "InvalidParameterException";
36
+ $fault = "client";
37
+ amznErrorType;
38
+ constructor(opts) {
39
+ super({
40
+ name: "InvalidParameterException",
41
+ $fault: "client",
42
+ ...opts,
43
+ });
44
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
45
+ this.amznErrorType = opts.amznErrorType;
46
+ }
47
+ }
48
+ export class MissingRequiredParameterException extends __BaseException {
49
+ name = "MissingRequiredParameterException";
50
+ $fault = "client";
51
+ amznErrorType;
52
+ constructor(opts) {
53
+ super({
54
+ name: "MissingRequiredParameterException",
55
+ $fault: "client",
56
+ ...opts,
57
+ });
58
+ Object.setPrototypeOf(this, MissingRequiredParameterException.prototype);
59
+ this.amznErrorType = opts.amznErrorType;
60
+ }
61
+ }
62
+ export class ServiceQuotaExceededException extends __BaseException {
63
+ name = "ServiceQuotaExceededException";
64
+ $fault = "client";
65
+ Message;
66
+ amznErrorType;
67
+ constructor(opts) {
68
+ super({
69
+ name: "ServiceQuotaExceededException",
70
+ $fault: "client",
71
+ ...opts,
72
+ });
73
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
74
+ this.Message = opts.Message;
75
+ this.amznErrorType = opts.amznErrorType;
76
+ }
77
+ }
78
+ export class ResourceNotFoundException extends __BaseException {
79
+ name = "ResourceNotFoundException";
80
+ $fault = "client";
81
+ Message;
82
+ amznErrorType;
83
+ constructor(opts) {
84
+ super({
85
+ name: "ResourceNotFoundException",
86
+ $fault: "client",
87
+ ...opts,
88
+ });
89
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
90
+ this.Message = opts.Message;
91
+ this.amznErrorType = opts.amznErrorType;
92
+ }
93
+ }
94
+ export class ValidationException extends __BaseException {
95
+ name = "ValidationException";
96
+ $fault = "client";
97
+ Message;
98
+ constructor(opts) {
99
+ super({
100
+ name: "ValidationException",
101
+ $fault: "client",
102
+ ...opts,
103
+ });
104
+ Object.setPrototypeOf(this, ValidationException.prototype);
105
+ this.Message = opts.Message;
106
+ }
107
+ }
108
+ export class TooManyTagsException extends __BaseException {
109
+ name = "TooManyTagsException";
110
+ $fault = "client";
111
+ Message;
112
+ constructor(opts) {
113
+ super({
114
+ name: "TooManyTagsException",
115
+ $fault: "client",
116
+ ...opts,
117
+ });
118
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
119
+ this.Message = opts.Message;
120
+ }
121
+ }
@@ -1,130 +1 @@
1
- import { OAMServiceException as __BaseException } from "./OAMServiceException";
2
- export class ConflictException extends __BaseException {
3
- name = "ConflictException";
4
- $fault = "client";
5
- Message;
6
- amznErrorType;
7
- constructor(opts) {
8
- super({
9
- name: "ConflictException",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- Object.setPrototypeOf(this, ConflictException.prototype);
14
- this.Message = opts.Message;
15
- this.amznErrorType = opts.amznErrorType;
16
- }
17
- }
18
- export const ResourceType = {
19
- AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application",
20
- AWS_APPLICATION_SIGNALS_SERVICE: "AWS::ApplicationSignals::Service",
21
- AWS_APPLICATION_SIGNALS_SLO: "AWS::ApplicationSignals::ServiceLevelObjective",
22
- AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric",
23
- AWS_INTERNETMONITOR_MONITOR: "AWS::InternetMonitor::Monitor",
24
- AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup",
25
- AWS_XRAY_TRACE: "AWS::XRay::Trace",
26
- };
27
- export class InternalServiceFault extends __BaseException {
28
- name = "InternalServiceFault";
29
- $fault = "server";
30
- Message;
31
- amznErrorType;
32
- constructor(opts) {
33
- super({
34
- name: "InternalServiceFault",
35
- $fault: "server",
36
- ...opts,
37
- });
38
- Object.setPrototypeOf(this, InternalServiceFault.prototype);
39
- this.Message = opts.Message;
40
- this.amznErrorType = opts.amznErrorType;
41
- }
42
- }
43
- export class InvalidParameterException extends __BaseException {
44
- name = "InvalidParameterException";
45
- $fault = "client";
46
- amznErrorType;
47
- constructor(opts) {
48
- super({
49
- name: "InvalidParameterException",
50
- $fault: "client",
51
- ...opts,
52
- });
53
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
54
- this.amznErrorType = opts.amznErrorType;
55
- }
56
- }
57
- export class MissingRequiredParameterException extends __BaseException {
58
- name = "MissingRequiredParameterException";
59
- $fault = "client";
60
- amznErrorType;
61
- constructor(opts) {
62
- super({
63
- name: "MissingRequiredParameterException",
64
- $fault: "client",
65
- ...opts,
66
- });
67
- Object.setPrototypeOf(this, MissingRequiredParameterException.prototype);
68
- this.amznErrorType = opts.amznErrorType;
69
- }
70
- }
71
- export class ServiceQuotaExceededException extends __BaseException {
72
- name = "ServiceQuotaExceededException";
73
- $fault = "client";
74
- Message;
75
- amznErrorType;
76
- constructor(opts) {
77
- super({
78
- name: "ServiceQuotaExceededException",
79
- $fault: "client",
80
- ...opts,
81
- });
82
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
83
- this.Message = opts.Message;
84
- this.amznErrorType = opts.amznErrorType;
85
- }
86
- }
87
- export class ResourceNotFoundException extends __BaseException {
88
- name = "ResourceNotFoundException";
89
- $fault = "client";
90
- Message;
91
- amznErrorType;
92
- constructor(opts) {
93
- super({
94
- name: "ResourceNotFoundException",
95
- $fault: "client",
96
- ...opts,
97
- });
98
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
99
- this.Message = opts.Message;
100
- this.amznErrorType = opts.amznErrorType;
101
- }
102
- }
103
- export class ValidationException extends __BaseException {
104
- name = "ValidationException";
105
- $fault = "client";
106
- Message;
107
- constructor(opts) {
108
- super({
109
- name: "ValidationException",
110
- $fault: "client",
111
- ...opts,
112
- });
113
- Object.setPrototypeOf(this, ValidationException.prototype);
114
- this.Message = opts.Message;
115
- }
116
- }
117
- export class TooManyTagsException extends __BaseException {
118
- name = "TooManyTagsException";
119
- $fault = "client";
120
- Message;
121
- constructor(opts) {
122
- super({
123
- name: "TooManyTagsException",
124
- $fault: "client",
125
- ...opts,
126
- });
127
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
128
- this.Message = opts.Message;
129
- }
130
- }
1
+ export {};
@@ -95,7 +95,7 @@ const _tK = "tagKeys";
95
95
  const _xaE = "x-amzn-ErrorType";
96
96
  const n0 = "com.amazonaws.oam";
97
97
  import { TypeRegistry } from "@smithy/core/schema";
98
- import { ConflictException as __ConflictException, InternalServiceFault as __InternalServiceFault, InvalidParameterException as __InvalidParameterException, MissingRequiredParameterException as __MissingRequiredParameterException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, TooManyTagsException as __TooManyTagsException, ValidationException as __ValidationException, } from "../models/index";
98
+ import { ConflictException as __ConflictException, InternalServiceFault as __InternalServiceFault, InvalidParameterException as __InvalidParameterException, MissingRequiredParameterException as __MissingRequiredParameterException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, TooManyTagsException as __TooManyTagsException, ValidationException as __ValidationException, } from "../models/errors";
99
99
  import { OAMServiceException as __OAMServiceException } from "../models/OAMServiceException";
100
100
  export var ConflictException = [
101
101
  -3,
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { OAMExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
- export * from "./models";
13
+ export * from "./models/enums";
14
+ export * from "./models/errors";
15
+ export type * from "./models/models_0";
14
16
  export { OAMServiceException } from "./models/OAMServiceException";
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ResourceType: {
6
+ readonly AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application";
7
+ readonly AWS_APPLICATION_SIGNALS_SERVICE: "AWS::ApplicationSignals::Service";
8
+ readonly AWS_APPLICATION_SIGNALS_SLO: "AWS::ApplicationSignals::ServiceLevelObjective";
9
+ readonly AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric";
10
+ readonly AWS_INTERNETMONITOR_MONITOR: "AWS::InternetMonitor::Monitor";
11
+ readonly AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup";
12
+ readonly AWS_XRAY_TRACE: "AWS::XRay::Trace";
13
+ };
14
+ /**
15
+ * @public
16
+ */
17
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
@@ -0,0 +1,134 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { OAMServiceException as __BaseException } from "./OAMServiceException";
3
+ /**
4
+ * <p>A resource was in an inconsistent state during an update or a deletion.</p>
5
+ * @public
6
+ */
7
+ export declare class ConflictException extends __BaseException {
8
+ readonly name: "ConflictException";
9
+ readonly $fault: "client";
10
+ Message?: string | undefined;
11
+ /**
12
+ * <p>The name of the exception.</p>
13
+ * @public
14
+ */
15
+ amznErrorType?: string | undefined;
16
+ /**
17
+ * @internal
18
+ */
19
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
20
+ }
21
+ /**
22
+ * <p>Unexpected error while processing the request. Retry the request.</p>
23
+ * @public
24
+ */
25
+ export declare class InternalServiceFault extends __BaseException {
26
+ readonly name: "InternalServiceFault";
27
+ readonly $fault: "server";
28
+ Message?: string | undefined;
29
+ /**
30
+ * <p>The name of the exception.</p>
31
+ * @public
32
+ */
33
+ amznErrorType?: string | undefined;
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<InternalServiceFault, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>A parameter is specified incorrectly.</p>
41
+ * @public
42
+ */
43
+ export declare class InvalidParameterException extends __BaseException {
44
+ readonly name: "InvalidParameterException";
45
+ readonly $fault: "client";
46
+ /**
47
+ * <p>The name of the exception.</p>
48
+ * @public
49
+ */
50
+ amznErrorType?: string | undefined;
51
+ /**
52
+ * @internal
53
+ */
54
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
55
+ }
56
+ /**
57
+ * <p>A required parameter is missing from the request.</p>
58
+ * @public
59
+ */
60
+ export declare class MissingRequiredParameterException extends __BaseException {
61
+ readonly name: "MissingRequiredParameterException";
62
+ readonly $fault: "client";
63
+ /**
64
+ * <p>The name of the exception.</p>
65
+ * @public
66
+ */
67
+ amznErrorType?: string | undefined;
68
+ /**
69
+ * @internal
70
+ */
71
+ constructor(opts: __ExceptionOptionType<MissingRequiredParameterException, __BaseException>);
72
+ }
73
+ /**
74
+ * <p>The request would cause a service quota to be exceeded.</p>
75
+ * @public
76
+ */
77
+ export declare class ServiceQuotaExceededException extends __BaseException {
78
+ readonly name: "ServiceQuotaExceededException";
79
+ readonly $fault: "client";
80
+ Message?: string | undefined;
81
+ /**
82
+ * <p>The name of the exception.</p>
83
+ * @public
84
+ */
85
+ amznErrorType?: string | undefined;
86
+ /**
87
+ * @internal
88
+ */
89
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
90
+ }
91
+ /**
92
+ * <p>The request references a resource that does not exist.</p>
93
+ * @public
94
+ */
95
+ export declare class ResourceNotFoundException extends __BaseException {
96
+ readonly name: "ResourceNotFoundException";
97
+ readonly $fault: "client";
98
+ Message?: string | undefined;
99
+ /**
100
+ * <p>The name of the exception.</p>
101
+ * @public
102
+ */
103
+ amznErrorType?: string | undefined;
104
+ /**
105
+ * @internal
106
+ */
107
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
108
+ }
109
+ /**
110
+ * <p>The value of a parameter in the request caused an error.</p>
111
+ * @public
112
+ */
113
+ export declare class ValidationException extends __BaseException {
114
+ readonly name: "ValidationException";
115
+ readonly $fault: "client";
116
+ Message?: string | undefined;
117
+ /**
118
+ * @internal
119
+ */
120
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
121
+ }
122
+ /**
123
+ * <p>A resource can have no more than 50 tags.</p>
124
+ * @public
125
+ */
126
+ export declare class TooManyTagsException extends __BaseException {
127
+ readonly name: "TooManyTagsException";
128
+ readonly $fault: "client";
129
+ Message?: string | undefined;
130
+ /**
131
+ * @internal
132
+ */
133
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
134
+ }
@@ -1,23 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { OAMServiceException as __BaseException } from "./OAMServiceException";
3
- /**
4
- * <p>A resource was in an inconsistent state during an update or a deletion.</p>
5
- * @public
6
- */
7
- export declare class ConflictException extends __BaseException {
8
- readonly name: "ConflictException";
9
- readonly $fault: "client";
10
- Message?: string | undefined;
11
- /**
12
- * <p>The name of the exception.</p>
13
- * @public
14
- */
15
- amznErrorType?: string | undefined;
16
- /**
17
- * @internal
18
- */
19
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
20
- }
1
+ import { ResourceType } from "./enums";
21
2
  /**
22
3
  * <p>This structure contains the <code>Filter</code> parameter which you can use to specify which log groups are to share log events from this source account to the monitoring account.</p>
23
4
  * @public
@@ -56,23 +37,6 @@ export interface LinkConfiguration {
56
37
  */
57
38
  MetricConfiguration?: MetricConfiguration | undefined;
58
39
  }
59
- /**
60
- * @public
61
- * @enum
62
- */
63
- export declare const ResourceType: {
64
- readonly AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application";
65
- readonly AWS_APPLICATION_SIGNALS_SERVICE: "AWS::ApplicationSignals::Service";
66
- readonly AWS_APPLICATION_SIGNALS_SLO: "AWS::ApplicationSignals::ServiceLevelObjective";
67
- readonly AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric";
68
- readonly AWS_INTERNETMONITOR_MONITOR: "AWS::InternetMonitor::Monitor";
69
- readonly AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup";
70
- readonly AWS_XRAY_TRACE: "AWS::XRay::Trace";
71
- };
72
- /**
73
- * @public
74
- */
75
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
76
40
  /**
77
41
  * @public
78
42
  */
@@ -148,76 +112,6 @@ export interface CreateLinkOutput {
148
112
  */
149
113
  LinkConfiguration?: LinkConfiguration | undefined;
150
114
  }
151
- /**
152
- * <p>Unexpected error while processing the request. Retry the request.</p>
153
- * @public
154
- */
155
- export declare class InternalServiceFault extends __BaseException {
156
- readonly name: "InternalServiceFault";
157
- readonly $fault: "server";
158
- Message?: string | undefined;
159
- /**
160
- * <p>The name of the exception.</p>
161
- * @public
162
- */
163
- amznErrorType?: string | undefined;
164
- /**
165
- * @internal
166
- */
167
- constructor(opts: __ExceptionOptionType<InternalServiceFault, __BaseException>);
168
- }
169
- /**
170
- * <p>A parameter is specified incorrectly.</p>
171
- * @public
172
- */
173
- export declare class InvalidParameterException extends __BaseException {
174
- readonly name: "InvalidParameterException";
175
- readonly $fault: "client";
176
- /**
177
- * <p>The name of the exception.</p>
178
- * @public
179
- */
180
- amznErrorType?: string | undefined;
181
- /**
182
- * @internal
183
- */
184
- constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
185
- }
186
- /**
187
- * <p>A required parameter is missing from the request.</p>
188
- * @public
189
- */
190
- export declare class MissingRequiredParameterException extends __BaseException {
191
- readonly name: "MissingRequiredParameterException";
192
- readonly $fault: "client";
193
- /**
194
- * <p>The name of the exception.</p>
195
- * @public
196
- */
197
- amznErrorType?: string | undefined;
198
- /**
199
- * @internal
200
- */
201
- constructor(opts: __ExceptionOptionType<MissingRequiredParameterException, __BaseException>);
202
- }
203
- /**
204
- * <p>The request would cause a service quota to be exceeded.</p>
205
- * @public
206
- */
207
- export declare class ServiceQuotaExceededException extends __BaseException {
208
- readonly name: "ServiceQuotaExceededException";
209
- readonly $fault: "client";
210
- Message?: string | undefined;
211
- /**
212
- * <p>The name of the exception.</p>
213
- * @public
214
- */
215
- amznErrorType?: string | undefined;
216
- /**
217
- * @internal
218
- */
219
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
220
- }
221
115
  /**
222
116
  * @public
223
117
  */
@@ -273,24 +167,6 @@ export interface DeleteLinkInput {
273
167
  */
274
168
  export interface DeleteLinkOutput {
275
169
  }
276
- /**
277
- * <p>The request references a resource that does not exist.</p>
278
- * @public
279
- */
280
- export declare class ResourceNotFoundException extends __BaseException {
281
- readonly name: "ResourceNotFoundException";
282
- readonly $fault: "client";
283
- Message?: string | undefined;
284
- /**
285
- * <p>The name of the exception.</p>
286
- * @public
287
- */
288
- amznErrorType?: string | undefined;
289
- /**
290
- * @internal
291
- */
292
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
293
- }
294
170
  /**
295
171
  * @public
296
172
  */
@@ -624,19 +500,6 @@ export interface ListTagsForResourceOutput {
624
500
  */
625
501
  Tags?: Record<string, string> | undefined;
626
502
  }
627
- /**
628
- * <p>The value of a parameter in the request caused an error.</p>
629
- * @public
630
- */
631
- export declare class ValidationException extends __BaseException {
632
- readonly name: "ValidationException";
633
- readonly $fault: "client";
634
- Message?: string | undefined;
635
- /**
636
- * @internal
637
- */
638
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
639
- }
640
503
  /**
641
504
  * @public
642
505
  */
@@ -692,19 +555,6 @@ export interface TagResourceInput {
692
555
  */
693
556
  export interface TagResourceOutput {
694
557
  }
695
- /**
696
- * <p>A resource can have no more than 50 tags.</p>
697
- * @public
698
- */
699
- export declare class TooManyTagsException extends __BaseException {
700
- readonly name: "TooManyTagsException";
701
- readonly $fault: "client";
702
- Message?: string | undefined;
703
- /**
704
- * @internal
705
- */
706
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
707
- }
708
558
  /**
709
559
  * @public
710
560
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { OAMExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { OAMServiceException } from "./models/OAMServiceException";
@@ -0,0 +1,10 @@
1
+ export declare const ResourceType: {
2
+ readonly AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application";
3
+ readonly AWS_APPLICATION_SIGNALS_SERVICE: "AWS::ApplicationSignals::Service";
4
+ readonly AWS_APPLICATION_SIGNALS_SLO: "AWS::ApplicationSignals::ServiceLevelObjective";
5
+ readonly AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric";
6
+ readonly AWS_INTERNETMONITOR_MONITOR: "AWS::InternetMonitor::Monitor";
7
+ readonly AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup";
8
+ readonly AWS_XRAY_TRACE: "AWS::XRay::Trace";
9
+ };
10
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
@@ -0,0 +1,71 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { OAMServiceException as __BaseException } from "./OAMServiceException";
3
+ export declare class ConflictException extends __BaseException {
4
+ readonly name: "ConflictException";
5
+ readonly $fault: "client";
6
+ Message?: string | undefined;
7
+ amznErrorType?: string | undefined;
8
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
9
+ }
10
+ export declare class InternalServiceFault extends __BaseException {
11
+ readonly name: "InternalServiceFault";
12
+ readonly $fault: "server";
13
+ Message?: string | undefined;
14
+ amznErrorType?: string | undefined;
15
+ constructor(
16
+ opts: __ExceptionOptionType<InternalServiceFault, __BaseException>
17
+ );
18
+ }
19
+ export declare class InvalidParameterException extends __BaseException {
20
+ readonly name: "InvalidParameterException";
21
+ readonly $fault: "client";
22
+ amznErrorType?: string | undefined;
23
+ constructor(
24
+ opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
25
+ );
26
+ }
27
+ export declare class MissingRequiredParameterException extends __BaseException {
28
+ readonly name: "MissingRequiredParameterException";
29
+ readonly $fault: "client";
30
+ amznErrorType?: string | undefined;
31
+ constructor(
32
+ opts: __ExceptionOptionType<
33
+ MissingRequiredParameterException,
34
+ __BaseException
35
+ >
36
+ );
37
+ }
38
+ export declare class ServiceQuotaExceededException extends __BaseException {
39
+ readonly name: "ServiceQuotaExceededException";
40
+ readonly $fault: "client";
41
+ Message?: string | undefined;
42
+ amznErrorType?: string | undefined;
43
+ constructor(
44
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
45
+ );
46
+ }
47
+ export declare class ResourceNotFoundException extends __BaseException {
48
+ readonly name: "ResourceNotFoundException";
49
+ readonly $fault: "client";
50
+ Message?: string | undefined;
51
+ amznErrorType?: string | undefined;
52
+ constructor(
53
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
54
+ );
55
+ }
56
+ export declare class ValidationException extends __BaseException {
57
+ readonly name: "ValidationException";
58
+ readonly $fault: "client";
59
+ Message?: string | undefined;
60
+ constructor(
61
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
62
+ );
63
+ }
64
+ export declare class TooManyTagsException extends __BaseException {
65
+ readonly name: "TooManyTagsException";
66
+ readonly $fault: "client";
67
+ Message?: string | undefined;
68
+ constructor(
69
+ opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
70
+ );
71
+ }
@@ -1,12 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { OAMServiceException as __BaseException } from "./OAMServiceException";
3
- export declare class ConflictException extends __BaseException {
4
- readonly name: "ConflictException";
5
- readonly $fault: "client";
6
- Message?: string | undefined;
7
- amznErrorType?: string | undefined;
8
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
9
- }
1
+ import { ResourceType } from "./enums";
10
2
  export interface LogGroupConfiguration {
11
3
  Filter: string | undefined;
12
4
  }
@@ -17,16 +9,6 @@ export interface LinkConfiguration {
17
9
  LogGroupConfiguration?: LogGroupConfiguration | undefined;
18
10
  MetricConfiguration?: MetricConfiguration | undefined;
19
11
  }
20
- export declare const ResourceType: {
21
- readonly AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application";
22
- readonly AWS_APPLICATION_SIGNALS_SERVICE: "AWS::ApplicationSignals::Service";
23
- readonly AWS_APPLICATION_SIGNALS_SLO: "AWS::ApplicationSignals::ServiceLevelObjective";
24
- readonly AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric";
25
- readonly AWS_INTERNETMONITOR_MONITOR: "AWS::InternetMonitor::Monitor";
26
- readonly AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup";
27
- readonly AWS_XRAY_TRACE: "AWS::XRay::Trace";
28
- };
29
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
30
12
  export interface CreateLinkInput {
31
13
  LabelTemplate: string | undefined;
32
14
  ResourceTypes: ResourceType[] | undefined;
@@ -44,43 +26,6 @@ export interface CreateLinkOutput {
44
26
  Tags?: Record<string, string> | undefined;
45
27
  LinkConfiguration?: LinkConfiguration | undefined;
46
28
  }
47
- export declare class InternalServiceFault extends __BaseException {
48
- readonly name: "InternalServiceFault";
49
- readonly $fault: "server";
50
- Message?: string | undefined;
51
- amznErrorType?: string | undefined;
52
- constructor(
53
- opts: __ExceptionOptionType<InternalServiceFault, __BaseException>
54
- );
55
- }
56
- export declare class InvalidParameterException extends __BaseException {
57
- readonly name: "InvalidParameterException";
58
- readonly $fault: "client";
59
- amznErrorType?: string | undefined;
60
- constructor(
61
- opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
62
- );
63
- }
64
- export declare class MissingRequiredParameterException extends __BaseException {
65
- readonly name: "MissingRequiredParameterException";
66
- readonly $fault: "client";
67
- amznErrorType?: string | undefined;
68
- constructor(
69
- opts: __ExceptionOptionType<
70
- MissingRequiredParameterException,
71
- __BaseException
72
- >
73
- );
74
- }
75
- export declare class ServiceQuotaExceededException extends __BaseException {
76
- readonly name: "ServiceQuotaExceededException";
77
- readonly $fault: "client";
78
- Message?: string | undefined;
79
- amznErrorType?: string | undefined;
80
- constructor(
81
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
82
- );
83
- }
84
29
  export interface CreateSinkInput {
85
30
  Name: string | undefined;
86
31
  Tags?: Record<string, string> | undefined;
@@ -95,15 +40,6 @@ export interface DeleteLinkInput {
95
40
  Identifier: string | undefined;
96
41
  }
97
42
  export interface DeleteLinkOutput {}
98
- export declare class ResourceNotFoundException extends __BaseException {
99
- readonly name: "ResourceNotFoundException";
100
- readonly $fault: "client";
101
- Message?: string | undefined;
102
- amznErrorType?: string | undefined;
103
- constructor(
104
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
105
- );
106
- }
107
43
  export interface DeleteSinkInput {
108
44
  Identifier: string | undefined;
109
45
  }
@@ -188,14 +124,6 @@ export interface ListTagsForResourceInput {
188
124
  export interface ListTagsForResourceOutput {
189
125
  Tags?: Record<string, string> | undefined;
190
126
  }
191
- export declare class ValidationException extends __BaseException {
192
- readonly name: "ValidationException";
193
- readonly $fault: "client";
194
- Message?: string | undefined;
195
- constructor(
196
- opts: __ExceptionOptionType<ValidationException, __BaseException>
197
- );
198
- }
199
127
  export interface PutSinkPolicyInput {
200
128
  SinkIdentifier: string | undefined;
201
129
  Policy: string | undefined;
@@ -210,14 +138,6 @@ export interface TagResourceInput {
210
138
  Tags: Record<string, string> | undefined;
211
139
  }
212
140
  export interface TagResourceOutput {}
213
- export declare class TooManyTagsException extends __BaseException {
214
- readonly name: "TooManyTagsException";
215
- readonly $fault: "client";
216
- Message?: string | undefined;
217
- constructor(
218
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
219
- );
220
- }
221
141
  export interface UntagResourceInput {
222
142
  ResourceArn: string | undefined;
223
143
  TagKeys: string[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-oam",
3
3
  "description": "AWS SDK for JavaScript Oam Client for Node.js, Browser and React Native",
4
- "version": "3.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-oam",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";